Torguard port foward help

Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking
Author Message
tiwale
DD-WRT Novice


Joined: 21 Mar 2016
Posts: 2

PostPosted: Thu Sep 21, 2017 2:23    Post subject: Torguard port foward help Reply with quote
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
Sponsor
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Advanced Networking All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum