Skip to contentSkip to conversation

Forward ?

DISCUSSION Zoup 2 participants 2 messages Nov 24, 2003

lore
Share & tools
lore

Zoup

author
#0 lore raw

Hi list :)

im got a cache server with two nic , which way is the best way to say packet come from one of this interface ( which connected to switch ) and go out from nic2 ( which connected to modem ) :)

thanks in advance .

Signature · 1 line
It's a poor workman who blames his tools.
#1 lore raw
Quoted 8 lines · Zoup

Hi list :)

im got a cache server with two nic , which way is the best way to say packet come from one of this interface ( which connected to switch ) and go out from nic2 ( which connected to modem ) :)

thanks in advance .

I don't understand your question exactly, but the packets that come in one NIC and go out the other will cross the FORWARD chain. Any traffic going to and from the firewall host crosses the INPUT and OUTPUT chains. If you're trying to identify which interface the modem is on, try running ifconfig and check the output. In your ruleset interfaces are identified by the -i switch (i.e. -i eth0, -i ppp0).

Hope this helps,

Jeff