Using iptables

iptables and NAT filtering can be quite complicated so it is broken into two parts. Choose what works for you.