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.
So I posted last night about my problems getting my icop firewall/router running. I kept toying around with it and I'm slowly making progress. Here's my dilemma.
I have my cable modem hooked up to a netgear router. The router is configured and working...that's how I'm typing this post. I have my firewall (i'll call it ipcop for simplicity sake) hooked up, with two computers being routed off of that. My final goal is to get rid of the netgear router and replace it fully with ipcop. (i tried to draw a picture...yeah I'm not an artist)
Anyways, logged in as root on ipcop, I can ping the internet. As a normal user on box#1 and box#2, I can ping ipcop, I can ping notebook computer, and I can ping the netgear router. I can even access and log onto the netgear router with one of my ipcopped boxes.
My problem arises when trying to access websites. Instead of getting an unknown host error, it's just timing out. The status bar reads "Resolving host gentoo.org..."
I know things are mostly working because I can ping the netgear router. Can somebody help me figure out how to get to websites?
What are you using for the Firewall? iptables, ipchains? Theres probably something wrong with your script. I'm no ipchains expert but I'm sure if you post your script the iptables experts will crawl out of there holes and point out some problems(if there are any).
I embarassed to admit that I'm completely ignorant. I just downloaded ipcop 1.3 and installed it following all of their installation instructions. The thing that really stinks is that ipcop.org seems to no longer exist so I can't find anymore documentation.
I have no idea where to find my iptables/chains scripts. I guess now's a perfect time to learn. Thanks for the help.
hmmm...well I would suggest uninstalling ipcop(especially if they don't exist anymore) and going with a more recent and stable firewall application.
As for turning your box into a router/firewall, you should look for a good iptables tutorial. Do a search on this forum. There are a lot of threads about writing your own script to make your box a router/firewall. Personally, I've found iptables to be somewhat complicated when just starting to use it. I wish I could tell you of an application that can help you configure your box as a router/firewall but I do not know of one. I'm sure someone will recommend one after my post.
IPCOP just released version 1.3 a couple of weeks ago. Their site is back online today. I guess I'll do alittle iptable research and see what I can come up with.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.