Re: Very basic question

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

 



On Fri, 2004-09-24 at 12:28, coding@xxxxxxxxxxxxxxxxxx wrote:
> Hi,
> 
>             I am very new to trying to use iptables and was wondering if
> someone could help me out with what I should do to solve my current problem.

> Ie forward all incoming traffic on eth2 going to address 213.249.230.206 to
> 192.168.10.2 on eth1.

only one is enough 

> iptables -t nat -A PREROUTING -i eth2 -s 213.249.230.206 -j DNAT --to
> 192.168.10.2

traffic to 213.249.230.206 thus -d not -s :
iptables -t nat -A PREROUTING -i eth2 -d 213.249.230.206 -j DNAT --to
192.168.10.2
-- 
Eric Leblond <eric@xxxxxx>
INL



[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