Ask Me Help Desk

Ask Me Help Desk (https://www.askmehelpdesk.com/forum.php)
-   Spyware, Viruses, etc. (https://www.askmehelpdesk.com/forumdisplay.php?f=477)
-   -   Ipcop (https://www.askmehelpdesk.com/showthread.php?t=28964)

  • Jul 5, 2006, 07:02 PM
    dazar
    Ipcop
    Hi. I have just installed Ipcop on a second machine, as a firewall between me and the internet. But I can't go any further. :mad:
    I am VERY!! Frustrated. I know NOTHING about Linux.
    I can access the IPCOP computer, but I can't get to the internet, I don't even know if IPCOP is getting to the net?

    a) how can I tell if IPCOP has access to the net?
    And
    b) how do I configure it so that I can surf the net through it?

    Can anyone Help?! ANY help will be greatly appreciated. IPCOP is connected by static IP through an ADSL Router.
  • Jul 6, 2006, 12:43 AM
    LTheobald
    Where's PSI when you need him...

    I think we are a little short of Linux experts on here so I think your best chance is the IPCop support site: http://ipcop.org/modules.php?op=modl...e=IPCopSupport

    There is also this site: http://www.ipcops.com

    Hope that helps
  • Jul 6, 2006, 09:04 PM
    cajalat
    dazar,

    LTheobald's suggestion is a very good suggestion. I've taken a look at that site and they seem to have a fairly complete documentation though I couldn't exactly find the answers to your question. I don't know IPCOP but I do know Linux and I can make a few suggestions for you as practically all of the Linux implementations operate in pretty much the same way. So here are a few things to check:

    You said you have access. Does that mean you have shell access? i.e. can you ssh or telnet to the IPCOP machine and login as root? If so then issue the following commands and report back the output:

    - ifconfig -a

    This will show you each interface's IP configuration and status (up/down)
    Your external interface should be an IP address given by your DSL/Cable modem. Your internal IP addresses will be 192.168.1.1, 192.168.2.1, 192.168.3.1, etc depending on the number of interfaces you have.

    - netstat -rn

    This will show you the current routing table

    - ping each of your interfaces by doing something like this:
    Ping 192.168.1.1
    Ping 192.168.2.1 (hit CTRL-C to stop the pings)

    - ping the gateway which is found in the output of your netstat command.

    If you are successful so far then ping an IP address on the net (4.2.2.1 should return an answer)

    Next you need to check to see if your box is configured to route traffic between your internal and external networks. Do this:

    Cat /proc/sys/net/ipv4

    The output should be 1. If it is 0 then that would explain why your internal network isn't communicating with the outside. To change it permanently to 1 do this:
    Echo 1 > /proc/sys/net/ipv4

    One more thing that just came to my mind as I was typing all of this... how is your network connected and what type of DSL/Cable modem do you have? It might be that your DSL/Cable modem is providing you with an IP address that IPCOP also wants to use on the inside. Or it might be that your external IP is not recognized/routed by your DSL/Cable modem. Also, check to make sure that the red/green connections are connected to the correct networks.

    Hope that helps.

    Casey
  • Jul 7, 2006, 01:07 AM
    dazar
    Thanks for the help.
    I gave up trying to get it to work in the end. And installed smoothwall instead. Smoothwall came with all the manuals and everything. :)
    I have an ADSL modem, connected to smoothwall, connected to a switch and my main computer is running off the switch. I'm going to install Kubuntu on my laptop, which will also connect through the switch. That should give me some experience with Linux. :P
    Thanks again.

  • All times are GMT -7. The time now is 01:04 AM.