notes - iptables

/etc/init.d/firefall reset - reload iptables rules

--- Rules to allow local trafic and DNS from LAN to WAN interface ---

config rule
        option name 'Allow-Local-NAT-10'
        option src 'lan'
        option dest 'wan'
        option proto 'all'
        option target 'ACCEPT'
        option dest_ip '10.0.0.0/8'

config rule
        option name 'Allow-Local-NAT-172'
        option src 'lan'
        option dest 'wan'
        option proto 'all'
        option target 'ACCEPT'
        option dest_ip '172.16.0.0/12'

config rule
        option name 'Allow-Local-NAT-192'
        option src 'lan'
        option dest 'wan'
        option proto 'all'
        option target 'ACCEPT'
        option dest_ip '192.168.0.0/16'

config rule
        option name 'Allow-Local-NAT-DNS'
        option src 'lan'
        option dest 'wan'
        option target 'ACCEPT'
        option dest_port '53'
        option proto 'tcp udp'

config rule
        option name 'Deny-NAT-through-WAN'
        option src 'lan'
        option dest 'wan'
        option target 'DROP'
        option proto 'all'

config forwarding
        option src 'lan'
        option dest 'wan'


AUST IT - Computer help out of hours, when you need it most.

Find out why we do it for less.

About

AUST IT will help you resolve any technical support issues you are facing onsite or remotely via remote desktop 24/7. More...

Contacts

Reservoir, Melbourne,
3073, VIC, Australia

Phone: 0422 348 882

This email address is being protected from spambots. You need JavaScript enabled to view it.

Sydney: 0481 837 077

Connect

Join us in social networks to be in touch.

Newsletter

Complete the form below, and we'll send you our emails with all the latest AUST IT news.