I'm still having difficulties getting port forwarding to work with my
Linux firewall, specifically in the use of dialpad.com. Helpful
suggestions would be very helpful. :)

I've running kernel 2.2.5-22, with the ip_masq_portfw module loaded.
tcp_syncookies are enabled, as is the rp_filter, although that shouldn't
matter. I am running the following script:

#########################################################################
# Enable masq port forwarding for dialpad.com on my Windows machines.
#########################################################################
IP_REAL="206.13.28.123"
TOIP_PC="192.168.128.56"
ipmasqadm portfw -f
ipmasqadm portfw -a -P tcp -L $IP_REAL 51210 -R $TOIP_PC 51210
ipmasqadm portfw -a -P upd -L $IP_REAL 51201 -R $TOIP_PC 51201
ipmasqadm portfw -a -P upd -L $IP_REAL 51200 -R $TOIP_PC 51200
ipmasqadm portfw -ln

and the following MASQ settings from my ipchains script:

$IPCHAINS -A forward -s $INTERNALNET -d $INTERNALNET -j ACCEPT
$IPCHAINS -A forward -s $LOCALNET -d $REMOTENET -j ACCEPT 
$IPCHAINS -A forward -s $INTERNALNET -d $REMOTENET -j MASQ
$IPCHAINS -P forward DENY
$IPCHAINS -A input -s $INTERNALNET -d $REMOTENET -j ACCEPT   
$IPCHAINS -A output -s $INTERNALNET -d $REMOTENET -j ACCEPT

-- 
Todd A. Jacobs
Network Systems Engineer




-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to