Hello,
I have setup openvpn on my fedora server and I can start it up fine and everything. I downloaded the openvpn gui for windows and copied over all of the necessary keys and certs and tried to connect. Well I reached the server but the connection fails after that. Here is the error message I get on the windows site:
PHP Code:
Fri Sep 26 09:43:39 2008 Attempting to establish TCP connection with XXX.XXX.XXX.XXX:XXXX
Fri Sep 26 09:43:39 2008 TCP connection established with XXX.XXX.XXX.XXX:XXXX
Fri Sep 26 09:43:39 2008 Send to HTTP proxy: 'CONNECT XXX.XXX.XXX.XXX:XXXX HTTP/1.0'
Fri Sep 26 09:43:39 2008 Attempting Basic Proxy-Authorization
Fri Sep 26 09:43:41 2008 send_line: TCP port write failed on send(): Software caused connection abort (WSAECONNABORTED) (errno=10053)
Fri Sep 26 09:43:41 2008 TCP/UDP: Closing socket
Fri Sep 26 09:43:41 2008 SIGTERM[soft,init_instance] received, process exiting
On the server side I see this:
PHP Code:
TCP connection established with XXX.XXX.XXX.XXX:XXXX
Fri Sep 26 09:38:24 2008 Socket Buffers: R=[131072->131072] S=[131072->131072]
Fri Sep 26 09:38:24 2008 TCPv4_SERVER link local: [undef]
Fri Sep 26 09:38:24 2008 TCPv4_SERVER link remote: XXX.XXX.XXX.XXX:XXXX
Fri Sep 26 09:38:24 2008 192.168.111.47:4567 WARNING: Bad encapsulated packet length from peer (17231), which must be > 0 and <= 1544 -- please ensure that --tun-mtu or --link-mtu is equal on both peers -- this condition could also indicate a possible active attack on the TCP link -- [Attemping restart...]
Fri Sep 26 09:38:24 2008 192.168.111.47:4567 Connection reset, restarting [0]
Fri Sep 26 09:38:24 2008 192.168.111.47:4567 SIGUSR1[soft,connection-reset] received, client-instance restarting
Fri Sep 26 09:38:24 2008 TCP/UDP: Closing socket
I disabled the firewall on my windows machine for the vpn network connection.
Here is my config file for the windows client:
PHP Code:
client
dev tun
proto tcp
remote XXX.XXX.XXX.XXX:XXXX
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert sousa.crt
key sousa.key
comp-lzo
verb 3
If anyone could help I would really appreciate it. Thanks.