I'm developing a gateway based on the Intrinsyc SA1100 Cerfcube. I'm having 
trouble with NAT and FTP connection tracking. Interior network clients can 
login to exterior FTP servers, but beyond that no traffic that requires the 
inbound connection request functions. Telenet and other single connection 
programs work OK.

This is a normal masquerade setup which works fine on an X86. I've tried 
2.4.7 as well as 2.4.16. Same results. Given my experiences with ARM in the 
past, I suspect structure alignment. Has anyone had experience with with NAT 
on ARM? Here is my script:

IPTABLES=/bin/iptables
EXTIF="eth1"
INTIF="eth0"
SNAT_NET="192.168.0.0/24"
SNAT_ADDR="192.168.0.1"
echo "1" > /proc/sys/net/ipv4/ip_forward
echo "1" > /proc/sys/net/ipv4/ip_dynaddr
$IPTABLES -A FORWARD -i $EXTIF -o $INTIF -d $SNAT_NET -m state --state 
ESTABLISHED,RELATED -j ACCEPT
$IPTABLES -A FORWARD -i $INTIF -o $EXTIF -s $SNAT_NET -j ACCEPT
$IPTABLES -t nat -A POSTROUTING -o $EXTIF -j MASQUERADE

-- 
Tim Gardner - [EMAIL PROTECTED] 406-443-5357
TriplePoint, Inc. - http://www.tpi.com
PGP: http://www.tpi.com/PGP/Tim.txt 

_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
Please visit the above address for information on this list.

Reply via email to