🔒 Closed How to block unwanted urls and websites on VPN Server via squid conf

Status
Not open for further replies.

rh4d infonethub

Forum Expert
How to block unwanted urls and websites on VPN Server via squid conf

Recommended : Debian / Ubuntu

1. Log in as root then open /etc/squid3/squid.conf

2. Add these lines :

acl bad_url dstdomain "/etc/squid3/bad-sites.acl"
http_access deny bad_url


3. Then go to /etc/squid3/bad-sites.acl and add domains with this format

.google.com
.msn.com
.app. facebook. com


You can add domains as many as you want.

Save !


-rh4d
 
How to block unwanted urls and websites on VPN Server via squid conf

Recommended : Debian / Ubuntu

1. Log in as root then open /etc/squid3/squid.conf

2. Add these lines :

acl bad_url dstdomain "/etc/squid3/bad-sites.acl"
http_access deny bad_url


3. Then go to /etc/squid3/bad-sites.acl and add domains with this format

.google.com
.msn.com
.app. facebook. com


You can add domains as many as you want.

Save !


-rh4d
nice theard boss rh4d 😊
pwd pa hinge autoscript boss.. ocspanel+vps magkasama na.
 
Status
Not open for further replies.

About this Thread

  • 31
    Replies
  • 2K
    Views
  • 25
    Participants
Last reply from:
Dark-sama

Online now

Members online
1,168
Guests online
1,428
Total visitors
2,596

Forum statistics

Threads
2,290,973
Posts
29,067,912
Members
1,211,621
Latest member
hhyvyygyugu
Back
Top