9

Newbie iptables loopback dns

view full story
linux-howto

http://www.linuxquestions.org – I have a Zoom branded firewall running Zoom's linux firmware. I'm in the router and have a shell. The directions I've found for forcing a loopback dns lookup don't work with the device. For example: http://www.smallbusinesstech.net/mor...cks-on-openwrt This does not work. Code: iptables -t nat -A prerouting_rule -d 100.100.100.100 -p tcp --dport 80 -j DNAT --to 192.168.0.2 iptables -A forwarding_rule -p tcp --dport 80 -d 192.168.0.2 -j ACCEPT iptables -t nat -A postrouting_rule -s 192.168.0.0/24 -p tcp --dport 80 -d 192.168.0.2 -j MASQUERADE It returns "iptables: No chain/target/ma (HowTos)