Hi there, I have fallowed this how to SDB:Internet connection sharing - openSUSE but I’m probably missing something.
DHCP server is working fine, the internal interface is plunged to a router in the WAN port and it get’s automatically IP address from the DHCP server but there is no internet connection.
I’m sure I’m missing some firewall rules or routing problem.
eth0 is the internal nic and eth1 is the internet nic
Here are the network interfaces configuration:
eth0 Link encap:Ethernet HWaddr A0:F3:C1:04:AB:99
inet addr:192.168.2.254 Bcast:192.168.2.255 Mask:255.255.255.0
inet6 addr: fe80::a2f3:c1ff:fe04:ab99/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3507 errors:0 dropped:0 overruns:0 frame:0
TX packets:4907 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:800300 (781.5 Kb) TX bytes:5971412 (5.6 Mb)
eth1 Link encap:Ethernet HWaddr 70:71:BC:CA:DF:38
inet addr:192.168.0.2 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::7271:bcff:feca:df38/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:39066 errors:0 dropped:1 overruns:0 frame:0
TX packets:29568 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:41912405 (39.9 Mb) TX bytes:5059011 (4.8 Mb)
Interrupt:20 Memory:f7fc0000-f7fe0000
iptables:
iptables -t nat -L -n
Chain PREROUTING (policy ACCEPT)
target prot opt source destination
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Chain POSTROUTING (policy ACCEPT)
target prot opt source destination
MASQUERADE all – 0.0.0.0/0 0.0.0.0/0
MASQUERADE all – 0.0.0.0/0 0.0.0.0/0
Thanks