Skip to contentSkip to conversation

redirecting traffic

DISCUSSION Chadley Wilson 2 participants 3 messages Jul 26, 2005

lore
Share & tools
lore
#0 lore raw

Greetings,

As I progress with my firewall skills, I would like to know if there is a way to take all traffic aimed at a certian machine for certain services and redirect them directly to another server.

We are moving from the uucp dial-up to ISP based dial-up, which means our clients will not dial directly into our server any more, They will be uploading data to our public gatways ip address, I want the gateway to forward or redirect the requests straight to our server.

Could some-one offer a few suggestions and possibly some examples on how to achieve this ?

Thanks

Signature · 8 lines
--
Chadley Wilson
Production Line Superintendant
Pinnacle Micro
Manufacturers of Proline Computers
====================================
Exercise freedom, Use LINUX
=====================================
#1 lore raw
Quoted 1 line · Chadley Wilson

As I progress with my firewall skills, I would like to know if there is a way to take all traffic aimed at a certian machine for certain services and redirect them directly to another server.

How far have you progressed? To the point of reading the NAT HOWTO yet?

Quoted 1 line

Could some-one offer a few suggestions and possibly some examples on how to achieve this ?

"-j DNAT", documented in "man iptables", examples in the NAT HOWTO.

Signature · 2 lines
    mail to this address is discarded unless "/dev/rob0"
    or "not-spam" is in Subject: header
#2 lore raw

Thanks good answer mate,
I needed to know what to use, and NAT is the one.
I will read up on it!

Chad

Quoted 11 lines · On Tuesday 26 July 2005 12:27, /dev/rob0 wrote:
Quoted 3 lines · Chadley Wilson

As I progress with my firewall skills, I would like to know if there is a way to take all traffic aimed at a certian machine for certain services and redirect them directly to another server.

How far have you progressed? To the point of reading the NAT HOWTO yet?

Quoted 2 lines

Could some-one offer a few suggestions and possibly some examples on how to achieve this ?

"-j DNAT", documented in "man iptables", examples in the NAT HOWTO.

Signature · 8 lines
--
Chadley Wilson
Production Line Superintendant
Pinnacle Micro
Manufacturers of Proline Computers
====================================
Exercise freedom, Use LINUX
=====================================