1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | pluma /etc/rc.local #!/bin/sh -e # # rc.local # # This script is executed at the end of each multiuser runlevel. # Make sure that the script will "exit 0" on success or any other # value on error. # # In order to enable or disable this script just change the execution # bits. # # By default this script does nothing. service isc-dhcp-server restart modprobe iptable_nat iptables -t nat -A POSTROUTING -o eth1 -j MASQUERADE exit 0 |