Step 6: configure Shorewall

Through the LEAF packages configuration menu, choose shorwall and check the two following files:

A/ The interfaces file (entry 3) defines your interfaces. Here connection to the net goes through ippp0 and the connection to the internal network through eth0. So we must set:

(...)
#ZONE   INTERFACE       BROADCAST       OPTIONS
net     ippp0           -	        dhcp,routefilter,norfc1918
loc     eth0            detect          routestopped
#LAST LINE -- ADD YOUR ENTRIES BEFORE THIS ONE -- DO NOT REMOVE

Warning

Do not forget the "-" under the BROADCAST heading for the net/ippp0 entry.

B/ The masq file (entry 7). In this type of setting it should look like:

(...)
#INTERFACE              SUBNET
ippp0                   eth0
#LAST LINE -- ADD YOUR ENTRIES ABOVE THIS LINE -- DO NOT REMOVE

Backup the shorwall.lrp package.