hello dear community,
I hope you can help me.
I have OpenVPN server on win7 machine and client on a WRT300N which connect automatically on.
Eveything works OK but I have a problem and I don't know why.
What I have to do to reach my client from outside through the tunnel only (through server WAN IP address not from client WAN IP) ?
I tried to forward 8000 port on the router server but without any chance. http doesn't bring me to the remote console of the WRT300N on port 8000.
Server conf
port 443
proto tcp-server
dev tap
ca ca.crt
cert server.crt
key server.key
dh dh1024.pem
server-bridge 192.168.0.250 255.255.255.0 192.168.0.128 192.168.0.240
ifconfig-pool-persist ipp.txt
client-to-client
keepalive 10 120
tls-auth ta.key 0
comp-lzo
reneg-sec 0
persist-key
persist-tun
status openvpn-status.log
verb 3
and client conf
float
client
dev tap
proto tcp
remote xxx.xxx.xxx.xxx 443
redirect-gateway
resolv-retry infinite
nobind
persist-key
persist-tun
ca /jffs/ca.crt
cert /jffs/client2.crt
key /jffs/client2.key
tls-auth /jffs/ta.key 1
comp-lzo
verb 3
reneg-sec 0
WRT300N firewall rules
iptables -I FORWARD -i br0 -o tap0 -j ACCEPT
iptables -I FORWARD -i tap0 -o br0 -j ACCEPT
iptables -I INPUT -i tap0 -j ACEEPT
iptables -t nat -A POSTROUTING -o tap0 -j MASQUERADE