Article View: ch.comp.os.linux
Article #24538Re: Redirecting Traffic based on Port Nr.
From: Stef
Date: Mon, 01 Feb 1999 00:00
Date: Mon, 01 Feb 1999 00:00
25 lines
1308 bytes
1308 bytes
: i have one linux box servin as router & firewall. This Linux Box has one : official internet IP Adress. My Problem is now, that i want to redirect all : incoming traffic on port 80 to a specific IP Adr. Same for port 25. : So how can i redirect Traffic on Linux based on Port Nr. to other IP Adrs : ??????? There may be a way to accomplish this directly trough the kernel. Check the IP-* mini HOWTOs Since I don't know enough about that, I would do it like this: If you have apache listening on port 80, you can configure it to redirect all incomming queries to another host. To route e-mail to another host, I would setup an MX record on your nameservers pointing to the host you want your e-mails to be redirected to. Stef -- WebMaster D-WERK President SOS-ETH ETH Zurich stef@hoes.li http://hoes.li
Technical Details
Message-ID:
<36b5c79c.0@pfaff.ethz.ch>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<79432q$oi8$1@news.nrw.net>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f4b73,e3e475b899b6f18 X-Google-Attributes: gidf4b73,public From: Stef <stef@sos.ethz.ch> Subject: Re: Redirecting Traffic based on Port Nr. Date: 1999/02/01 Message-ID: <36b5c79c.0@pfaff.ethz.ch> X-Deja-AN: 439384481 References: <79432q$oi8$1@news.nrw.net> X-Trace: 1 Feb 1999 16:26:20 +0100, sos.ethz.ch User-Agent: tin/pre-1.4-980226 (UNIX) (Linux/2.0.34 (i586)) Newsgroups: ch.comp.os.linux