internet connection sharing?
Hi I am a newbie running SuSE 8.1 and Win on my desktop at home. I have a USB ADSL internet connection and a network card. My g/f has a laptop running only Win. What do I have to do to enable the connection to be shared by her machine when I an in SuSE (which is whenever Im not playing games ;))? We have done it in Win so we can physically connect. I'm afraid I don't know enough about networking in Linux yet, so helpful hints gratefully appreciated. Andy
On Monday 28 October 2002 1:37 pm, andy@darkfox.co.uk wrote:
Hi
I am a newbie running SuSE 8.1 and Win on my desktop at home. I have a USB ADSL internet connection and a network card. My g/f has a laptop running only Win. What do I have to do to enable the connection to be shared by her machine when I an in SuSE (which is whenever Im not playing games ;))? We have done it in Win so we can physically connect. I'm afraid I don't know enough about networking in Linux yet, so helpful hints gratefully appreciated.
Andy
Andy What I have done with my machines at home is to run SuSE firewall2 on my machine with the USB ADSL connection and configure the firewall to masquarade the ip addresses of local network. I've then set the gateway on the window boxes with the local ip address of the machine with the USB connection. (I hope I'm making sense, here) It works like a charm. Eddie
In a previous message, Eddie wrote:
What do I have to do to enable the connection to be shared by her machine when I an in SuSE What I have done with my machines at home is to run SuSE firewall2
If you can't figure out Firewall2 (or don't have it installed - IIRC it only comes with the Pro version of SuSE), try Shorewall (http://www.shorewall.net/). It's easier to set up and configure (IMO) and has preconfigured setups for 2-interface computers. Read the config instructions and you should only have to change a few lines in the config files. I'm afraid that the linux tools for connection sharing do require editing of config files - there's nothing as easy to set up as the Win programs, but you do get *vastly* more secure systems out of it! HTH, John -- John Pettigrew Headstrong Games john@headstrong-games.co.uk Fun : Strategy : Price http://www.headstrong-games.co.uk/ Board games that won't break the bank Valley of the Kings: ransack an ancient Egyptian tomb but beware of mummies!
* John Pettigrew;
comes with the Pro version of SuSE), try Shorewall (http://www.shorewall.net/). It's easier to set up and configure (IMO) and has preconfigured setups for 2-interface computers. Read the config instructions and you should only have to change a few lines in the config files. I'm afraid that the linux tools for connection sharing do require editing of config files - there's nothing as easy to set up as the Win programs, but you do get *vastly* more secure systems out of it!
Sorry to jump here but there is no such thing as "preconfigured firewall". Security is not IMO click "Yes" click "Accept" type of thing. I just had a look at the www.shorewall.net site especially for the so called preconfigured 2 interface and 3 interface setups. Looks to me there are many files that have to be configured (read edited with a text editor). SuSEfirewall2 has one (1) configuration file you can edited via text editor or via GUI ( YaST2 firewall module) so for Microsoft Windows GUI fans there is a GUI configurator for SuSEfirewall2 along with the explanation. The only thing that shorewall has as an extra benefit is there is a how to document. Yet SuSEfirewall2 has it also now http://prdownloads.sourceforge.net/susefaq/firewall2.pdf?download http://dinamizm.ath.cx/articles/firewall2.pdf ftp://dinamizm.ath.cx/documents/firewall2.pdf Yet IMHO SuSEfirewall2 is easier to setup while allowing real complex configurations. Just my 0.2 ¢ -- Togan Muftuoglu Unofficial SuSE FAQ Maintainer http://dinamizm.ath.cx
In a previous message, Togan Muftuoglu wrote:
Sorry to jump here but there is no such thing as "preconfigured firewall". [snip] Looks to me there are many files that have to be configured (read edited with a text editor).
That's what I said. The setups provided just reduce the amount of editing required and reduce the chances of newbies making mistakes.
SuSEfirewall2 has one (1) configuration file you can edited via text editor or via GUI ( YaST2 firewall module) so for Microsoft Windows GUI fans there is a GUI configurator for SuSEfirewall2 along with the explanation.
But the SuSEfirewall2 "GUI" is appalling. I'm not a complete novice at networking but I couldn't make head or tail of it and utterly failed to get it working. Shorewall, by contrast, is constructed in logical units. There are several files - but each is small and serves an obvious function, which makes it easier to work out what needs doing.
The only thing that shorewall has as an extra benefit is there is a how to document.
The end result is identical - a decent iptables firewall setup. As for tools, it's horses for courses. Shorewall is IMHO much better for those who don't know about iptables. John -- John Pettigrew Headstrong Games john@headstrong-games.co.uk Fun : Strategy : Price http://www.headstrong-games.co.uk/ Board games that won't break the bank Valley of the Kings: ransack an ancient Egyptian tomb but beware of mummies!
* John Pettigrew;
The only thing that shorewall has as an extra benefit is there is a how to document.
The end result is identical - a decent iptables firewall setup. As for tools, it's horses for courses. Shorewall is IMHO much better for those who don't know about iptables.
That these people who paid EUR 1,658.80 should switch to shorewall :-) http://www.suse.de/en/business/products/suse_business/firewall/customer_refe... http://www.suse.de/en/business/products/suse_business/firewall/prices.html -- Togan Muftuoglu Unofficial SuSE FAQ Maintainer http://dinamizm.ath.cx
In a previous message, Togan Muftuoglu wrote:
* John Pettigrew;
on 28 Oct, 2002 wrote: Shorewall is IMHO much better for those who don't know about iptables.
That these people who paid EUR 1,658.80 should switch to shorewall :-)
? Don't get you. Big businesses (I hope) would have professionals who understand the details of the system to run their servers and firewalls. A very different market to the person I was addressing - a user who just wants to be able to set something up easily and quickly to protect their system. Anyhow, I'm not trying to force anyone to like anything - I was just suggesting that someone might find Shorewall easier to set up than SuSEfirewall2. John -- John Pettigrew Headstrong Games john@headstrong-games.co.uk Fun : Strategy : Price http://www.headstrong-games.co.uk/ Board games that won't break the bank Valley of the Kings: ransack an ancient Egyptian tomb but beware of mummies!
Thank you all - I'm now successfully sharing my connection. Pretty straight forward - only 2 things to report: [1] I did decide to use SuSE's firewall in the end, and found it nice and easy - I would recommend this for newbies like myself, although I've not seen the Shorewall product which I'm sure is excellent too. [2] It only started working when I added DNS server entries on the Win machine's ethernet card TCP/IP settings - I used identical entries to the ones I found automatically set up on my Linux machine (the one with the internet connection on it) under domain servers in YAST2. Why is this? And have I done something lame that just happens to work by accident? Again, thanks all Andy On Mon, 2002-10-28 at 16:46, John Pettigrew wrote:
In a previous message, Togan Muftuoglu wrote:
* John Pettigrew;
on 28 Oct, 2002 wrote: Shorewall is IMHO much better for those who don't know about iptables.
That these people who paid EUR 1,658.80 should switch to shorewall :-)
? Don't get you. Big businesses (I hope) would have professionals who understand the details of the system to run their servers and firewalls. A very different market to the person I was addressing - a user who just wants to be able to set something up easily and quickly to protect their system.
Anyhow, I'm not trying to force anyone to like anything - I was just suggesting that someone might find Shorewall easier to set up than SuSEfirewall2.
John -- John Pettigrew Headstrong Games john@headstrong-games.co.uk Fun : Strategy : Price http://www.headstrong-games.co.uk/ Board games that won't break the bank Valley of the Kings: ransack an ancient Egyptian tomb but beware of mummies!
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
On Wednesday 30 October 2002 9:18 am, andy stone wrote:
[2] It only started working when I added DNS server entries on the Win machine's ethernet card TCP/IP settings - I used identical entries to the ones I found automatically set up on my Linux machine (the one with the internet connection on it) under domain servers in YAST2. Why is this? And have I done something lame that just happens to work by accident?
Andy, You broke the code! No one except Tom Eastep of Shorewall fame and John Tapsell who does Masquerading made Simple Howto, will tell you that each client machine must specify the DNS. Like you, I spent an inordinate amount of time finding that out. If you really want to know how things work, read both Tom's and John's Guide/Howto. Tom's is especially clear cause he uses some neat graphics to help you visualize the process. Best of luck, Richard
* andy stone;
[1] I did decide to use SuSE's firewall in the end, and found it nice and easy - I would recommend this for newbies like myself, although I've not seen the Shorewall product which I'm sure is excellent too.
Welcome on board :-)
[2] It only started working when I added DNS server entries on the Win machine's ethernet card TCP/IP settings - I used identical entries to the ones I found automatically set up on my Linux machine (the one with the internet connection on it) under domain servers in YAST2. Why is this? And have I done something lame that just happens to work by accident?
Well Although it is difficult to quess without knowing your config file, I'll take the stab On the firewall machine do you have a DNS server which is basicly forward and caching only ? If no then set that one first, and then for the configuration of other PC's in your local LAN use the ip of the firewall machine as DNS server. This will speed up the querries for example if your firewall machine has a local side ip as 192.168.1.1 then use this as the ip address. HTH -- Togan Muftuoglu Unofficial SuSE FAQ Maintainer http://dinamizm.ath.cx
Eddie wrote:
On Monday 28 October 2002 1:37 pm, andy@darkfox.co.uk wrote:
Hi
I am a newbie running SuSE 8.1 and Win on my desktop at home.
I'm afraid I don't know enough about networking in Linux yet, so helpful hints gratefully appreciated. Perhaps most helpful is how to do it? I am hardly an advanced user and I fould the new version of the SuSE firewall to be very easy to use. In YaST2, choose Security & Users then Firewall. This will give you a very easy setup for the firewall and that will give you
the keyword here the internet connection sharing that you want. Damon Register
participants (7)
-
andy stone
-
andy@darkfox.co.uk
-
Damon Register
-
Eddie
-
John Pettigrew
-
Richard
-
Togan Muftuoglu