DD-WRT: Fixing Port Forwarding in newer releases

Watch and Discuss the latest show here
Post Reply
Jarod
Site Admin
Posts: 190
Joined: Sat Dec 11, 2010 12:34 am
Contact:

DD-WRT: Fixing Port Forwarding in newer releases

Post by Jarod » Tue Sep 11, 2012 5:01 pm





How to fix the dd-wrt port forwarding in the newer releases.

Here is the firewall commands to be saved:
insmod ipt_mark
insmod xt_mark
iptables -t mangle -A PREROUTING -i ! `get_wanface` -d `nvram get wan_ipaddr` -j MARK --set-mark 0xd001
iptables -t nat -A POSTROUTING -m mark --mark 0xd001 -j MASQUERADE


DD-WRT Guide Playlist

Post Reply