Hello, I am running a Mandrake 9.2 Linux Router using the Shorewall 1.4.9 (IPTABLES) and configured with Webmin 1.121. The Router has several external (public) Ips, configured as virtual NICs on the Eth1 (outgoing) interface and every single one of them is reachable Form in and outside. The Router is masquerading an class C subnet 192.168.0.0 /255.255.255.0 And has the internal IP 192.168.0.254 Now here is the Problem: Lets say i have the external adresses 123.456.789.1 and 123.456.789.2 And i would like to make a Port forwarding depending on the given IP. Both Ips do have a DNS entry so i want the router to Forward packets coming on 123.456.789.1:80 to 192.168.0.1:80 and Packets to 123.456.789.2:80 to 192.168.0.2:80. I didn´t manage that so far an i couldn´t find any Howtos or ManPage to that Issue So far. Anyone any Ideas where to look or how it works ? Any help would be appreciated Thanks Carsten Hedwig
Hello You must use : DNAT public private:192.168.0.1 tcp 80 - 123.456.789.1 ;-) Franck -----Message d''origine----- De : Carsten Hedwig [mailto:carsten.hedwig@pmms.de] Envoyé : mercredi 17 mars 2004 09:30 À : shorewall-users@lists.shorewall.net Objet : [Shorewall-users] Multi Homed IP Hello, I am running a Mandrake 9.2 Linux Router using the Shorewall 1.4.9 (IPTABLES) and configured with Webmin 1.121. The Router has several external (public) Ips, configured as virtual NICs on the Eth1 (outgoing) interface and every single one of them is reachable Form in and outside. The Router is masquerading an class C subnet 192.168.0.0 /255.255.255.0 And has the internal IP 192.168.0.254 Now here is the Problem: Lets say i have the external adresses 123.456.789.1 and 123.456.789.2 And i would like to make a Port forwarding depending on the given IP. Both Ips do have a DNS entry so i want the router to Forward packets coming on 123.456.789.1:80 to 192.168.0.1:80 and Packets to 123.456.789.2:80 to 192.168.0.2:80. I didn´t manage that so far an i couldn´t find any Howtos or ManPage to that Issue So far. Anyone any Ideas where to look or how it works ? Any help would be appreciated Thanks Carsten Hedwig _______________________________________________ Shorewall-users mailing list Post: Shorewall-users@lists.shorewall.net Subscribe/Unsubscribe: https://lists.shorewall.net/mailman/listinfo/shorewall-users Support: http://www.shorewall.net/support.htm FAQ: http://www.shorewall.net/FAQ.htm