Mailinglist Archive: opensuse-security (260 mails)

< Previous Next >
Re: [suse-security] redirect
i was playing around with ipchains and ipmasqadm to forward all traffic coming
on my port 80 to www.yahoo.com 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?

On Fri, 28 Jul 2000, Chris Drauch wrote:
> ksemat@xxxxxxxxxxxxxxx wrote:
> >
> > Hi all,
> > I would like to http requests on port 80 to my firewall machine running
> > ipchains to another machine on my local network with rfc1918 ip and for
> > that machine to be able to respond and send replies back to where they
> > came from. I am running SuSE linux 6.4 kernel 2.2.14 with ipchains and
> > ipmasqadm.
>
> #!/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
>
> --
> cdr
> -
> To unsubscribe from this list: send the line "unsubscribe linux-net" in
> the body of a message to majordomo@xxxxxxxxxxxxxxxx

< Previous Next >
This Thread
Follow Ups
References