[Shorewall-users] Multi Homed IP
fbarel at nasinter.net
Wed Mar 17 00:37:35 PST 2004
You must use :
DNAT public private:192.168.0.1 tcp 80 - 123.456.789.1
De : Carsten Hedwig [mailto:carsten.hedwig at pmms.de]
Envoyé : mercredi 17 mars 2004 09:30
À : shorewall-users at lists.shorewall.net
Objet : [Shorewall-users] Multi Homed IP
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
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
Anyone any Ideas where to look or how it works ?
Any help would be appreciated
Shorewall-users mailing list
Post: Shorewall-users at lists.shorewall.net
More information about the Shorewall-users