case "$1" in
start)
echo -n "Masquerade wird
eingerichtet"
echo
#
/usr/sbin/iptables -A POSTROUTING
-t nat -j MASQUERADE -o ppp0
/bin/echo 1 > /proc/sys/net/ipv4/ip_forward
echo
;;
stop)
echo -n "Masquerade wird
gestoppt"
/usr/sbin/iptables -A POSTROUTING -t nat -j MASQUERADE -o ppp0
/bin/echo 0 > /proc/sys/net/ipv4/ip_forward
echo
;;
*)
echo "Usage: $0 {start|stop}"
exit 1
esac
exit 0