Linux Netfilter discussions
 help / color / mirror / Atom feed
* SNAT?
@ 2002-10-29 12:33 Svavar Örn Eysteinsson
  2002-10-29 13:07 ` SNAT? Antony Stone
  2002-10-29 13:17 ` SNAT? R. Sterenborg
  0 siblings, 2 replies; 3+ messages in thread
From: Svavar Örn Eysteinsson @ 2002-10-29 12:33 UTC (permalink / raw)
  To: NetFilter Mailing List

Hi everyone.
I’m very new to doing the SNAT thing.

The thing is, is there any way to SNAT a individual computer on my
internal network to a different public ip address?


This is my network 


{ INTERNET }
    |
    |
[--------|
[ ROUTER ]
[--------]
    |
    |
    |
x.x.x.98/24
    |
|--eth0----|
| Firewall |
|          |
|          -eth1-> 10.100.0.0/24 Internal Network
|----------|

All my internal network is masqueraded as the x.x.x.98/24 ip address. I
want to SNAT my internal IP address 10.100.0.200 to x.x.x.99/24 Is that
possible?

Isn't that right, that I need to do the "ip" command for the x.x.x.99
address on my firewall? 

I did "ip address add x.x.x.99 dev eth0

Could someone advice me on doing the SNAT thing with iptables. Any help
would be appreciated.

Best regards to all,

Svavar Orn
Reykjavik - Iceland




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-10-29 13:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-29 12:33 SNAT? Svavar Örn Eysteinsson
2002-10-29 13:07 ` SNAT? Antony Stone
2002-10-29 13:17 ` SNAT? R. Sterenborg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox