auto eth0 iface eth0 inet static address 1.2.3.4 netmask 255.255.255.0 broadcast 1.2.3.255 gateway 1.2.3.1 # secondary IP is defined here up ip addr add 5.6.7.8/24 dev eth0
and simply portforwarding port 80 on each IP to different internal server of your choice.
----- Original Message ----- From: "Doug Sampson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 07, 2004 7:41 PM
Subject: [leaf-user] Bind multiple IP addresses?
Can I bind more than one public IP address to an external interface in Dachstein 1.02CD? If so, how? I've googled around to no avail. If not, is there another app that does this? Bering?
The reason for this is I wish to port-forward packets to another web server
that is behind the firewall. Port 80 is already used by this one web server.
I do not wish to force users to add the port designation at the end of the
URL in order to reach the second web server. So I got around to thinking
that if I could bind a different public IP address to the external
interface, then add a rule to the firewall stating that if someone comes
knocking at this IP address at port 80 to please forward the packets to the
second web server.
I'm fully aware that I could establish port-forwarding at the ISP's name
server redirecting http packets to a different port- say 8000- which could
be redirected to port 80 of the second web server. I just would like to see
if I can avoid paying extra bucks for the port-forwarding feature. I happen
to have a few unused public IP addresses left.
Is that possible?
~Doug
------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ------------------------------------------------------------------------ leaf-user mailing list: [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com
------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html