Hi everybody,
I'm trying to configure OpenVpn that will be running on ubuntu machine.
The VPN will be inside the LAN that I have, the client uses windows 7 and the program to access it's viscosity
http://www.sparklabs.com/viscosity/
I think that the client configuration it's OK with all the certificates and all the connection settings, when I try to connect it ask me for the user and password but then the client says that the connection has been closed.
I get this at the syslog of the server
Dec 11 14:14:37 basestation ovpn-server[1676]: MULTI: multi_create_instance called
Dec 11 14:14:37 basestation ovpn-server[1676]: 192.168.100.201:1194 Re-using SSL/TLS context
Dec 11 14:14:37 basestation ovpn-server[1676]: 192.168.100.201:1194 Control Channel MTU parms [ L:1557 D:138 EF:38 EB:0 ET:0 EL:0 ]
Dec 11 14:14:37 basestation ovpn-server[1676]: 192.168.100.201:1194 Data Channel MTU parms [ L:1557 D:1450 EF:57 EB:4 ET:0 EL:0 ]
Dec 11 14:14:37 basestation ovpn-server[1676]: 192.168.100.201:1194 Local Options hash (VER=V4): 'b7f67de4'
Dec 11 14:14:37 basestation ovpn-server[1676]: 192.168.100.201:1194 Expected Remote Options hash (VER=V4): '8326dbaa'
Dec 11 14:14:37 basestation ovpn-server[1676]: 192.168.100.201:1194 TLS: Initial packet from [AF_INET]192.168.100.201:1194, sid=8c164aa6 2e825c1b
Dec 11 14:14:37 basestation ovpn-server[1676]: 192.168.100.201:1194 VERIFY OK: depth=1,xxxxxxxxxxxxxxxxxxxxxxxx
Dec 11 14:14:37 basestation ovpn-server[1676]: 192.168.100.201:1194 VERIFY OK: depth=0,xxxxxxxxxxxxxxxxxxxxxxxx
Dec 11 14:14:37 basestation ovpn-server[1676]: 192.168.100.201:1194 PLUGIN_CALL: POST /usr/lib/openvpn/openvpn-auth-pam.so/PLUGIN_AUTH_USER_PASS_VERIFY status=0
Dec 11 14:14:37 basestation ovpn-server[1676]: 192.168.100.201:1194 TLS: Username/Password authentication succeeded for username 'laketown' [CN SET]
Dec 11 14:14:37 basestation ovpn-server[1676]: 192.168.100.201:1194 WARNING: 'link-mtu' is used inconsistently, local='link-mtu 1557', remote='link-mtu 1558'
Dec 11 14:14:37 basestation ovpn-server[1676]: 192.168.100.201:1194 WARNING: 'comp-lzo' is present in remote config but missing in local config, remote='comp-lzo'
Dec 11 14:14:37 basestation ovpn-server[1676]: 192.168.100.201:1194 Data Channel Encrypt: Cipher 'AES-128-CBC' initialized with 128 bit key
Dec 11 14:14:37 basestation ovpn-server[1676]: 192.168.100.201:1194 Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Dec 11 14:14:37 basestation ovpn-server[1676]: 192.168.100.201:1194 Data Channel Decrypt: Cipher 'AES-128-CBC' initialized with 128 bit key
Dec 11 14:14:37 basestation ovpn-server[1676]: 192.168.100.201:1194 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Dec 11 14:14:37 basestation ovpn-server[1676]: 192.168.100.201:1194 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 1024 bit RSA
Dec 11 14:14:37 basestation ovpn-server[1676]: 192.168.100.201:1194 [laketown] Peer Connection Initiated with [AF_INET]192.168.100.201:1194
Dec 11 14:14:37 basestation ovpn-server[1676]: laketown/192.168.100.201:1194 OPTIONS IMPORT: reading client specific options from: ccd/laketown
Dec 11 14:14:37 basestation ovpn-server[1676]: laketown/192.168.100.201:1194 MULTI: Learn: 10.68.1.105 -> laketown/192.168.100.201:1194
Dec 11 14:14:37 basestation ovpn-server[1676]: laketown/192.168.100.201:1194 MULTI: primary virtual IP for laketown/192.168.100.201:1194: 10.68.1.105
Dec 11 14:14:39 basestation ovpn-server[1676]: laketown/192.168.100.201:1194 PUSH: Received control message: 'PUSH_REQUEST'
Dec 11 14:14:39 basestation ovpn-server[1676]: laketown/192.168.100.201:1194 SENT CONTROL [laketown]: 'PUSH_REPLY,dhcp-option DOMAIN reem,dhcp-option DNS 10.68.1.1,route 10.68.1.0 255.255.255.0,topology net30,ping 3,ping-restart 7,ifconfig 10.68.1.105 10.68.1.1' (status=1)
Dec 11 14:14:41 basestation ovpn-server[1676]: read UDPv4 [ECONNREFUSED]: Connection refused (code=111)
Any idea??
Thanks a lot.