OpenVPN AS Client configuration.
Posted: Thu Jan 03, 2013 8:58 am
Dear All.
Hello, I configured OpenVPN AS server in Amazon cloud. OpenVPN client works well in Windows and Mac. But it doesn't connect to OpenVPN server in Raspberry Pi.
I installed openvpn like below.
I connected to VPN server via Midori and downloaded configuration file from server. I ran the command like below.
Then OpenVPN client tried to connect server but restart soon again. Below is log.
Hello, I configured OpenVPN AS server in Amazon cloud. OpenVPN client works well in Windows and Mac. But it doesn't connect to OpenVPN server in Raspberry Pi.
I installed openvpn like below.
Code: Select all
sudo apt-get install openvpn. Code: Select all
openvpn --config client.ovpn Thu Jan 3 08:35:29 2013 OpenVPN 2.2.1 arm-linux-gnueabihf [SSL] [LZO2] [EPOLL] [PKCS11] [eurephia] [MH] [PF_INET6] [IPv6 payload 20110424-2 (2.2RC2)] built on Apr 28 2012
Thu Jan 3 08:35:29 2013 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Thu Jan 3 08:35:29 2013 Control Channel Authentication: tls-auth using INLINE static key file
Thu Jan 3 08:35:29 2013 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Thu Jan 3 08:35:29 2013 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Thu Jan 3 08:35:29 2013 LZO compression initialized
Thu Jan 3 08:35:29 2013 Control Channel MTU parms [ L:1542 D:166 EF:66 EB:0 ET:0 EL:0 ]
Thu Jan 3 08:35:29 2013 Socket Buffers: R=[163840->200000] S=[163840->200000]
Thu Jan 3 08:35:29 2013 Data Channel MTU parms [ L:1542 D:1450 EF:42 EB:135 ET:0 EL:0 AF:3/1 ]
Thu Jan 3 08:35:29 2013 Local Options hash (VER=V4): '504e774e'
Thu Jan 3 08:35:29 2013 Expected Remote Options hash (VER=V4): '14168603'
Thu Jan 3 08:35:29 2013 UDPv4 link local: [undef]
Thu Jan 3 08:35:29 2013 UDPv4 link remote: [AF_INET]10.132.17.215:1194
Thu Jan 3 08:35:33 2013 Server poll timeout, restarting
Thu Jan 3 08:35:33 2013 TCP/UDP: Closing socket
Thu Jan 3 08:35:33 2013 SIGUSR1[soft,server_poll] received, process restarting
Thu Jan 3 08:35:33 2013 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Thu Jan 3 08:35:33 2013 Control Channel Authentication: tls-auth using INLINE static key file
Thu Jan 3 08:35:33 2013 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Thu Jan 3 08:35:33 2013 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Thu Jan 3 08:35:33 2013 LZO compression initialized
Thu Jan 3 08:35:33 2013 Control Channel MTU parms [ L:1542 D:166 EF:66 EB:0 ET:0 EL:0 ]
Thu Jan 3 08:35:33 2013 Socket Buffers: R=[163840->200000] S=[163840->200000]
Thu Jan 3 08:35:33 2013 Data Channel MTU parms [ L:1542 D:1450 EF:42 EB:135 ET:0 EL:0 AF:3/1 ]
Thu Jan 3 08:35:33 2013 Local Options hash (VER=V4): '504e774e'
Thu Jan 3 08:35:33 2013 Expected Remote Options hash (VER=V4): '14168603'
Thu Jan 3 08:35:33 2013 UDPv4 link local: [undef]
Thu Jan 3 08:35:33 2013 UDPv4 link remote: [AF_INET]10.132.17.215:1194
Thu Jan 3 08:35:37 2013 Server poll timeout, restarting
Thu Jan 3 08:35:37 2013 TCP/UDP: Closing socket
Thu Jan 3 08:35:37 2013 SIGUSR1[soft,server_poll] received, process restarting
..................
.............repeat...........