Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
I'm trying to setup a firewall on my home network. Using IPCop.
Install went fine, I'm just having two branches right now, red and green.
On the green network, things seem to be okay, the dhcp server is giving out IP's, and I'm able to ping all the local interfaces (red & green).
I can ping the 192.168.1.1 address which is the Green interface on the server.
I can also ping 192.168.100.1 address which is the cable modem. And I can ping everything else in between.
I can't ping anything external though. Not from the green network, nor can I from the firewall machine itself. I'm pretty sure I have it all setup right though (of course who doesn't), and I've re read the documentation a hand full of times, but I think I'm still missing something.
Perhaps it has something to do with the default gateway? I have it set right now to the cable modem, but maybe there is a differnt IP I should be using instead of 192.168.100.1?
Current config:
Green network-
IP address: 192.168.1.1
Netmask: 255.255.255.0
Red network-
IP address: 192.168.100.50
Netmask: 255.255.255.0
DNS & Gateway
DNS Server: 192.168.100.1
Secondary: 192.168.100.50
Gateway: 192.168.100.1
*I've also tried using 192.168.15.50*
Any help or direction would be greatly appreciated.
And to add, I was looking on google and found someone saying that perhaps the modem needed to be configured to the new mac address, since it was going to a router before hand.
I reset the modem, the new mac address was taken, and also rebooted everything else just to be on the safe side, including the Firewall machine.
can you ping an external IP address? i think that you're having a name resolution issue. i would try to ping 4.2.2.2 which is a public DNS server (sprint server i think). if you were able to ping that IP address or any other pingable ip address on the internet that means that your RED interface is not configured with a DNS server. if you have a cable modem i will configure the RED interface to request an IP address from the cable modem Via dhcp so you'll get the right settings. please put a little diagram for your current network setup and we might be able to help you better.
Thanks so much, I tried your advice of pinging 4.2.2.2. That didn't work. So I followed some more of your advice, and just set it up with dhcp for the RED Network. Low and behold it worked. I thought using an internal IP was what was needed, when in fact I should have put the external. So when I did dhcp and did an ifconfig, it showed it having an external address, and that seemed to be my point of failure. After doign that, I was able to ping 4.2.2.2 and the rest of my network worked great, Many thanks.
But for possible help for others heres my configuration.
Internet from cable company
|
V
Surfboard modem (192.168.100.1)
|
V
IPCop Firewall machine (eth1 - using dhcp from modem - RED Network - External IP from Modem)
| (eth0 - static from server - Green Network - 192.168.1.1)
V
Switch
|
V
Servers and pcs on the 192.168.1.XXX network
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.