Re: Problem with NAT rule

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

 



On Sun, Jul 25, 2010 at 12:13 AM, Pieter Smit <mlist2010@xxxxxxxxxxx> wrote:
> A couple of questions.
>
> 1. You have 3 devices, with the  FW with two interfaces 192.168.1.114
> and 192.168.1.200 in each subnet ?
>

Hi, The FW device only has one interface and it should all be
192.168.1.200.  It was a typo.  The redirector should only have one
interface with ip 192.168.1.200.

> 2. The two outside hosts will connect to udp ports on the FW device
> that will be translated to the other device ?

yes

>
> 3. Is the udp streams in one direction ?  Does it matter to the udp
> receiver where the packet comes from or will it always send return
> traffic to the FW ip ?
>

Yes, the udp is for both direction.  The FW ip ( 192.168.1.200) should
just redirect packets from one to another and vice versa.


> Cheers,
> Pieter
>
> On Sat, Jul 24, 2010 at 3:41 PM, Pete Kay <petedao@xxxxxxxxx> 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
>>
>
--
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