Hello, I'm using Linksys E1200. On this router I have configured openVPN daemon. Connection to the openVPN from the local network works good. From my ISP I'm connected to the Internet by access point. I can access the AP from the internet. I requested ISP to turn off firewall and forward 1194 UDP port to my IP address of router. I can see it from the port checker as
open|filtered. I've also have dynamic IP which I covered by dyndns.org. The problem comes when I try to connect through the internet (not by local IP) it says Connection Timeout (on PC and on Android device).
Firewall commands:
iptables -I INPUT 1 -p udp --dport 1194 -j ACCEPT
iptables -I FORWARD 1 --source 10.0.7.0/24 -j ACCEPT
iptables -I FORWARD -i br0 -o tun0 -j ACCEPT
iptables -I FORWARD -i tun0 -o br0 -j ACCEPT
iptables -t nat -A POSTROUTING -s 10.0.7.0/24 -j MASQUERADE
openVPN config:
push "route 192.168.100.1 255.255.255.0"
server 10.0.7.0 255.255.255.0
push "dhcp-option DNS 192.168.1.1"
push "dhcp-option DNS 194.145.207.94"
push "dhcp-option DNS 192.168.100.1"
dev tun0
proto udp
keepalive 10 120
dh /tmp/openvpn/dh.pem
ca /tmp/openvpn/ca.crt
cert /tmp/openvpn/cert.pem
key /tmp/openvpn/key.pem
management localhost 16
Thanks for response