SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
As I am not thet good in Linx I like to use it for sharing my internet connection. I have Slack running nicely in here with ADSL connection. It works very good no problem with it. So next step is to connect my internal network (one WinXP) to internet via Linux box. It is for my girly . I use my Linux as file server, SAMBA is working nice(with one user), I have this ProFTP working...
what I have done till now? just searched internet, found this forum, readed few topics... but actualy I do not have a idea how toi start with something like that. what do I need? Where do I start?
kind reagrds
Darek
PS
my next idee is to get rid of this WinXP and instal Linux on it as wel. as this WinXP PC is way more performant, I use it to play games on it, I will try to make few games running on Linux. but there for I fonud here few interesting topics. If I am to stupid to get thru it You will notice it
IPChains is, dare I say it, obsolete. You'll want to set up a masquerading firewall using IPTables (http://www.netfilter.org). There are plenty of documentation linked to from there, and I believe some IPTables frontends will let you set up masquerading in a breeze (will probably still require some manual tweaking though).
You may want to look into NARC (Netfilter Automatic Rules Configurator). I use it at home in exactly the way you describe. Basicly, rather than get down and dirty with all of the IPtables commands, you edit a fairly simple configuration file, run the script, and you're all done.
I'm assuming you realize that you'll need a second network card. All you do is set the internal network to the ETH# that goes to your internal network and the external network to either ETH# or PPP#, if you're using PPPOE ADSL. Good luck, and let us know how it turns out.
Well, the short answer is that NARC is nothing but a script that looks at narc.conf and runs the appropriate firewall commands for you. It's especially nice because it does some fairly advanced stuff that a newb like myself would never think to do, and it's been tested enough that it works almost all of the time. I think the next step is to add a pretty little GUI for X, so that you can set up all of that stuff without editing the conf file. I know that editing files is linux-bread-and-butter, but for people who just want to use the system, a GUI would go a long way towards establishing percieved ease of use.
If you wanted to see exactly what it's doing, read over the script itself, and spend some quality time with the iptables documentation. In other words, RTFM! ;^)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.