I try to set up IP forwarding on my debian box, but I can't seem to get it working.
my config is as follows: ------------------------ IPTABLES=`which iptables` ANYWHERE="0/0" INT_IP="192.168.0.1" EXT_IP=`ifconfig eth0 | grep -i "addr:" | cut -f2 -d: | cut -f1 -d " "` EXT_INTERFACES="eth0" INT_NETWORKS="192.168.0.0/24 192.168.1.0/24" LOGGING_ENABLED="1" LOGGING_PREFIX="FW:" ALLOWED_PORTS="22" ALLOWED_PROTOCOLS="0/0(0)" PORT_FORWARDS="$EXT_IP(81)-192.168.1.10(80)" TRUSTED_INTERFACES="eth0" ------------------------ When starting /etc/init.d/firewall, I get: ------------------------ Flushing all current rules: - OK Removing user defined chains: - OK Changing target policies to DROP: - OK Allowing 192.168.0.0/24 traffic out: - OK Allowing 192.168.1.0/24 traffic out: - OK Allowing response traffic: - OK Allowing localhost communications: - OK Allowing connections to port 22: - OK Forwarding 130.89.xxx.xx(81) to 192.168.1.10(80): - OK Masq'ing 192.168.0.0/24: - OK Masq'ing 192.168.1.0/24: - OK Allowing Gateway out eth0 - OK Allowing Gateway to connect to self - OK Allowing protocol 0 connections from 0/0: - OK Enabling dropped packet logging: - OK ------------------------ It seems like the forwarding is set up correctly, but when trying to reach http://130.89.xxx.xx:81 I get no response. http://192.168.1.10 correctly serves me an apache page Does anyone know what I might be doing wrong? Edwin.. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] List archives: http://asgardsrealm.net/lurker/splash/index.html