[Shorewall-newbies] Static routing

Sakthivel Subramanian sakthi at altair.com
Thu Mar 11 13:54:04 PST 2004


Currently I have a setup as follows
 
--> (PUBLIC IP) ROUTER (192.168.1.1) -> (192.168.1.254)Linux box running
shorewall (10.10.1.1) --> LAN
                                   ^
                                    |----- VPN tunnel (192.168.100.0/24)
 
The first router has a permanent VPN with our corporate office. I use
shorewall box to control traffic from corporate office as well as net.
 
What I am trying to do is to add a static route to access another corporate
subnet through a gateway in the tunnelled subnet.
I want to access 192.168.101.0/24 through 192.168.100.1. I can see the
192.168.100.0/24 subnet from my firewall machine through the existing
tunnel.
 
I want to add a static route to 192.168.101.0/24 via gateway 192.168.100.1.
I tried to add a static route using the route command and it does not allow
me to add a route with default gateway of anything other than the one
specific to one my interfaces.
 
Is there any other option using shorewall ?
 
Thanks
 
Sakthi


More information about the Shorewall-newbies mailing list