LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 12-10-2006, 09:35 AM   #1
neocontrol
Member
 
Registered: Jul 2005
Posts: 273

Rep: Reputation: 31
IPCop / no outside network connection


Hi Everyone,

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.
 
Old 12-10-2006, 11:03 AM   #2
neocontrol
Member
 
Registered: Jul 2005
Posts: 273

Original Poster
Rep: Reputation: 31
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.

Same results as above.
 
Old 12-10-2006, 01:39 PM   #3
waelaltaqi
Member
 
Registered: Sep 2005
Location: USA, TN
Distribution: CentOS & Ubuntu for Desktop
Posts: 454

Rep: Reputation: 31
DNS settings on on the RED Interfance

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.
 
Old 12-10-2006, 02:19 PM   #4
neocontrol
Member
 
Registered: Jul 2005
Posts: 273

Original Poster
Rep: Reputation: 31
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
 
Old 12-10-2006, 03:20 PM   #5
2damncommon
Senior Member
 
Registered: Feb 2003
Location: Calif, USA
Distribution: PCLINUXOS
Posts: 2,918

Rep: Reputation: 103Reputation: 103
Your green address of 192.168.1.1 is also your default gateway.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How would I go about establishing a VPN connection from IPCop to my server? RZKESP Linux - Networking 2 06-22-2006 09:16 PM
Need IPCop to IpCop VPN assistance Freddde Linux - Networking 1 09-15-2005 02:28 PM
Slackware losing connection to IPCop gateway RaptorSqueak Linux - Networking 4 12-31-2004 11:37 PM
IPcop: How do I open ports for all of the green network? Moses420ca Linux - Networking 0 07-26-2004 01:23 PM
2 network interfaces with IpCop Lonix Linux - Hardware 0 05-12-2004 09:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration