tiwale DD-WRT Novice
Joined: 21 Mar 2016 Posts: 2
|
Posted: Thu Sep 21, 2017 2:23 Post subject: Torguard port foward help |
|
Hi, new at this. I searched already, many infos, nothing helped.
LINKSYS EA6900, Firmware: DD-WRT v24-sp2 (12/18/13) std
I setup my DD-WRT openVPN using this https://torguard.net/knowledgebase.php?action=displayarticle&id=106
I need help setup port forwarding. Already forward the ports in torguard management, but I need to access my home network from their IP server IP (xxx.xxx.x.x). I tried the firewall command already, no help. I need to be able to access my network from outside using the VPNs IP
Code: |
iptables -I FORWARD -i tun11 -p udp -d destIP --dport port -j ACCEPT
iptables -I FORWARD -i tun11 -p tcp -d destIP --dport port -j ACCEPT
iptables -t nat -I PREROUTING -i tun11 -p tcp --dport port -j DNAT --to-destination destIP
iptables -t nat -I PREROUTING -i tun11 -p udp --dport port -j DNAT --to-destination destIP
iptables -I FORWARD -i tun1 -p tcp -d 192.168.1.83 --dport 8006 -j ACCEPT
iptables -t nat -I PREROUTING -i tun1 -p tcp --dport 8006 -j DNAT --to-destination 192.168.1.83
|
|
|