On Fri, 2 Apr 1999, Sascha Wilde wrote:
> Halli Hallo !
> Ich w�rde gerne meinen PC als Gateway f�r ein lokales Netzwerk einrichten.
> Ich hab dazu alle Kerneloptionen aktiviert (IP-Forwarding, Masquerading usw...).
> Ich bin schon soweit gekommen, da� wenn ich auf einem W95 PC eine Internetadresse im 
>Internetexplorer eingebe, sich der Linuxrechner ins Internet einw�hlt.
> Leider routet er die Pakete nicht an den W95 Pc weiter! :-(
> Was mu� ich denn noch alles einstellen bzw. beachten, damit das funktioniert ?
> F�r eine Antwort w�re ich sehr dankbar!
> ciao
place a
/sbin/masquerade
in the /sbin/init.d/boot.local file
now make a /sbin/masquerade file with
-----------8<-----------------
#!/bin/sh
#
#FIREWALL
#
echo "Firewall and Masquerading on"
ipfwadm -I -p accept
ipfwadm -I -f
ipfwadm -O -p accept
ipfwadm -O -f
ipfwadm -F -p deny
ipfwadm -F -f
ipfwadm -F -a masquerade -S 192.168.66.0/24 -D 0.0.0.0/0
-----------8<-----------------
in it. and make it executable.
Setze Forwarding in der /etc/rc.config auf YES !!!! Das rauszufinden hatte
mich Tage gekostet :-((((
now reboot and it sets it on each reboot automaticly.
Achtung ... lies Dir ausserdem mal das Firewalling Howto durch.

Wenn du noch Probleme hast, dann schreib mir einfach mal privat.
([EMAIL PROTECTED])

-
To unsubscribe from this list please send a mail to [EMAIL PROTECTED] with
'unsubscribe suse-isdn' in its body.

Antwort per Email an