Re: Forward ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Zoup wrote:

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




[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux