From: "Mike" <mikeeo@msn.com>
To: netfilter@lists.netfilter.org
Subject: Re: 1:1 NAT/Not working
Date: Mon, 27 Jan 2003 13:38:51 -0500 [thread overview]
Message-ID: <001701c2c633$569a74f0$1e01a8c0@win2k.com> (raw)
In-Reply-To: 001301c2c166$2c7671a0$1e01a8c0@win2k.com
I tried the examples that were shown and I cannot contact the servers. do I
need to alias the IPs on a ethernet card? i.e eth0:1?
from outside to inside:
iptables -t nat -A PREROUTING -d 208.15.232.12 -j DNAT --to 192.168.1.167
the other way around:
iptables -t nat -A POSTROUTING -s 192.168.1.167 -j SNAT --to 208.15.131.12
----- Original Message -----
From: "Mike" <mikeeo@msn.com>
To: <netfilter@lists.netfilter.org>
Sent: Tuesday, January 21, 2003 11:00 AM
Subject: 1:1 NAT
> Can anyone point me to some docs on setting up 1:1 NAT on netfilter?
>
> What I am trying to do is like how its done on cisco PIX i.e
> "static (inside,outside) 208.15.232.12 192.168.1.167 netmask
255.255.255.255
> 0 0"
>
> That way I don't have to do IP alias on my ethernet card.
>
> Thanks,
>
> Mike
>
>
>
prev parent reply other threads:[~2003-01-27 18:38 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-21 16:00 1:1 NAT Mike
2003-01-21 16:41 ` Maciej Soltysiak
2003-01-22 5:21 ` Raymond Leach
2003-01-22 6:42 ` Martin Josefsson
2003-01-22 6:50 ` Raymond Leach
2003-01-22 7:02 ` Martin Josefsson
2003-01-22 7:03 ` Raymond Leach
2003-01-27 18:38 ` Mike [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='001701c2c633$569a74f0$1e01a8c0@win2k.com' \
--to=mikeeo@msn.com \
--cc=netfilter@lists.netfilter.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox