URL access restriction using only iptables

Home Page Forums Network Management Firewall, Traffic Shaping and Net Balancer URL access restriction using only iptables

This topic contains 1 reply, has 0 voices, and was last updated by  r1vver 8 years, 10 months ago.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #42339

    r1vver
    Participant

    Hello.

    I have a question about restricting internet (web) access:

    How to allow access from specific PC in LAN (with fixed ip adress) only to specific sites (URLs) and restrict acces to other sites using only iptables (without proxy)?

    Let me explain:

    For example there are some sites in Internet:
    somesite.com
    another.site.com
    onemoresite.com/forum
    And we have 2 PCs on LAN side of Zeroshell (NAT) with fixed ip 192.168.0.1 and 192.168.0.2
    No Proxy enabled, no Captive Portal enabled.
    I need that user of PC#1 can be able to browse only somesite.com, another.site.com, onemoresite.com/forum
    and user of PC#2 can be able to browse all sites without any restrictions.

    Is it possible and if it’s possible – how to realise such thing?

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.