How to setup a gateway
I have a local network and using a linux machine as a gateway to get the internet connection. The gateway machine has two Ethernet cards, shownd below:
local network: 192.168.1.2
campus gateway: 188.8.131.52
I need help to setup the linux gateway machine so that I can get internet connection from all my local machines.
Can I just use route command to do it? Or Do I have to use iptables?