Fleshgolem
05.05.03, 16:27
Hab Debian testing drauf
Ich bin mir ziemlich sicher, dass es schonma funktioniert hat, vor der neuinstallation ging es auch noch aber jetzt geht gar nix mehr.
Versuche das routing über
iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
echo 1 > /proc/sys/net/ipv4/ip_forward
zu starten und ein "iptables -L -t nat" meldet auch, dass es an ist, aber am andren Rechner geht trotzdem nix, obwohl es dort definiv richtig eingerichtet is
Hier noch meine /etc/network/interfaces :
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
# The loopback interface
auto lo
iface lo inet loopback
# The first network card - this entry was created during the Debian installation
# (network, broadcast and gateway are optional)
auto eth0
iface eth0 inet static
address 192.168.0.1
netmask 255.255.255.0
auto eth1
iface eth1 inet static
address 217.11.16.70
netmask 255.255.0.0
eth0 ist für das Netzwerk und an eth1 hängt das dsl-modem
Ich bin mir ziemlich sicher, dass es schonma funktioniert hat, vor der neuinstallation ging es auch noch aber jetzt geht gar nix mehr.
Versuche das routing über
iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
echo 1 > /proc/sys/net/ipv4/ip_forward
zu starten und ein "iptables -L -t nat" meldet auch, dass es an ist, aber am andren Rechner geht trotzdem nix, obwohl es dort definiv richtig eingerichtet is
Hier noch meine /etc/network/interfaces :
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
# The loopback interface
auto lo
iface lo inet loopback
# The first network card - this entry was created during the Debian installation
# (network, broadcast and gateway are optional)
auto eth0
iface eth0 inet static
address 192.168.0.1
netmask 255.255.255.0
auto eth1
iface eth1 inet static
address 217.11.16.70
netmask 255.255.0.0
eth0 ist für das Netzwerk und an eth1 hängt das dsl-modem