Problem connecting to OpenVpn useing username/password
Posted: Thu Dec 15, 2011 11:56 am
Hello.
I'm trying to connect to OpenVpn server usen given username/password pair and ca file:
After entering username and password i get the following output:
Am i missing something?
I'm trying to connect to OpenVpn server usen given username/password pair and ca file:
Code: Select all
openvpn --remote 192.168.0.1 --dev tun --pull --auth-user-pass --ns-cert-type server --tls-client --ca ca.pem
Code: Select all
Thu Dec 15 17:40:00 2011 us=668632 OpenVPN 2.1.0 i686-pc-linux-gnu [SSL] [LZO2] [EPOLL] [PKCS11] [MH] [PF_INET6] [eurephia] built on Jul 12 2010
Thu Dec 15 17:40:07 2011 us=732289 IMPORTANT: OpenVPN's default port number is now 1194, based on an official port number assignment by IANA. OpenVPN 2.0-beta16 and earlier used 5000 as the default port.
Thu Dec 15 17:40:07 2011 us=732483 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Thu Dec 15 17:40:07 2011 us=733781 Control Channel MTU parms [ L:1541 D:138 EF:38 EB:0 ET:0 EL:0 ]
Thu Dec 15 17:40:07 2011 us=734055 Data Channel MTU parms [ L:1541 D:1450 EF:41 EB:4 ET:0 EL:0 ]
Thu Dec 15 17:40:07 2011 us=734234 Local Options String: 'V4,dev-type tun,link-mtu 1541,tun-mtu 1500,proto UDPv4,cipher BF-CBC,auth SHA1,keysize 128,key-method 2,tls-client'
Thu Dec 15 17:40:07 2011 us=734655 Expected Remote Options String: 'V4,dev-type tun,link-mtu 1541,tun-mtu 1500,proto UDPv4,cipher BF-CBC,auth SHA1,keysize 128,key-method 2,tls-server'
Thu Dec 15 17:40:07 2011 us=734825 Local Options hash (VER=V4): '3514370b'
Thu Dec 15 17:40:07 2011 us=734950 Expected Remote Options hash (VER=V4): '239669a8'
Thu Dec 15 17:40:07 2011 us=735086 Socket Buffers: R=[114688->131072] S=[114688->131072]
Thu Dec 15 17:40:07 2011 us=735202 UDPv4 link local (bound): [undef]
Thu Dec 15 17:40:07 2011 us=735317 UDPv4 link remote: [AF_INET]192.168.0.1:1194
Thu Dec 15 17:40:08 2011 us=537259 TLS Error: Unroutable control packet received from [AF_INET]192.168.0.1:1194 (si=3 op=P_CONTROL_V1)
...
Thu Dec 15 17:40:08 2011 us=537489 TLS Error: Unroutable control packet received from [AF_INET]192.168.0.1:1194 (si=3 op=P_CONTROL_V1)
Thu Dec 15 17:40:00 2011 us=668632 OpenVPN 2.1.0 i686-pc-linux-gnu [SSL] [LZO2] [EPOLL] [PKCS11] [MH] [PF_INET6] [eurephia] built on Jul 12 2010
...