Can´t connect to VPN

This forum is for general conversation and user-user networking.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
Jodokus
OpenVpn Newbie
Posts: 2
Joined: Wed Oct 05, 2011 7:26 pm

Can´t connect to VPN

Post by Jodokus » Wed Oct 05, 2011 7:29 pm

Hi everyone!

Since I am at a boarding school, I can´t connect anymore to my VPN... The provider of my VPN set my VPN up so that it should even work from my boarding school, but it somehow doesn´t.... anyways, here the log:

Wed Oct 05 20:20:26 2011 OpenVPN 2.2.1 Win32-MSVC++ [SSL] [LZO2] built on Jul 1 2011
Wed Oct 05 20:20:30 2011 WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
Wed Oct 05 20:20:30 2011 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Wed Oct 05 20:20:30 2011 LZO compression initialized
Wed Oct 05 20:20:30 2011 Control Channel MTU parms [ L:1544 D:140 EF:40 EB:0 ET:0 EL:0 ]
Wed Oct 05 20:20:30 2011 Socket Buffers: R=[8192->8192] S=[8192->8192]
Wed Oct 05 20:20:30 2011 Data Channel MTU parms [ L:1544 D:1450 EF:44 EB:135 ET:0 EL:0 AF:3/1 ]
Wed Oct 05 20:20:30 2011 Local Options hash (VER=V4): '69109d17'
Wed Oct 05 20:20:30 2011 Expected Remote Options hash (VER=V4): 'c0103fa8'
Wed Oct 05 20:20:30 2011 Attempting to establish TCP connection with XXXXXXXXXXX:443
Wed Oct 05 20:20:30 2011 TCP connection established with XXXXXXXXXXX:443
Wed Oct 05 20:20:30 2011 TCPv4_CLIENT link local: [undef]
Wed Oct 05 20:20:30 2011 TCPv4_CLIENT link remote: XXXXXXXXXXX:443
Wed Oct 05 20:20:52 2011 Connection reset, restarting [-1]
Wed Oct 05 20:20:52 2011 TCP/UDP: Closing socket
Wed Oct 05 20:20:52 2011 SIGUSR1[soft,connection-reset] received, process restarting
Wed Oct 05 20:20:52 2011 Restart pause, 5 second(s)
Wed Oct 05 20:20:57 2011 WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
Wed Oct 05 20:20:57 2011 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Wed Oct 05 20:20:57 2011 Re-using SSL/TLS context
Wed Oct 05 20:20:57 2011 LZO compression initialized
Wed Oct 05 20:20:57 2011 Control Channel MTU parms [ L:1544 D:140 EF:40 EB:0 ET:0 EL:0 ]
Wed Oct 05 20:20:57 2011 Socket Buffers: R=[8192->8192] S=[8192->8192]
Wed Oct 05 20:20:57 2011 Data Channel MTU parms [ L:1544 D:1450 EF:44 EB:135 ET:0 EL:0 AF:3/1 ]
Wed Oct 05 20:20:57 2011 Local Options hash (VER=V4): '69109d17'
Wed Oct 05 20:20:57 2011 Expected Remote Options hash (VER=V4): 'c0103fa8'
Wed Oct 05 20:20:57 2011 Attempting to establish TCP connection with xxxxxxxxxxxx:443
Wed Oct 05 20:20:57 2011 TCP connection established with XXXXXXXXXXXX:443
Wed Oct 05 20:20:57 2011 TCPv4_CLIENT link local: [undef]
Wed Oct 05 20:20:57 2011 TCPv4_CLIENT link remote: XXXXXXXXXXXX:443
Wed Oct 05 20:21:18 2011 Connection reset, restarting [-1]
Wed Oct 05 20:21:18 2011 TCP/UDP: Closing socket


And here my .ovpn config:

client
dev tun
auth-user-pass
proto tcp
remote XXXXXXXXXXX 443
resolv-retry infinite
nobind
persist-key
persist-tun
comp-lzo
ca nl2.crt
verb 3


I hope you can help me, thanks in advance!

Jodokus

User avatar
janjust
Forum Team
Posts: 2703
Joined: Fri Aug 20, 2010 2:57 pm
Location: Amsterdam
Contact:

Re: Can´t connect to VPN

Post by janjust » Wed Oct 05, 2011 9:13 pm

the connection is reset after 21 seconds - without seeing the corresponding server log it is impossible to tell what is going on. There is, however, a fair chance that somebody at your boarding school decided to sniff out non-HTTPS traffic on port 443 and block it.
OpenVPN does not disguise itself from routers/firewalls.

Jodokus
OpenVpn Newbie
Posts: 2
Joined: Wed Oct 05, 2011 7:26 pm

Re: Can´t connect to VPN

Post by Jodokus » Wed Oct 05, 2011 10:08 pm

I didn´t know that there are schools with a clever IT staff -.-.

Thanks for your answer, even if I hope it is not like you said...

marykate30
OpenVpn Newbie
Posts: 1
Joined: Sun Jan 08, 2012 9:09 am

Re: Can´t connect to VPN

Post by marykate30 » Sun Jan 08, 2012 9:13 am

Slow performance is one of the most difficult problems to troubleshoot.

rastian
OpenVpn Newbie
Posts: 1
Joined: Wed Jan 11, 2012 6:27 am
Contact:

Re: Can´t connect to VPN

Post by rastian » Wed Jan 11, 2012 6:31 am

Wow, this problem is new to me.......

NickTrouw
OpenVpn Newbie
Posts: 1
Joined: Sun Jan 15, 2012 12:13 am

Re: Can´t connect to VPN

Post by NickTrouw » Sun Jan 15, 2012 12:18 am

Last time I had similar problem. Another tips which might be useful : Disable any other network adapters on the machine that you are not using and try your connection again.

dbonilla77
OpenVpn Newbie
Posts: 1
Joined: Sun Jan 15, 2012 3:44 am

Re: Can´t connect to VPN

Post by dbonilla77 » Sun Jan 15, 2012 3:48 am

contact your network host and ask them to give you an authentic password if you need one. I had a problem connecting to my VPN and I was successful by contacting the administrator.

Did NickTrouw suggestion work? sounds like something to troubleshoot.

imarie1985
OpenVpn Newbie
Posts: 1
Joined: Fri Mar 23, 2012 11:24 pm

Re: Can´t connect to VPN

Post by imarie1985 » Fri Mar 23, 2012 11:31 pm

Looks like this could be caused by a variety of different problems :(

________________
Probiotics

Post Reply