Announcement

Collapse
No announcement yet.

Block IP Range in Firewall

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Block IP Range in Firewall

    Hello,

    When you want to add an IP range to the firewall, such as: 192.168/16
    it returns 'Invalid IP'

    Manually adding it to: /etc/apf/deny_hosts.rules works, however it wont then show it in the firewall settings page.

    I'm also presuming that if you make changes to the firewall settings, it would overwrite and remove it?

    cheers.
    Ledger Technologies Group Ltd - UK based dynamic group of companies that utilises existing and emerging technologies to provide data solutions for clients globally.
    EverythingWeb.Net Ltd - UK Based Website Hosting, Design & Maintenance.

    The views expressed in the above messsage are purely my own and are in no way official or representative of the companies I represent.

  • #2
    You need all 4 octets in the IP. Try:

    192.168.0.0/16
    Socheat Sou
    InterWorx-CP | http://interworx.com
    InterWorx Control Panel

    Comment

    Working...
    X