IP Alias and NAT problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.







[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux