I have installed Open Vpn on Ubuntu 11.0 and it is up and working fine, I count connect to the vpn server from my internal network (i.e) 192.168.1.3 to 192.168.1.252:1194, it works perfectly fine bu t when I use a static Internet IP say e.g 34.56.82.56 it says tls negotiation failed and retries. My configurations are as follows:
1. Server.conf
local 192.168.1.252
server 192.168.66.0 255.255.255.0
;up "/etc/openvpn/up.sh br0"
;down "/etc/openvpn/down.sh br0"
;up "/etc/openvpn/firewall.sh"
;tls-server
;proto tcp
proto udp
port 1194
dev tap0
client-to-client
keepalive 10 120
comp-lzo
persist-key
persist-tun
;server-bridge 192.168.1.252 255.255.255.0 192.168.1.65 192.168.1.200
push "route 192.168.1.254 255.255.255.0"
ifconfig-pool-persist ipp.txt
;tls-auth toys.key 0 # This file is secret
ca ca.crt
cert server.crt
key server.key
dh dh1024.pem
user nobody
group nogroup
log openvpn.log
log-append openvpn.log.append
2. Client.conf
client
dev tap
#dev tun
#dev-node MyTap
proto udp
;proto tcp
remote 37.107.27.68 1194
;remote 192.168.1.252 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert mohammed.crt
key mohammed.key
comp-lzo
verb 3
mute 20
FIREWALL.SH
iptables -I INPUT 1 -p udp --dport 1194 -j ACCEPT
iptables -I FORWARD 1 --source 192.168.1.0/24 -j ACCEPT
iptables -A INPUT -i tap0 -j ACCEPT
iptables -A INPUT -i br0 -j ACCEPT
iptables -A FORWARD -i br0 -j ACCEPT
My router is Thomson TG585 v8 it has a game an application sharing port open to my loacl server 192.168.1.252 for port 1194
I persume that all my configurations are correct but still this doesn't work.
more over I have bricked a WRT54GL by installing tomatoe and openvpn for some reason it doestnot work.
kindly advice help with this problem of mine
Wizzy
