User can't connect to the server with OpenVPN

Scripts to manage certificates or generate config files

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

Post Reply
pwr
OpenVpn Newbie
Posts: 1
Joined: Tue Feb 26, 2013 3:00 pm

User can't connect to the server with OpenVPN

Post by pwr » Tue Feb 26, 2013 3:08 pm

I'm a newbie, so please don't flame me :)

We have server (OS - Debian 6) with OpenVPN installed and our user can't connect to it. Here is OpenVPN config file:

Code: Select all

dev tun
proto udp
remote 209.XX.XX.XX 443
nobind
persist-key
persist-tun
ca ca.crt
auth-user-pass
comp-lzo
verb 3
route-method exe
route-delay 2
redirect-gateway def1
And here is client log file:

Code: Select all

Mon Feb 25 22:29:17 2013 OpenVPN 2.3.0 x86_64-w64-mingw32 [SSL (OpenSSL)] [LZO] [PKCS11] [eurephia] [IPv6] built on Feb 14 2013
Enter Management Password:
Mon Feb 25 22:29:17 2013 MANAGEMENT: TCP Socket listening on [AF_INET]127.0.0.1:25341
Mon Feb 25 22:29:17 2013 Need hold release from management interface, waiting...
Mon Feb 25 22:29:18 2013 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:25341
Mon Feb 25 22:29:18 2013 MANAGEMENT: CMD 'state on'
Mon Feb 25 22:29:18 2013 MANAGEMENT: CMD 'log all on'
Mon Feb 25 22:29:18 2013 MANAGEMENT: CMD 'hold off'
Mon Feb 25 22:29:18 2013 MANAGEMENT: CMD 'hold release'
Mon Feb 25 22:29:22 2013 MANAGEMENT: CMD 'username "Auth" "undi73"'
Mon Feb 25 22:29:22 2013 MANAGEMENT: CMD 'password [...]'
Mon Feb 25 22:29:22 2013 WARNING: No server certificate verification method has been enabled.  See http://openvpn.net/howto.html#mitm for more info.
Mon Feb 25 22:29:22 2013 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Mon Feb 25 22:29:22 2013 Socket Buffers: R=[65536->65536] S=[65536->65536]
Mon Feb 25 22:29:22 2013 UDPv4 link local: [undef]
Mon Feb 25 22:29:22 2013 UDPv4 link remote: [AF_INET]209.XX.XX.XX:443
Mon Feb 25 22:29:22 2013 MANAGEMENT: >STATE:1361802562,WAIT,,,
Mon Feb 25 22:29:34 2013 SIGTERM[hard,] received, process exiting
Mon Feb 25 22:29:34 2013 MANAGEMENT: >STATE:1361802574,EXITING,SIGTERM,,
One more thing: everything on my side is looking alright - I can connect to the OpenVPN and use it.
Please help me to resolve this problem.
Thanks in advance.

Douglas
Forum Team
Posts: 285
Joined: Wed Aug 27, 2008 2:41 am

Re: User can't connect to the server with OpenVPN

Post by Douglas » Tue Feb 26, 2013 5:33 pm

For starters, it is: push "redirect-gateway def1"

That log is very.. short

IncreasedSecurity
OpenVpn Newbie
Posts: 10
Joined: Mon Feb 25, 2013 1:04 am

Re: User can't connect to the server with OpenVPN

Post by IncreasedSecurity » Thu Mar 07, 2013 7:31 am

Did the
push "redirect-gateway def1"
fix help?

If not, please publish both the complete server and client config files, and perhaps a more complete/comprehensive log file (both from the client and the server?)

Post Reply