Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[tlug] IP masquerading problem



Hi, Despite going thorugh it again and again, I still cannot figure out
why I cannont get my Masquerading server to work. Iptables loads fine. I
can connect from my internel computer to the global IP address of the
server...but no furthur. The interfaces are correct as well. This is the
script I am using...

#!/bin/sh
IPTABLES=/usr/local/sbin/iptables
EXTIF="eth1"
INTIF="eth0"
$IPTABLES -P FORWARD DROP
$IPTABLES -t nat -A POSTROUTING -o $EXTIF -s 192.168.1.3 -j MASQUERADE
$IPTABLES -A INPUT -i $EXTIF -m state  --state NEW,INVALID -j DROP
$IPTABLES -A FORWARD -i $EXTIF -m state --state NEW,INVALID -j DROP

I am using RH7.2. Any ideas would be appreciated.

Ray

Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links