Iptables ate start-up
Hello All,
I have an old PC working as Gateway to share internet connection.
It has 3 nics: 1 to connect to ISP and the other two to the Local Network, and with Iptables can share the connection.
But any time that has to reboot the machine has to configure again the 2 intefaces Ip addresses for the LAN and run the Iptables commands in order to set the the system again.
Is there anyway to do this automatically?
Regards
Martin
|