I have a linux box which acts as a gateway: it accepts connection from
the internal private network (called ethP), masqurades them and then
forwards them out to the internet (via interface ethI)
This works fine, except now teh client wants to change things around a
bit - he wants any packets sent to a particular port (Oracle Database, I
don't know what the number is) to be sent via a different network
interface (I'll callit ethI2).
If the clients just wanted to redirect traffic to a particular set of
computers with known Ip addresses it would a simple matter to add
another line to the routing table. But he wants it done by destination
port.
So: Is it possible to set up rules with IPchains (or something similar)
so that all packets to be forwarded to a particular port number (-p TCP
--dport XXX) get sent using an interface different to the one specified
in the routing table, while still being masquraded?
- Doug
--
_____________________________________________________________
Network Operations Engineer - Big Pond Advance Satellite
Ericsson Australia - Level 5, 184 The Broadway, Sydney 2000
Ph: +61-416-085-390 Email: [EMAIL PROTECTED]
--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug