OpenSuse IP Masquerading not working
by rbara from LinuxQuestions.org on (#4QH32)
Hi All!
i have an OpenSuse server that acts like a master that has 2 network cards. one network card is connected to external network with internet access and the other one is configured as internal network and connected to a network hub. there are multiple other OpenSuse PC's that are connected to the network ,hub and they all act like slave PC's.
im trying to configure the network so the slave PC's could access internet through the master. i went through some articles and tried masquerading but still doesn't work. below is what i have done :
1) On the Master PC :
NAME="openSUSE Leap"
VERSION="42.3"
ID=opensuse
ID_LIKE="suse"
VERSION_ID="42.3"
PRETTY_NAME="openSUSE Leap 42.3"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:opensuse:leap:42.3"
BUG_REPORT_URL="https://bugs.opensuse.org"
HOME_URL="https://www.opensuse.org/"
below is the OS details about my Slave :
NAME=openSUSE
VERSION="13.2 (Harlequin)"
VERSION_ID="13.2"
PRETTY_NAME="openSUSE 13.2 (Harlequin) (x86_64)"
ID=opensuse
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:opensuse:opensuse:13.2"
BUG_REPORT_URL="https://bugs.opensuse.org"
HOME_URL="https://opensuse.org/"
ID_LIKE="suse"
can please help to advise what i'm missing here? i still couldnt be able to ping to external IP add


i have an OpenSuse server that acts like a master that has 2 network cards. one network card is connected to external network with internet access and the other one is configured as internal network and connected to a network hub. there are multiple other OpenSuse PC's that are connected to the network ,hub and they all act like slave PC's.
im trying to configure the network so the slave PC's could access internet through the master. i went through some articles and tried masquerading but still doesn't work. below is what i have done :
1) On the Master PC :
- yast2 -> Security and Users -> Firewall
- - in the Interfaces section, selected the network card that is connected to internet and changed it to
"External Zone" and select network card connected to the network hub to "Internal Zone".
- - in the Masquerading section, checked the box labelled "Masquerade Network"
- - in the Interfaces section, selected the network card that is connected to internet and changed it to
- yast2 -> system -> network settings
- - in the rounting tab, "Enable IP Forwarding" box checked
- yast2 -> Network Devices -> Network Settings
- - on the Routing tab, set default gateway IP in this machine to the Internal IP of Master PC
- - on the Hostname/DNS tab, set DNS server 1 IP to the Master PC's gateway IP (i also tried skipping this step but still doesn
work)
NAME="openSUSE Leap"
VERSION="42.3"
ID=opensuse
ID_LIKE="suse"
VERSION_ID="42.3"
PRETTY_NAME="openSUSE Leap 42.3"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:opensuse:leap:42.3"
BUG_REPORT_URL="https://bugs.opensuse.org"
HOME_URL="https://www.opensuse.org/"
below is the OS details about my Slave :
NAME=openSUSE
VERSION="13.2 (Harlequin)"
VERSION_ID="13.2"
PRETTY_NAME="openSUSE 13.2 (Harlequin) (x86_64)"
ID=opensuse
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:opensuse:opensuse:13.2"
BUG_REPORT_URL="https://bugs.opensuse.org"
HOME_URL="https://opensuse.org/"
ID_LIKE="suse"
can please help to advise what i'm missing here? i still couldnt be able to ping to external IP add