Section 4.1. Hacks #45-53
Hack 45. Creating a Firewall from the Command Line of any Server
Hack 46. Simple IP Masquerading
Hack 47. iptables Tips & Tricks
Hack 48. Forwarding TCP Ports to Arbitrary Machines
Hack 49. Using Custom Chains in iptables
Hack 50. Tunneling: IPIP Encapsulation
Hack 51. Tunneling: GRE Encapsulation
Hack 52. Using vtun over ssh to Circumvent NAT
Hack 53. Automatic vtund.conf Generator