Re: Binding output traffic to specific (aliased) interface

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

 



$IPTABLES -t nat -A POSTROUTING -o $EXT_INT -s $CS_BOX -j SNAT --to-source
x.x.x.211


On Tue, 11 Mar 2003, Barry L. Jeung wrote:

> Sorry guys, I know this is a simple question but I'm pretty brain dead
> right now. Basically, I have a firewall and a CS (Counter-Strike) server
> behind it. The physical interface on the firewall is .210 and I have an
> aliased interface as .211 . I have a rule for forward inbound CS traffic
> (UDP port 27015) on the aliased interface to the internal box. All
> normal gameplay works fine. However, because I'm doing NAT, some
> outbound traffic (master server communication) is going out from the
> .210 address. How can I specify that all traffic with source from my CS
> box goes out the aliased interface? TIA
>


[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