Setup ICS
yast - > network devices - > network card module, a good static IP for your internal NIC would be 192.168.0.254
Dont Forget The Gateway on the internet enabled NIC
IP Forwarding
You will not be able to perform this step if you are using Network Manager and not Ifup.
Open YaST -> Network Devices -> Network Settings -> Routing and check the box marked Enable IP Forwarding
Click Finish
Select the External and Internal interfaces
Open YaST - > Security & Users - > Firewall
In the Interfaces section:
Select the network card that you connect to the internet through, click change and set it to External Zone
Select the network card that is connected to the other machine(s) on your internal network that you want to share the internet to and set it to Internal Zone
Enable Masquerading
Still in the Firewall YaST Module locate the Masquerading section.
Check the box labeled Masquerade Networks
Click Next and Finish
DHCP
YaST - > Network Services - > DHCP server
• Set the active interface to your internal network card
• Choose an internal domain name
• Fill in the name server IPs with the values you can find by running cat /etc/resolv.conf
• Set the Default Gateway to the IP address of your SUSE box on the internal network
From OPENSUSE.org
No comments:
Post a Comment