Mailinglist Archive: opensuse-security (260 mails)

< Previous Next >
Re: [suse-security] redirect
  • From: Chris Drauch <cdr@xxxxxxxx>
  • Date: Fri, 28 Jul 2000 17:58:24 +0100
  • Message-id: <3981BBB0.867BDA19@xxxxxxxxxxx>
Max Gribov wrote:
> i was playing around with ipchains and ipmasqadm to forward all traffic coming
> on my port 80 to port 80... i did what is specified below
> > #!/bin/bash
> > LS=your.external.firewall.ip
> > HTTPD=your.rfc1918.internal.ip
> > ipmasqadm portfw -a -P tcp -L $LS http -R $HTTPD http
> > ipchains -I forward -p tcp -s $HTTPD http -j MASQ
> but it didnt work. if i tried to connect to my machine's ip addr, i still ended
> up on my machine's httpd. what could i be doing wrong?

Please show us the output of

# ipchains -L|grep http


# ipmasqadm portfw -l|grep http

Maybe you should try to shutdown your httpd listening on port 80; at least
it makes no sense to have it active if you redirect away.


< Previous Next >
This Thread