IP forwarding

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

 



Hello,

The mailing list friends helped me to enable IP forwarding on my Redhat 9 gateway with the rule:

"iptables -t nat -A POSTROUTING -o eth1 -j SNAT --to-source 172.16.3.10"

This rule forwards the traffic from the internal network (172.16.4.0/24) to the outside.

Problem:

But I feel that the internal IPs are being forwarded with the IP address of the external NIC of the gateway.

It would be helpful if I could have a way to keep the internal IP address (172.16.4.0)as it is without being substituted with the gateways IP address(172.16.3.10). This is because I want the external users to see the internal machines(172.16.4.0 network) as it is.

Please advise.

Thank You

Menon


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux