All of lore.kernel.org
 help / color / mirror / Atom feed
* IP Alias and NAT problems
@ 2003-12-09  4:17 Geffrey Velasquez
  2003-12-09  6:17 ` Geffrey Velásquez
  0 siblings, 1 reply; 2+ messages in thread
From: Geffrey Velasquez @ 2003-12-09  4:17 UTC (permalink / raw)
  To: netfilter

Hi Friends,

Actually I have a firewall running RedHat 8 with almost the latest 
kernel (from RH).
The interface eth0 has many aliases and there is a nat rule:

iptables -t nat -A POSTROUTING -s 10.x.x.x/16 -j SNAT --to-source 
200.x.x.10-200.x.x.21

(200.x.x.10-200.x.x.21 are IP aliases)

Everthing works fine, but when I try to do the same on RedHat9 (other 
box) running the latest kernel it doesnt works. Only works with the IP 
address of the interface (no alias), like this:

iptables -t nat -A POSTROUTING -s 10.x.x.x/16 -j SNAT --to-source 200.x.x.9

What is happening? why dont works SNAT with aliases? or maybe is not a 
netfilter problem?


Thanks in advance.

Geffrey Velásquez.






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

end of thread, other threads:[~2003-12-09  6:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-09  4:17 IP Alias and NAT problems Geffrey Velasquez
2003-12-09  6:17 ` Geffrey Velásquez

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.