# Firewall configuration for a router with a dynamic IP. # # Based on example by Max Kellermann # # Interface towards the Internet. @def $DEV_WORLD = eth0; # Interfaces towards LAN. @def $DEV_PRIVATE = (eth1 eth2 eth3); # Address range for LAN. @def $NET_PRIVATE = 10.0.0.0/16; table filter { chain INPUT policy ACCEPT; chain OUTPUT policy ACCEPT; chain FORWARD policy ACCEPT; } table nat { chain POSTROUTING MASQUERADE; }