On Thursday 27 June 2002 2:49 pm, Mika Ullgren wrote: > Yes I did. Sorry I forgot to mention that... If I use DNAT exactly the > same thing happens as with REDIRECT. > > Any other ideas?
Here's a bit of a daft idea, but you never know..... Try using DNAT to a completely different address (which you still add to eth0 and include in the apache httpd.conf file) ? eg ifconfig eth0:0 172.16.64.75 netmask 255.255.255.0 iptables -A PREROUTING -t nat -d 192.168.64.75 -p tcp --dport 80 -j DNAT --to 172.16.64.75:8080 etc.... I have no idea if this would work (or if it did, why it's a better idea than the other things you've tried) but it's got to be worth a quick go..... Antony.
