Mailinglist Archive: opensuse-security (199 mails)
| < Previous | Next > |
Re: [suse-security] More than one IP-Addresses on an ethernet interface
- From: Rainer Link <link@xxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 19 Jan 2000 14:24:30 +0100
- Message-id: <3885BB0E.9825CBE1@xxxxxxxxxxxxxxxxxxxx>
Felix.Ohmberger@xxxxxxxxxxxxx wrote:
Hi!
> > I want configure a Firewall with ipchains for a box with one external
> > (Internet) and one internal ethernet cards.
> > On the internal network I use two webserver machines. So I should
> > configure two IP-Addresses on the external interface to point to the
> > different webservers.
> > 1. How do I configure two IP-Addresses on one ethernet interface?
> > 2. How do I configure the rule with ipchains to forward the http protocol
> > to the corresponding webserver?
Well, imho this can not be done with ipchains, because -j REDIRECT will
redirect packets only to a local socket. So, I suggest to have a look
at:
http://www.linuxdoc.org/HOWTO/IP-Masquerade-HOWTO-6.html#ss6.8
HTH
Please correct me, if I'm wrong. :-)
best regards,
Rainer Link
--
Rainer Link, eMail: linkra@xxxxxxxxxxxxxxxx, WWW: http://rainer.w3.to/
Student of Communication Engineering/Computer Networking, University of
Applied Sciences,Furtwangen,Germany,http://www.ce.is.fh-furtwangen.de/
Hi!
> > I want configure a Firewall with ipchains for a box with one external
> > (Internet) and one internal ethernet cards.
> > On the internal network I use two webserver machines. So I should
> > configure two IP-Addresses on the external interface to point to the
> > different webservers.
> > 1. How do I configure two IP-Addresses on one ethernet interface?
> > 2. How do I configure the rule with ipchains to forward the http protocol
> > to the corresponding webserver?
Well, imho this can not be done with ipchains, because -j REDIRECT will
redirect packets only to a local socket. So, I suggest to have a look
at:
http://www.linuxdoc.org/HOWTO/IP-Masquerade-HOWTO-6.html#ss6.8
HTH
Please correct me, if I'm wrong. :-)
best regards,
Rainer Link
--
Rainer Link, eMail: linkra@xxxxxxxxxxxxxxxx, WWW: http://rainer.w3.to/
Student of Communication Engineering/Computer Networking, University of
Applied Sciences,Furtwangen,Germany,http://www.ce.is.fh-furtwangen.de/
| < Previous | Next > |