Tutorials :

Install IPFire Linux Firewall

Deploy Outbound NAT Gateway on CentOS 6

Deploy Outbound NAT Gateway on CentOS 7

Deploy Outbound NAT Gateway on Ubuntu