Allow certain public IP addresses TOTAL access through IPCOP.

Posted on 2006-04-29
Last Modified: 2010-05-18
Hello everyone,

I would like to configure, through the GUI, IPCOP to allow certain public IP addresses total access to one server.  I would rather not put that server on a DMZ zone, because I only want certain IP addresses to have access, all others should be subject to the firewall rules.

I am new to Linux, but can follow directions very well.  Will need explicit instructions.

Question by:wileavere
    LVL 16

    Expert Comment


    What distrotuion are you using?
    LVL 51

    Accepted Solution

    linux uses iptables as packetfilter firewall, usually
    You simply need following rules:

    iptables -I INPUT 1 -p tcp -s IP1 -j ACCEPT
    iptables -I INPUT 1 -p tcp -s IP2 -j ACCEPT
    # .. and so on ..

    keep in mind that this assumes that your firewall is already configured to allow related output traffic, otherwise you also need

    iptables -I OUTPUT 1 -p tcp -d IP1 -j ACCEPT
    iptables -I OUTPUT 1 -p tcp -d IP2 -j ACCEPT

    I guess that it is not easy to add such simple rules with a GUI :-/
    LVL 17

    Expert Comment

    Use Linux iptables.

    BR Dushan

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Enabling OSINT in Activity Based Intelligence

    Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

    Suggested Solutions

    ​Being a Managed Services Provider (MSP) has presented you  with challenges in the past— and by meeting those challenges you’ve reaped the rewards of success.  In 2014, challenges and rewards remain; but as the Internet and business environment evol…
    BIND is the most widely used Name Server. A Name Server is the one that translates a site name to it's IP address. There is a new bug in BIND (, affecting all versions of BIND 9 from BIND 9.1.0 (inclusive) thro…
    Here's a very brief overview of the methods PRTG Network Monitor ( offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
    Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now