LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 03-02-2005, 05:07 PM   #1
yesfixit
LQ Newbie
 
Registered: Feb 2005
Location: US
Distribution: SuSe 9.2 and 10.1
Posts: 26

Rep: Reputation: 15
Unhappy Internet connection sharing on SuSe 9.1 personal ?


Hello everyone,


For last 4 weeks I am reading through almost every posts on this site related to internet connection sharing. I am trying to use my Linux Box as a gateway for my windows 98 box. modem is installed on linux box and both PC are connected using crossover cable on NIC. even though I tried different suggestion to make this happen nothing helped and this is where I am.

I can see the window drives from my linux box using samba. but I cannot ping my windows PC from linux Box. add to my confusion I cannot even ping my isp or a website like yahoo as I always get the message unknown host but my internet connection works. I had tried turning the firewall on linux on/off . also tried different options on firewall set up under etc/system configuration in Yast

I can ping my linux PC from my windows box but I do not see linux box.

I had set the IP address on linux as 192.168.1.1 subnet 255.255.255.0 with IP forwarding ?
I had set the IP address on windows as 192.268.1.2 subnet 255.255.255.0 tried selecting linux box as default gateway
(my linux box is a dual boot system with Win98 and ICS works with out any problem through windows)

now what I am seeking help: has any one using SuSe had achieved what I am trying to /
Do I really have to use NAT , Iptables, and masquedering to achieve this. can I use the built in features on Suse 9.1 to achieve this other than going too much into "editing" " recompiling" and all those good stuff always discussed in our site. The issue I see is when I try to follow instructions for a different distribution on setting this up my suse, wont even respond to 95% of command line instruction I give. !!!!( may be I am too new to command Suse)

All your helps are appreciated in an effort to learn something new everyday

Last edited by yesfixit; 03-02-2005 at 05:10 PM.
 
Old 03-02-2005, 07:13 PM   #2
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 58
You will need a firewall application to set this up,the one that comes with suse or guarddog for kde or firestarter for gnome.
 
Old 03-02-2005, 07:39 PM   #3
yesfixit
LQ Newbie
 
Registered: Feb 2005
Location: US
Distribution: SuSe 9.2 and 10.1
Posts: 26

Original Poster
Rep: Reputation: 15
I do have Suse Firewall2 running. Is that what you mean. But why should I need one. If I prefer not to use it ?
 
Old 03-02-2005, 07:49 PM   #4
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 58
Post /etc/iptables.conf
because you need NAT (a.k.a. IP-masquerading) to share the connection
 
Old 03-02-2005, 11:13 PM   #5
yesfixit
LQ Newbie
 
Registered: Feb 2005
Location: US
Distribution: SuSe 9.2 and 10.1
Posts: 26

Original Poster
Rep: Reputation: 15
Hello comprookie2000,
Thanks for the reply but I cannot locate /etc/iptables.conf did I miss something in package installation or looking at wrong location ? please advice.

Update: now I found the way how I can see my linux box does the ping. So I can ping my windows PC and internet cool but still no hope in connection sharing.

Last edited by yesfixit; 03-02-2005 at 11:37 PM.
 
Old 03-02-2005, 11:18 PM   #6
merize147
Member
 
Registered: Oct 2004
Location: Where ever I put down Lappie
Distribution: Dragged kicking and screaming to RHEL
Posts: 132

Rep: Reputation: 15
configure it in YAST. Find the firewall section.
 
Old 03-02-2005, 11:50 PM   #7
yesfixit
LQ Newbie
 
Registered: Feb 2005
Location: US
Distribution: SuSe 9.2 and 10.1
Posts: 26

Original Poster
Rep: Reputation: 15
I know its too much to ask but can you be little more specific in which area in Yast I will have to focus getting the set up right. Should I choose IP forwarding =yes
 
Old 03-03-2005, 02:00 PM   #8
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 58
Download this GUIDE
Then look here under Firewalling
You want to enable ip_forwarding and NAT (a.k.a. IP-masquerading)
hope that helps
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
internet connection sharing with suse 9.2 kkolo Linux - Networking 4 06-19-2005 07:24 PM
Internet Connection Sharing In SUSE 9.1 Personal with SIngle NIC ikm19 Linux - Networking 4 06-24-2004 11:25 AM
SUSE 8.2 Internet connection sharing Genjix Linux - Networking 1 01-09-2004 09:11 AM
Suse 8.0 Internet Connection Sharing ? cmisip Linux - General 0 11-04-2002 06:05 PM
internet connection sharing with SuSE 8.1 marsonist Linux - Networking 4 10-30-2002 12:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 02:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration