Hallo, Am Dienstag 15 August 2006 14:59 schrieb Thomas Mack:
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE -s 192.168.0.0/24
Hab ich probiert, funktioniert aber immer noch nicht. Ich bin auch ein wenig unsicher mit eth0, denn rcnetwork restart ergibt folgendes: ------------------------------------------------------------------------------begin linux:/home/Karl # rcnetwork restart Shutting down network interfaces: eth0 device: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10) eth0 configuration: eth-id-00:10:b5:11:48:5a done eth2 device: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10) eth2 configuration: eth-id-00:10:b5:11:49:20 done Shutting down service network . . . . . . . . . . . . . done Hint: you may set mandatory devices in /etc/sysconfig/network/config Setting up network interfaces: lo lo IP address: 127.0.0.1/8 done eth0 device: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10) eth0 configuration: eth-id-00:10:b5:11:48:5a eth0 (DHCP) . IP/Netmask: 82.235.173.77 / 255.255.255.0 done eth2 device: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10) eth2 configuration: eth-id-00:10:b5:11:49:20 eth2 IP address: 192.168.0.254/24 done Setting up service network . . . . . . . . . . . . . . done ------------------------------------------------------------------------------------end Da steht nur was von eth0 und eth2. Müsste ich nicht eth0 un eth1 haben? Gruss Karl