Re: Problem with NAT rule

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

 



On Saturday 2010-07-24 15:41, Pete Kay wrote:

>Hi,
>
>I would like to setup my iptable rules to forward udp packet from one
>device to another:
>
>192.168.1.100:16385  <---------> 192.168.1.114:29848 :: 192.168.1.200
>:29850  <----------> 192.168.1.300:10112
>
>What I want to do is forward all packets from 192.168.1.100:16385 to
>192.168.1.300:10112 and all packets from 192.168.1.300:10112 to
>192.168.1.100:16385
>
>Here is my iptables rule:


Routing does forwarding; nf_nat does NAT, those are two separate things.

--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[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