[Klug-general] Multiple routes out

Alan Buchel alan at communitytechnology.org.uk
Mon Dec 6 16:28:52 UTC 2010


Hi All,

I have a slightly complicated situation with a routing requirement, have 
RTFM's till my brain hurts and hope someone can help...

We have a Server inside a private network which routes out through a 
WLAN switch as it's main uplink to the internet. It syncs with other 
servers over this network. For reasons beyond my control, the server is 
only allowed 1 IP address. Now we want to expose some of the services on 
this server such as www (80) to the outside world via a broadband line, 
and such a facility is unavailable via the WLAN.

So I thought: just put in a smoothwall box, RED NIC on the ADSL, GREEN 
on the same IP subnet as the Server, forward the required ports to 
Server and job done. Oh no, not a bit...

While the server WILL respond to www requests (like wget and telnet) 
directly FROM the smoothwall box, it will, not respond to www requests 
that come from clients on the RED side of smoothwall. The portforwarding 
on the smoothie works fine, and I know this is so because if I set the 
default gateway for the Server to be that of the Smoothwall GREEN. Then 
the port forward works just fine...

So I guess the problem is with routing, we need to figure out how to 
tell the server to use SMOOTHWALL GREEN as the gateway for requests 
coming from SMOOTHWALL GREEN and to use WLAN for the rest.

Does anyone have any ideas how to go about this, or have another idea on 
how to achieve  what we need? (have been trying route add -net %$^%^&%^& 
  till I am blue in the face and mostly only seeing syntax errors)

Alan







More information about the Kent mailing list