Setting up OpenVPN to connect from an external source
-
Hi,
I've been struggling to make this work for a long time now. I am trying to configure OpenVPN with the tutorial pasted below:
http://www.scribd.com/doc/8142908/pfSense-OpenVPN-Tutorial
For some reason it's being stuck somewhere. Everything has been set according to the tutorial i went through. Attached you can find the logs which are being listed during the attempt of connecting to Pfsense. What can be the problem?
Chris
-
Can somebody reply or shall I submit another ticket?
-
Threats are not a great thing in forums. I think you need to really google harder and do lots of test. Then it might help you understand what to ask.
-
Your screenshots dont really say anything.
1: What is your goal.
2: How is it not working the way you want.
3: How do you test. -
try checking to see if both the client and the server are using the same protocol tcp or udp settings it looks like you may have the wrong protocol on you client remember udp is better or so i have heard, you can check the settings in the config folder in the open vpn directory and open the ovpn file with notepad check and ensure that the protocol matches your server
-
i set the port as UDP. Can someone tell me if i can use telnet on UDP ports by any chance as i am curious why i cannot telnet the server with the udp port 1194? i went through a tutorial again and when trying to connect it stops when it's trying to authenticate with the server.
The error occurring is different from the one I posted previously.
-
below is the error that's being displayed everytime it tries to reconnect/restart..
Fri Nov 06 15:43:58 2009 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Fri Nov 06 15:43:58 2009 TLS Error: TLS handshake failed
Fri Nov 06 15:43:58 2009 TCP/UDP: Closing socket
Fri Nov 06 15:43:58 2009 SIGUSR1[soft,tls-error] received, process restarting
Fri Nov 06 15:43:58 2009 Restart pause, 2 second(s)
Fri Nov 06 15:44:00 2009 NOTE: OpenVPN 2.1 requires '–script-security 2' or higher to call user-defined scripts or executables
Fri Nov 06 15:44:00 2009 Re-using SSL/TLS context
Fri Nov 06 15:44:00 2009 LZO compression initialized
Fri Nov 06 15:44:00 2009 Control Channel MTU parms [ L:1542 D:138 EF:38 EB:0 ET:0 EL:0 ]
Fri Nov 06 15:44:00 2009 Data Channel MTU parms [ L:1542 D:1450 EF:42 EB:135 ET:0 EL:0 AF:3/1 ]
Fri Nov 06 15:44:00 2009 Local Options hash (VER=V4): '41690919'
Fri Nov 06 15:44:00 2009 Expected Remote Options hash (VER=V4): '530fdded'
Fri Nov 06 15:44:00 2009 Socket Buffers: R=[8192->8192] S=[8192->8192]
Fri Nov 06 15:44:00 2009 UDPv4 link local: [undef]
Fri Nov 06 15:44:00 2009 UDPv4 link remote: my ip address:1194 -
can someone please update me on this ticket?
i didn't manage to solve this as yet, therefore I need proper feedback..
Regards,
Chris -
Obviously your client cannot connect to the server.
Most probably you have a firewall rule in place blocking access to the server.
Or the server isn't running at all.You dont really give any information besides some logs which you dont even tell where they are from…
If you expect help you really need to start giving information about yout setup (a diagram !!!) your firewall-rule, your NAT-rules, what your endgoal is, the server-config, the client-config, etc. -
To be clear, netrefer, this is a user forum, where we try to help each other out. This isn't a ticket system for technical support. Developers of the software do post here at times, but no one is obligated is to resolve your issue. If you want help, you need to include relevant information and answer the questions people are asking.
To answer one of yours, no you cannot use telnet to connect to a UDP port.