Hi, I installed 64 bit 12.2 with lxde/openbox on a box called “maria”
with two network devices.
I have eth0 (firewall external zone) connected to my ISP and eth1
(firewall internal zone) connected to my internal network as
10.0.0/24. On the internal network I can ping “maria”, and on “maria”
I can ping google.com.
In Yast -> Security_and_Users -> Firewall -> Masquerading,
I have enabled “Masquerade Networks”. In YaST -> Network_devices ->
network_settings -> Routing, I have enabled “IP forwarding”.
This was sufficient in earlier releases to get NAT working. However
with 12.2 I cannot access the internet from machines on the
10.0.0/24 network. I receive the report ping: unknown host google.com
On “maria” command route reports:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default 78.243.124.254 0.0.0.0 UG 0 0 0 eth0
10.0.0.0 * 255.255.255.0 U 0 0 0 eth1
78.243.124.0 * 255.255.255.0 U 0 0 0 eth0
loopback * 255.0.0.0 U 0 0 0 lo
link-local * 255.255.0.0 U 0 0 0 eth0
IPv6 is disabled.
In openSUSE 12.2: Chapter 13. Masquerading and Firewalls I read
As mentioned, whenever one of the LAN hosts sends a packet
destined for an Internet address, it goes to the default
router. However, the router must be configured before it can forward
such packets. For security reasons, this is not enabled in a default
installation. To enable it, set the variable IP_FORWARD in the file
/etc/sysconfig/sysctl to IP_FORWARD=yes.
but there is no file /etc/sysconfig/sysctl in my 64 bit 12.2 installation.
What additional settings are needed to get NAT working in 12.2?
Roger