Tuesday, January 31, 2012

dd-wrt port forwarding

Administration -- Commands --- "paste script berikut" --- Save Startup


iptables -t nat -I PREROUTING -p tcp --dport 80 -j DNAT --to 192.168.24.11:80
iptables -I FORWARD -p tcp -d 192.168.24.11 --dport 80 -j ACCEPT


@forward port 80

No comments: