Anton, ml.
####
INTLAN="192.168.1.0/24"
ipchains -I forward -s $INTLAN -d 0.0.0.0/0 -j MASQ
ipchains -A forward -j MASQ -i ippp0
But that's will work only on internal segment segment, but not everything.
Any idea?
Anton, ml.
#############Start###################
echo Loading Masquerading rulez ...
/sbin/depmod -a
/sbin/modprobe ip_masq_ftp
/sbin/modprobe ip_masq_raudio
/sbin/modprobe ip_masq_irc
/sbin/modprobe -a ip_masq*
ipchains -F
ipchains -X
ipchains -P forward DENY
ipchains -A forward -s 192.168.1.0/24 -j MASQ
ipchains -A forward -s 192.168.1.0/255.255.255.0 -j MASQ
##############End of file#############
c ya
--
shiva
with best regards...
http://weboox.2y.net