DNAT to multiple machines

From: Jollyluke (laurinter2000_at_NOSPAMhotmail.com)
Date: 08/28/05


Date: Sun, 28 Aug 2005 00:34:20 +0200


"Jeroen Geilman" <jeroen@adaptr.nl> ha scritto nel messaggio
news:rpr6u2-fa3.ln1@core.adaptr.nl...

>
>> I explain better...
>> I have two Windows clients in my home network and sometimes I use the one
>> and sometimes the other for different purposes. When I use some instant
>> messaging programs, of course I have to create a dnat on my linux
>> machines
>> in order to send or receive files.
>
> Why ?
>
>> I already set up an iptables rule like this:
>>
>> iptables -A PREROUTING -i eth1 -p tcp -m tcp --dport 1863 -j
>> DNAT --to-destination 172.23.131.67
>

MSN was just an example, but I have some other applications for which I need
to use DNAT, or at least I think so... I am a newbie so I don't know if
there's a better way to do this. For example, I would like to use
file-sharing applications on both client pcs without changing everytime the
rules...



Relevant Pages

  • Re: accessing printserver
    ... > our home network. ... If it's designed for windows clients, it is likely to be using smb or ...
    (Debian-User)
  • DNAT to multiple machines
    ... Is it possible to perform a DNAT to multiple machines? ... have two Windows clients in my home network and sometimes I use the one and ... I already set up an iptables rule like ...
    (alt.os.linux)