internet sharingForum: Networking Topic: internet sharing started by: jls legalize Posted by jls legalize on April 11 2005,23:11
I have 1 eth card connected to the adsl modem and another pc connected to the other eth card.How can I surf the internet with the 2nd pc? Posted by AwPhuch on April 12 2005,18:15
Use < SmoothWall Express 2.0 >Brian AwPhuch Posted by codestorm on April 12 2005,22:05
...assuming you don't want to use the computer with the 2 network cards as well.Otherwise, get cosy with iptables. Posted by jls legalize on April 12 2005,23:25
I also want to surf with the one with 2 network cards. I would like to keep using damnsmalllinux (frugal).
Posted by Waterns on April 15 2005,22:03
Ok lets make this simple. For the PC that is connected to the adsl modem set the IP setup like so: (NIC hooked up to the modem) Use DHCP. It should autoconfigure it. (NIC connecting the two PCs.) IP: 192.168.0.1 Subnet: 255.255.255.0 Gateway: Make it blank. The second PC: (NIC only one i am assuming) IP: 192.168.0.4 (this can be anything theroretically except 192.168.0.10 but 192.168.0.2 will work) Subnet: 255.255.255.0 Gateway: 192.168.0.1 Thats should cover it. This configuration also works for WinXP but there you can make it through wizards. Posted by noordinaryspider on April 16 2005,14:13
Is it as simple as this to share a dial-up connection as well?Can I do it while running 192.168.0.1 off of CD? Posted by gjhicks on May 02 2005,05:05
Hi,Am also about to attempt sharing a DSL internet connection with my home lan. Main reason is to try and put in some content filtering for the kids. Have read a number of posts about internet sharing, 2 NICs in one PC, NAT, DHCP, etc and (I hope!) reckon I can get these bits to work. I noticed that AwPhuch (alias Brian) notes his red, orange and green connections. I also gather that he uses smoothwall. So, if possible, could AwPhuch post some of the details of how he set it up? Secondly, after trawling around the net, I have found a few linux content filters and it seems (to probably ignorant me) that one called 'privoxy' appears to be OK. I would greatly like to hear others opinions of this packages - or any other packages that would be better. Lastly, have also stumbled across a EU sponsored project for content filtering, specifically images, called 'poesia', the home web page is < here. > Has anyone tried this filter? Once completed, I would be more than happy to share my experience at setting up the content filtered, shared internet with the group. Thanks, Geoff. Posted by Waterns on May 02 2005,14:34
Yes. The computer considers a internet connection regardless of type (dailup, dsl, cable) a internet connection. You just have to apply some common sense and think. Posted by gjhicks on May 06 2005,11:52
"IP: 192.168.0.4 (this can be anything theroretically except 192.168.0.10 but 192.168.0.2 will work)"Excuse my ignorance but why can it not be 192.168.0.10? Posted by AwPhuch on May 06 2005,16:25
I believe if you tweak the rcfirewall.dsl you can tell it to do internet sharing with a simple firewall as wellAlso I use a pre-built, ready to run firewall/gateway product called < SmoothWall Express 2.0 > which does about 99% of the work for you, and will run on comparable hardware (however it makes it a dedicated firewall) [oh and with a few of the MODS there, you can do dang near anything you want with it (dansguardian, guardian, dshield, full firewall control just to name a few)] Brian AwPhuch Posted by gjhicks on May 09 2005,00:37
Thanks for the tips.I had a look at SmoothWall Express and it seems a great solution. However, unless I am missing something (which is always possible!) it appears that it can only be installed by re-formatting the whole hard disk. This seems a bit over the top for an iso of less than 50mb? Do you know if it is possible to install it to an existing partition? Regards, Geoff. |