I'm so new on this and I've been spending hours to get this working which result in a nice headache
I found this tutorial and followed it exactly as it is:
http://library.linode.com/networking/op ... 0.04-lucid
This is my server conf file:
Code: Select all
port 11194
proto tcp
dev tun
ca ca.crt
cert server.crt
key server.key # This file should be kept secret
dh dh1024.pem
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "redirect-gateway def1"
push "dhcp-option DNS 10.8.0.1"
keepalive 10 120
comp-lzo
persist-key
persist-tun
status openvpn-status.log
log openvpn.log
verb 3
This is my client conf (on windows xp sp3)
Code: Select all
client
dev tun
proto tcp
remote *my_ip* 11194
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert user1.crt
key user1.key
comp-lzo
verb 3
http://privatepaste.com/fcf61db074
Also the client was on and I went out of room for some mins, then I came back and it was connected. But I couldn't browse the web. I disconnected it and tried to connect again and it gave me the TLS error again. Unfortunately I don't have that log. But in the current log, on line 121 and 122 I seem to have VERIFY OK, but no success there too.
I tried with udp first but I was getting "connection reset by peer" error, and I changed it to TCP and opened port 11194 in iptables with this:
Code: Select all
-A INPUT -p tcp -m tcp --dport 11194 -j ACCEPT
(I replaced my server ip address with *my_ip*.)