Starting the long journey: Linux, Server, Router,...
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
Starting the long journey: Linux, Server, Router,...
Hellow!
I recently installed linux on an outdated maschine, to be used as a server/router/firewal...
I have: Cable modem, 1 Linux box, Hub, 2 Workstations and a domain.
I want to have: The workstations connected into the hub, the hub into linux and the linux to the modem. I want the linux to serve as a router for the LAN+ICS, as a server for the domain (Apache, Sendmail, MySQL, PHP, FTP, Shell...) and as a firewall.
Till this day i just installed the Slackware 10.1, compiled the kernel and edited some rc.d scripts, because this is as far as my newbie knowledge of linux can take me.
I am asking for help, as to What to do next? What is the procedure/Where do i start?
Where to look for information on this subject...
google of course! the slackwarebook. again google that.
Quote:
Apache, Sendmail, MySQL, PHP, FTP, Shell...
linux+apache+mysql+php= lamp.
there is lots and lots of stuff about lamp on the web.
the slackware book explains how to set up an ftp server.
are you really sure you want to configure sendmail?? the o'reilly 'sendmail cookbook' might help. but maybe something simpler would be more appropriate. you dont state how you intend to use it. to the outside world?
you'll want to configure iptables of ipfilter for the firewall. making sure to set the appropriate ports for the lamp config.
OK im back. I took satinet's advice and read the Slackware book Secon edition.
Now am setting up the linux box as a firewall/gateway.
I read about 40% of the Iptables Tutorial 1.2.0 since it was the only one a bit up to date. All other/older tutorials whare using ipchains or ipfwadm, and not iptables.
I now compiled my kernel, so it supports IPtables + some other stuff.
Found rc.firewall.txt which is just what i need.
where do i go from here? Do now of a good tutorial that covers bulding a router/firewall/gateway using IPtables on Slackware?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.