Mailinglist Archive: opensuse-security (670 mails)

< Previous Next >
Re: [suse-security] Reverse masquerade one IP ...
  • From: Sven Michels <smichels@xxxxxxxxxxxx>
  • Date: Tue, 13 Nov 2001 10:48:53 +0100
  • Message-id: <3BF0EC85.CB66D7A7@xxxxxxxxxxxx>
Ray Leach wrote:
>
> Hi
>
> Is it possible to reverse masq just one IP in a subnet?
>
> I have a mail server on a private subnet and I want to reverse masq just
> the IP of the mail server.
Like that:
iptables -A PREROUTING -t nat -p tcp --dport 25 -i $WORLD_DEV -j DNAT --to
$MAILSERVERIP


--
intraDAT AG http://www.intradat.com
Wilhelm-Leuschner-Strasse 7 Tel: +49 69-25629-0
D - 60329 Frankfurt am Main Fax: +49 69-25629-256
Junk mail is war. RFCs do not apply.

< Previous Next >
Follow Ups
References