28 Jul
2000
28 Jul
'00
16:58
Max Gribov wrote:
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?
Please show us the output of # ipchains -L|grep http and # 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. -cdr