I have a couple of FreeBSD jails and VM's that are being tunneled through my VPN serverice and I am having trouble getting the ports opened. I originally was using a Padavan firmware on an Asus RT-N56U and I had everything working correctly and http://www.yougetsignal.com/tools/open-ports/ was able to successfully see the port opened.
I ran into some trouble with this router when I realized that the single core CPU could not keep up and I was losing packets. So I now have an ASUS RT-AC68U with Merlin's firmware on it (I love the selective routing and not having to do this with an ugly script now!).
The only issue is I cannot get one of my previously opened ports "open" now. I tried this thread:
http://www.snbforums.com/threads/port-forward-while-using-vpn-client.28014/
and ran:
I ran an ifconfig on the router and found that it was indeed using tun11, and changed the ports and IP address accordingly. I ran the code with no errors, but the port is still showing as closed. Any suggestions? I am at a bit of a loss.
I ran into some trouble with this router when I realized that the single core CPU could not keep up and I was losing packets. So I now have an ASUS RT-AC68U with Merlin's firmware on it (I love the selective routing and not having to do this with an ugly script now!).
The only issue is I cannot get one of my previously opened ports "open" now. I tried this thread:
http://www.snbforums.com/threads/port-forward-while-using-vpn-client.28014/
and ran:
Code:
iptables -I FORWARD -i tun11 -p udp -d 192.168.2.42 --dport 61370 -j ACCEPT
iptables -I FORWARD -i tun11 -p tcp -d 192.168.2.42 --dport 61370 -j ACCEPT
iptables -t nat -I PREROUTING -i tun11 -p tcp --dport 61370 -j DNAT --to-destination 192.168.2.42
iptables -t nat -I PREROUTING -i tun11 -p udp --dport 61370 -j DNAT --to-destination 192.168.2.42
I ran an ifconfig on the router and found that it was indeed using tun11, and changed the ports and IP address accordingly. I ran the code with no errors, but the port is still showing as closed. Any suggestions? I am at a bit of a loss.