🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: ch.comp.os.linux
3 messages
3 total messages Started by Volker Kalthaus Mon, 01 Feb 1999 00:00
Redirecting Traffic based on Port Nr.
#24532
Author: Volker Kalthaus
Date: Mon, 01 Feb 1999 00:00
15 lines
1028 bytes
Hello all,

i need help dealing with the following problem:

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
???????

Thanks in advance,

Volker Kalthaus
(VKalthaus@klv.de)
Re: Redirecting Traffic based on Port Nr.
#24538
Author: Stef
Date: Mon, 01 Feb 1999 00:00
25 lines
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
Re: Redirecting Traffic based on Port Nr.
#24563
Author: phippu
Date: Tue, 02 Feb 1999 00:00
28 lines
1433 bytes
Volker Kalthaus <VKalthaus@klv.de> wrote:
> Hello all,

> i need help dealing with the following problem:

> 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
> ???????

Hello Volker,
the thing you are looking for is the plug-gateway from the tis firewalll toolkit.
It allows you to do exactly what you described above. (at least for tcp) 

Check http://www.tis.com/prodserv/fwtk/readme.html for further infos.
btw: the fwtk is usually within a linux distribution (eg. Suse,Debian,Slackware)


Cheers,
Philipp Nyffenegger

---
ASCOM AG		Tel. G.  : +41 (0)31 999 34 96
NISI Intranet/Internet	Tel. P.  : +41 (0)31 981 25 81
Belpstrasse 37		Tel. GSM : +41 (0)79 302 12 31
3000 Bern 14		Email    : nnyffp@ascom.com
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads