UbuntuThis forum is for the discussion of Ubuntu 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.
Ok, here's the thing. I have SuSE 9.3 rurnning as a router and DHCP server, but it has some problems with my monitor (or video card), and I DO need to run an x server there (for some multimedia purposes). However, I didn't see Ubuntu having any problems with my card, so I wanna switch. But I'm still not so good at this (I set up my SuSE using a howto), and I don't want to spend a couple of days with internet only on one computer, and with no phone (I have VoIP)
So what I'm asking is, can anybody tell me how to set up ubuntu as a router and dhcp server or just link me to a page with a howto? I've googled this but found nothing...
Distribution: Fedora, Debian, OpenSuSE and Android
Posts: 1,820
Rep:
Packet routing is handled by iptables, in SuSE and Ubuntu as well. You could copy the firewall configuration from the SuSE box, edit out any SuSE specific nonsense (if any), and use the same firewall script on the Ubuntu box. Or simply use it as a basis to write a new firewall config script if the SuSE one doesn't work properly on Ubuntu.
In Ubuntu there are several GUI-based firewall configurators that can help, although I never recommend creating something as important as a firewall script using a gui, their names are guarddog and firestarter.
As for your DHCP server, again backup the config file for the DHCP server, and install the same server on the Ubuntu box, copying the conf file to the new machine.
It's not exactly rocket science but as it is not a hardware router that has a big "work now" button on it, it can take a bit to set up if you are not familiar with the tools. Once you get started if you get stuck on something search the forum, or post here if you can't find the answer you are looking for.
My experience has been that Ubuntu(aka Debian) tends to be significantly faster on the same hardware when used as a router/server, but your millage may vary.
Thx, I'll try that, but I'm leaving for a whole week now, so I'll try that once I get back!
Just one more question, can u please, tell me the specific path to the conf files? I'm pretty sure I know where they are, just need to be more sure that that's them.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.