Part III. iptables firewall

Table of Contents

10. introduction to routers
router or firewall
packet forwarding
packet filtering
nat (network address translation)
pat (port address translation)
snat (source nat)
dnat (destination nat)
port forwarding
practice: packet forwarding
solution: packet forwarding
11. iptables firewall
iptables tables
starting and stopping iptables
the filter table
about packet filtering
filter table
setting default rules
changing policy rules
Allowing ssh over eth0
Allowing access from a subnet
iptables save
scripting example
Allowing ICMP(ping)
practice: packet filtering
solution: packet filtering
network address translation
about NAT
SNAT (Source NAT)
SNAT example setup
IP masquerading
DNAT (Destination NAT)