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.
Ok, bare with me here, its been years since I've needed to network computers together, let alone do it with mixed OSs.
Computers involved
Server = Old HP pavilion running Xubuntu (Ubuntu Breezy with XFCE desktop enviroment)
Main = Modern mid range computer dual booted with Windows XP Pro and Ubuntu Breezy
Ok, what I want to do, is turn a old low end computer into a webhost server where I can work on my site without risking breaking my live site. I want to put a second NIC in my main computer and connect the server directly to my main and use my main as a gateway to the net (I don't have a router and want to keep my main connected directly to the modem).
Now the server is going to need internet access as well since its Ubuntu, that shouldn't be any harder than setting up connection sharing in WinXP, but never done that before in Linux.
My questions are:
On the server I will need Apache, MySQL, PHP, phpMyAdmin, and some other stuff, besides that, what will I need to get it to play nicely with my main while its booted into Windows?
How can I give the server internet when my main is booted to linux... pretty sure I remember how to setup my main as a gateway computer when in Windows, but I'm still a linux noob.
Any problems you see with what I'm trying to do? Something not gonna work right? Tips? Comments? I'll take anything right now.
I looked at UBuntu some time ago and was not at all impressed. But, so be it. On the OLD_HP you will need 1) DHCP client for configuration of eth0 NIC, 2) iptables for routine, 3) Samba (CIFS) so windows access is available by MAIN. This way, you only setup one set of firewall rules and can run Linux or WinXP on the MAIN.
The only real issue is the routing rules in the OLD_HP box. You will want to be sure that you have locked down access so that your box is not hacked from the net. Overall however, this is a really simple configuration and should take only a couple of hours to setup.
Yeah, thats what I've decided to do, I'll be using Xubuntu on my old HP and will be using Firestarter for the firewall and Internet sharing.
Not sure what you mean by routing rules... I'm still kinda linux noob. As far as DHCP for Eth0, Ubuntu pretty much configures all that right off the fly and I have internet access as soon as Ubuntu is installed.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.