[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-ipchains
Subject:    [Ipchains] Redirecting web traffic
From:       Oliver =?iso-8859-1?Q?Ro=DFbruch?= <o.rossbruch () aixtema ! de>
Date:       1999-06-28 11:44:43
[Download RAW message or body]

hi,

I want to direct the webtraffic to www.aixtema.de:81 to an masqued
internal address 192.168.0.150 port 80

i am using ipchains 1.3.9 and ipmasqadm 2.2

here my config:

ipchains -L
Chain input (policy ACCEPT):
target     prot opt     source                destination
ports
-          tcp  -y----  anywhere             stargate.aixtema.de   any
->   81
Chain forward (policy DENY):
target     prot opt     source                destination
ports
MASQ       all  ------  192.168.1.0/24       anywhere              n/a
MASQ       all  ------  anywhere             192.168.1.0/24        n/a
Chain output (policy ACCEPT):


ipmasqadm mfw -L
fwmark   rediraddr               rport  pcnt  pref
1        hotline.aixtema.de        www    10    10


when I try to connect to www.aixtema.de:81 I get the following record:

ipchains -M -L
IP masquerading entries
prot expire   source               destination          ports
TCP  00:56.33 hotline.aixtema.de   rossi.aixtema.de     www (81) -> 1348

but nothing comes back

what's wrong?

--
Ciao

Oliver

*********************************
aixTeMa Digitale Lösungen GbR
Oliver Roßbruch
Lütticher Str. 10-12
52064 Aachen
Germany
Tel.: +49 241 70515-35
Fax: +49 241 70515-15
mailto:o.rossbruch@aixtema.de
http://www.aixtema.de
*********************************



----------------------------------------------
To unsubscribe to this list, write an email to
ipchains-request@rustcorp.com with a body of
'unsubscribe'.

www.rustcorp.com - web site
ftp.rustcorp.com - ftp site

Mail Archives:
http://www.starshadow.com/pipermail/ipchains
http://www.progressive-comp.com/Lists/?l=linux-ipchains&r=1&w=2#linux-ipchains
----------------------------------------------

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic