Hello, I have SuSE 8.1 installed on my box and tried to make it as a server to share the DSL internet connection with another pc at home. I have done the followings: (1) Installed SuSEFireWall2 on my box using the following setups: FW_DEV_EXT="ppp0" FW_DEV_INT="eth0" FW_ROUTE="yes" FW_MASQUERADE="yes" FW_MASQ_NETS="192.168.0.0/24" (2) My box is set to 192.168.0.1. The other computer is using win2k with 192.168.0.2/255.255.255.0, Gateway pointing to 192.168.0.1, DNS also to 192.168.0.1 (3) I used Yast2 to make Firewall running on level 5. DSL is connected on my box and everything runs fine, but the client PC(192.168.0.2 ) does not connect to internet. I mainly just wanna home to share one internet connection, no special security protection concerns. Any thoughts from the list? Weihua
* Weihua Sheng;
Hello,
I have SuSE 8.1 installed on my box and tried to make it as a server to share the DSL internet connection with another pc at home. I have done the followings: (1) Installed SuSEFireWall2 on my box using the following setups: FW_DEV_EXT="ppp0" FW_DEV_INT="eth0"
which ethernet is connected to the dsl (as far as I understand from the above it is eth1)
(3) I used Yast2 to make Firewall running on level 5. DSL is connected on my box and everything runs fine, but the client PC(192.168.0.2 ) does not connect to internet.
I mainly just wanna home to share one internet connection, no special security protection concerns. Any thoughts from the list?
check http://sourceforge.net/projects/susefaq for the SuSEfirewall2 manual it should get you going in no time, excluding reading -:) -- Togan Muftuoglu Unofficial SuSE FAQ Maintainer http://dinamizm.ath.cx
On Thu, 2003-05-22 at 14:05, Togan Muftuoglu wrote:
* Weihua Sheng;
on 22 May, 2003 wrote: Hello,
I have SuSE 8.1 installed on my box and tried to make it as a server to share the DSL internet connection with another pc at home. I have done the followings: (1) Installed SuSEFireWall2 on my box using the following setups: FW_DEV_EXT="ppp0" FW_DEV_INT="eth0"
which ethernet is connected to the dsl (as far as I understand from the above it is eth1)
I think "ppp0" is the interface connected to DSL, which I found in kinternet configuration. two more questions about DNS issue in this setup: (1) my dsl provider gives me two DNS IPs to use, but using kinternet to setup DSL does not require that, seems that two default DNSes are there and "it just works". Does SuSE provide it? (2) In the other PC in the home-networking, gateway is pointed to 192.168.0.1. How about DNS? Should I refer to 192.168.0.1 or the default DNS IPs I found in kinternet? Thanks.
* Weihua Sheng;
(1) Installed SuSEFireWall2 on my box using the following setups: FW_DEV_EXT="ppp0" FW_DEV_INT="eth0"
which ethernet is connected to the dsl (as far as I understand from the above it is eth1)
I think "ppp0" is the interface connected to DSL, which I found in kinternet configuration.
First of all unless your ISP is doing weird things (like mine) you are connected via PPPOE (PPP over Ethernet) so you have one ethernet card being used by the connection if this happens to be eth0 than it will be devoted to the DSL connection and whenever you amke a connection there will be a new interface called *ppp0* and packets will move over this virtual connection to ethernet and back to the *ppp0* open an konsole or xterm whatever and type as root /sbin/ip a sh this will show the types of interfaces along with their addresses so my understanding is unless you have two ethernet cards communication is not possible with your home network to your gateway machine
two more questions about DNS issue in this setup: (1) my dsl provider gives me two DNS IPs to use, but using kinternet to setup DSL does not require that, seems that two default DNSes are there and "it just works". Does SuSE provide it?
it is negotiated during the PAP or CHAP prtocol that your ISP is using
(2) In the other PC in the home-networking, gateway is pointed to 192.168.0.1. How about DNS? Should I refer to 192.168.0.1 or the default DNS IPs I found in kinternet?
your LOCAL lan is using the DSL box as the gateway so the internal address of your gateway box should be used in your other LAN machines as the gateway address -- Togan Muftuoglu
participants (2)
-
Togan Muftuoglu
-
Weihua Sheng