Need help setting up Linux router - will pay or trade

tuprox

Member
Apr 3, 2012
63
0
61
I've been stuck on a project for some time now. I want to create a router from an Ubuntu 10.04 install and I know the basics but I'm kind of stuck making sure that it is a DHCP and DNS server and assigning the internal LAN address/info in /etc/network/interfaces. I don't think this will take too long to do as most of it is ready to go. I'd like to find someone here that knows how to do this and I would like to watch while you do it via a remote support app (like Teamviewer).

I know there are distros like untangle, pFsense and others but I have my reasons for doing it this way. I can prep whatever is needed before you connect to do your voodoo.

I also want to install and setup squid and maybe Dan'sguardian to test them out but I think I can handle those as I already installed them on another system but never configured them. I'm also using Webmin if that matters.

So, if you are interested please PM me with your rates. I have a for sale page and would be happy to trade as well or give you something like an Intel Pro dual gigabit PCI-e NIC, 500GB SATAII drives or whatever you like within reason.

Here is a link to my forsale stuff
http://forums.anandtech.com/subscription.php?do=viewsubscription

If you reply, please let me know if you have setup a linux router before, I don't want to pay for someone to learn while they are tinkering.
 

MrColin

Platinum Member
May 21, 2003
2,403
3
81
I've got one of those. You can get the dhcp and dns from dnsmasq and the nat/masqerading from iptables. The default /etc/dnsmasq.conf has a lot of comments that make it pretty self explanatory. If you google you can find lots of examples of the rules for iptables.
 

kornphlake

Golden Member
Dec 30, 2003
1,567
9
81
I've got an 8.04 box setup as a router with dansguardian and squid. I can't recall what voodoo was required to get it running properly 3 years ago so I won't offer to set it up for you. I do remember it wasn't as simple as the various wikis, blogs and forum posts made it sound. Every guide, it seemed, was missing one or two vital steps. If you'd like copies of any of my configuration files I can probably be some help, but you'll have to specify which files you need and you'll probably have to modify the configuration for your network.

For me the key to getting LAN traffic to operate on eth2 and WAN traffic to operate on eth3 was bridging eth2 and eth3, as I recall I used the firestarter GUI after several failed attempts to manually configure iptables. Getting squid/dansguardian to play with firestarter was another challenge, I had to manually add some rules in the pre-routing, then some more rules for VPN connections and some more rules to route traffic from blue ray player around squid because it didn't like the proxy for some reason. I wish I could say I understand 1/2 of what the rules do or what they mean but honestly I just copied them from some how-to and modified them sightly if the rule included a specific IP or MAC address.