Article 4QH32 OpenSuse IP Masquerading not working

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 :
  1. 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"
  1. yast2 -> system -> network settings
    • - in the rounting tab, "Enable IP Forwarding" box checked
2) On the Slave PC :
  1. 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)
below is the OS details about my Master :
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 addlatest?d=yIl2AUoC8zA latest?i=9u-Ml62lK_Q:PBq8GM9dP5M:F7zBnMy latest?i=9u-Ml62lK_Q:PBq8GM9dP5M:V_sGLiP latest?d=qj6IDK7rITs latest?i=9u-Ml62lK_Q:PBq8GM9dP5M:gIN9vFw9u-Ml62lK_Q
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments