On Thursday 30 May 2002 02:30, Michael Hudin wrote: > Okay, so I'm rather new at the whole iptalbes thing and have run into a > roadblock in getting it to redirect traffic to an inside machine. The > machine that I have iptalbes running on is also functioning as a gateway > and VPN. The gateway works fine. The VPN works fine. The redirection > of outside IP's does not. I was wondering if it has something to do > with the fact that the IP I was trying to use are virtual, but I've read > that that doesn't matter. And yes, I have read the HOWTO quite a few > times before bugging y'all. Also ip_forward is set to 1 to enable this > to happen. Following is my configuration which happens to be just the > latest incarnate of a lot of different combinations: > > *nat > > :PREROUTING ACCEPT [640:64616] > :POSTROUTING ACCEPT [192:9862] > :OUTPUT ACCEPT [66:4152] > > -A PREROUTING -d 67.112.114.xxx -p tcp -m tcp --dport 80 -j DNAT > --to-destination 192.168.77.xxx > -A POSTROUTING -o eth0 -j MASQUERADE > COMMIT > # Completed on Tue May 28 22:46:33 2002 > # Generated by iptables-save v1.2.5 on Tue May 28 22:46:33 2002 > *mangle <SNIP> It seems like you're missing a forwarding rule to forward the traffic from the firewall to the internal ip.
-- ---------------------------------------- Ray Leach (Technical Network Specialist) Knowledge Factory www: http://www.knowledgefactory.co.za Tel: +27-11-445-8100 Direct: 445-8263 Fax: +27-11-445-8101 "No matter where you go, there you are." ----------------------------------------