rh4d infonethub
Forum Expert
- Joined
- Mar 16, 2018
- Posts
- 2,178
- Reaction
- 15,415
- Points
- 2,164
- Age
- 31
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
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