Felix.Ohmberger@conceptnet.ch 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@fh-furtwangen.de, WWW: http://rainer.w3.to/ Student of Communication Engineering/Computer Networking, University of Applied Sciences,Furtwangen,Germany,http://www.ce.is.fh-furtwangen.de/