danke sloter
mir raucht schon der kopf,habe mit 3 verschiedenen bücher schon das masq versucht. kein erfolg.
kann man das nicht auch im yast2 einstellen?
meine versuche
linux:~ # linux:~ # sysct1 -w net.ipv4.ip_forward=1
bash: linux:~: command not found
linux:~ # bash: sysct1: command not found
bash: bash:: command not found
linux:~ # linux:~ # echo 1 > /proc/sys/net/ipv4/ip_forward
bash: linux:~: command not found
linux:~ # linux:~ # /sbin/iptables -P forward DENY
bash: linux:~: command not found
linux:~ # bash: /sbin/iptables: No such file or directory
bash: bash:: command not found
linux:~ # linux:~ # /sbin/ipchains -P forward DENY
bash: linux:~: command not found
linux:~ # ipchains: Protocol not available
bash: ipchains:: command not found
linux:~ # linux:~ # /usr/sbin/iptables -P forward DENY
bash: linux:~: command not found
linux:~ # iptables: Bad built-in chain name
bash: iptables:: command not found
linux:~ # linux:~ # /usr/sbin/iptables -A forward -S 192.168.0.0/24 -i ppp0 -j MASQ
bash: linux:~: command not found
linux:~ # iptables v1.2.5: Unknown arg `-S'
> Try `iptables -h' or 'iptables --help' for more information.
> linux:~ # /usr/sbin/iptables -A forward -s 192.168.0.0/24 -i ppp0 -j MASQ
> iptables v1.2.5: Couldn't load target `MASQ':/usr/lib/iptables/libipt_MASQ.so: cannot open shared object file: No such file or directory
>
> Try `iptables -h' or 'iptables --help' for more information.
> linux:~ # /sbin/init.d/.
> bash: /sbin/init.d/.: No such file or directory
> linux:~ # /usr/sbin/init.d/.
> bash: /usr/sbin/init.d/.: No such file or directory
> linux:~ # /usr/sbin/init.d/
> bash: /usr/sbin/init.d/: No such file or directory
> linux:~ # /usr/sbin/init.d
> bash: /usr/sbin/init.d: No such file or directory
> linux:~ # /etc/rc.d/init.d/firewall
> bash: /etc/rc.d/init.d/firewall: No such file or
|