For Debian-based systems execute the following commands:
user@localhost: ~ sudo apt update
Optionally:
user@localhost: ~ sudo apt upgrade
To install the latest version for your distribution you will use the command:
user@localhost: ~ sudo apt install squid
Check if it is running:
user@localhost: ~ systemctl status squid
Access configuration
Configuration file /etc/squid/squid.conf, and also the line ‘include /etc/squid/conf.d/*’ will pull up all the files in the /etc/squid/conf.d/ directory. Subnets from which will be posible access are defined by strings that starts with the keywords “http_access allow …” If there is a line “http_access allow localnet” then the localnet definishion should be above.
...
acl localnet src 10.0.0.0/8
acl localnet src 172.16.0.0/12
...
Each such line will add its entry to the list of localnet networks
To prohibit downloading files by extension *.exe, *.bat, *.cmd, *.avi for connections not protected with https. To the /etc/squid/squid.conf file add a string like this:
acl my_blacklist url_regex "/etc/squid/ext_blacklist"
http_access deny my_blacklist
Create file /etc/squid/ext_blacklist:
user@localhost: ~ sudo nano /etc/squid/ext_blacklist
Add regular expressions:
\.[Ee][Xx][Ee]$
\.[Bb][Aa][Tt]$
\.[Cc][Mm][Dd]$
\.[Aa][Vv][Ii]
To access from our subnet we need to open port 3128in the firewall <MY_LOCAL_NET> (for example: 192.168.1.0/24 ). In case of firewalld we need to execute commands:
user@localhost: ~ sudo firewall-cmd --zone work -add-source <MY_LOCAL_NET>
user@localhost: ~ sudo firewall-cmd --zone work --add-port=3128/tcp
user@localhost: ~ sudo firewall-cmd --runtime-to-permanent
For iptables before prohibited rules you need to insert a line: (Strongly depends on existing rules, and before adding review already existing rules using the following command: iptables -nvL –line ):
user@localhost: ~ sudo iptables -I INPUT 3 -s <MY_LOCAL_NET> -p tcp --dport 3128 -j ACCEPT
For nftables you need to insert in the /etc/nftables.conf file before prohibited rules line like this:
ip saddr <<MY_LOCAL_NET> tcp dport 3128 accept
Important:
If you are logged in as root superuser then the command sudo (temporary acquisition of the superuser rights) will not be needed
what is ivermectin: ivermectin dose for scabies in humans – IverCare Pharmacy
Jiliko slots: Jiliko casino – Jiliko casino
Abutogel login: Situs togel online terpercaya – Abutogel
https://betawinindo.top/# Promo slot gacor hari ini
Jackpot togel hari ini: Link alternatif Abutogel – Bandar togel resmi Indonesia
Situs judi resmi berlisensi Situs judi resmi berlisensi Live casino Mandiribet
Abutogel login: Jackpot togel hari ini – Abutogel login
Slot jackpot terbesar Indonesia: Situs judi online terpercaya Indonesia – Mandiribet
Slot game d?i thu?ng: Trò choi n? hu GK88 – Trò choi n? hu GK88
Mandiribet: Slot gacor hari ini – Slot jackpot terbesar Indonesia
Beta138 Withdraw cepat Beta138 Bonus new member 100% Beta138
jollibet app: Online betting Philippines – jollibet casino
Abutogel: Situs togel online terpercaya – Bandar togel resmi Indonesia
Abutogel login: Jackpot togel hari ini – Bandar togel resmi Indonesia
https://swertewin.life/# Swerte99
1winphili: Jollibet online sabong – Online casino Jollibet Philippines
Ca cu?c tr?c tuy?n GK88 Slot game d?i thu?ng Dang ky GK88
Canli krupyerl? oyunlar: Canli krupyerl? oyunlar – Canli krupyerl? oyunlar
Mandiribet: Mandiribet login – Situs judi resmi berlisensi
Jackpot togel hari ini: Situs togel online terpercaya – Bandar togel resmi Indonesia
Onlayn rulet v? blackjack: Pinco kazino – Uduslari tez çixar Pinco il?
Abutogel login Abutogel login Bandar togel resmi Indonesia
Swerte99 app: Swerte99 slots – Swerte99 login
https://gkwinviet.company/# Khuy?n mai GK88
Bandar togel resmi Indonesia: Bandar togel resmi Indonesia – Link alternatif Abutogel
Bandar bola resmi: Beta138 – Promo slot gacor hari ini
Swerte99 login: Swerte99 online gaming Pilipinas – Swerte99 login
Live casino Indonesia Bonus new member 100% Beta138 Bonus new member 100% Beta138
Cá cu?c tr?c tuy?n GK88: Ðang ký GK88 – GK88
Link alternatif Mandiribet: Mandiribet – Link alternatif Mandiribet
Canl? krupyerl? oyunlar: Onlayn rulet v? blackjack – Slot oyunlar? Pinco-da
jollibet Online casino Jollibet Philippines jollibet app
Withdraw cepat Beta138: Live casino Indonesia – Slot gacor Beta138
Jiliko app: maglaro ng Jiliko online sa Pilipinas – Jiliko app
https://gkwinviet.company/# Nha cai uy tin Vi?t Nam
Online casino Jollibet Philippines: jollibet – Jollibet online sabong
Abutogel login: Link alternatif Abutogel – Situs togel online terpercaya
Nha cai uy tin Vi?t Nam Link vao GK88 m?i nh?t Khuy?n mai GK88
Ca cu?c tr?c tuy?n GK88: Nha cai uy tin Vi?t Nam – Ca cu?c tr?c tuy?n GK88
Swerte99 casino: Swerte99 bonus – Swerte99 casino
Link alternatif Abutogel: Situs togel online terpercaya – Abutogel login
jollibet casino jollibet casino Jollibet online sabong
Yeni az?rbaycan kazino sayt?: Onlayn rulet v? blackjack – Slot oyunlar? Pinco-da
Live casino Mandiribet: Mandiribet – Live casino Mandiribet
https://mandiwinindo.site/# Slot gacor hari ini
Online gambling platform Jollibet: jollibet login – 1winphili
Online casino Jollibet Philippines: jollibet casino – jollibet login
Live casino Indonesia: Live casino Indonesia – Bandar bola resmi
Live casino Indonesia Beta138 Link alternatif Beta138
MediDirect USA: MediDirect USA – MediDirect USA
Mexican Pharmacy Hub: mexican rx online – Mexican Pharmacy Hub
MediDirect USA: g and e pharmacy edmonton store hours – MediDirect USA
http://mexicanpharmacyhub.com/# Mexican Pharmacy Hub
MediDirect USA best online pharmacy wellbutrin best drug store primer
loratadine pharmacy choice: MediDirect USA – revia online pharmacy
MediDirect USA: MediDirect USA – MediDirect USA
Mexican Pharmacy Hub: rybelsus from mexican pharmacy – order from mexican pharmacy online
Mexican Pharmacy Hub: buy from mexico pharmacy – amoxicillin mexico online pharmacy
MediDirect USA online pharmacy finasteride cheap pharmacy no prescription
mexican border pharmacies shipping to usa: mexican rx online – Mexican Pharmacy Hub
Mexican Pharmacy Hub: Mexican Pharmacy Hub – zithromax mexican pharmacy
http://medidirectusa.com/# MediDirect USA
Online medicine order: top 10 online pharmacy in india – buy prescription drugs from india
Mexican Pharmacy Hub: mexico drug stores pharmacies – best online pharmacies in mexico
MediDirect USA MediDirect USA MediDirect USA
generic lipitor online pharmacy: clomid online pharmacy uk – MediDirect USA
buy antibiotics from mexico: Mexican Pharmacy Hub – buy antibiotics over the counter in mexico
montelukast pharmacy: pharmacy discount – diovan pharmacy
http://mexicanpharmacyhub.com/# buying prescription drugs in mexico online
cialis pharmacy australia: pom pharmacy viagra – pharmacy live ce online
Indian Meds One Indian Meds One Indian Meds One
indian pharmacy: top 10 pharmacies in india – online shopping pharmacy india
cheapest online pharmacy india: Indian Meds One – top 10 online pharmacy in india
sildenafil mexico online: mexican pharmacy for americans – buy cheap meds from a mexican pharmacy
Indian Meds One: Indian Meds One – indianpharmacy com
Mexican Pharmacy Hub Mexican Pharmacy Hub Mexican Pharmacy Hub
MediDirect USA: online pharmacy exelon patch – MediDirect USA
buy cheap meds from a mexican pharmacy: order kamagra from mexican pharmacy – Mexican Pharmacy Hub
MediDirect USA: nps online pharmacy – lexapro online pharmacy
synthroid people’s pharmacy: best online pharmacy to get viagra – online pharmacy ambien generic
Indian Meds One Indian Meds One india pharmacy
dextroamphetamine online pharmacy: MediDirect USA – MediDirect USA
MediDirect USA: MediDirect USA – Aebgpaype
MediDirect USA: pharmacy online shopping usa – cheap medications
Indian Meds One: Indian Meds One – Indian Meds One
world pharmacy india: Indian Meds One – india pharmacy mail order
order azithromycin mexico buy modafinil from mexico no rx Mexican Pharmacy Hub
https://indianmedsone.shop/# Indian Meds One
mexican drugstore online: Mexican Pharmacy Hub – best mexican online pharmacies
best india pharmacy: indian pharmacy online – Indian Meds One
online pharmacy usa: Himplasia – MediDirect USA
Mexican Pharmacy Hub Mexican Pharmacy Hub order from mexican pharmacy online
Safe access to generic ED medication: Non-prescription ED tablets discreetly shipped – Sildenafil oral jelly fast absorption effect
india viagra generic: SildenaPeak – SildenaPeak
Men’s sexual health solutions online: Compare Kamagra with branded alternatives – ED treatment without doctor visits
https://tadalify.com/# cialis w/o perscription
Safe access to generic ED medication: Kamagra oral jelly USA availability – Men’s sexual health solutions online
generic viagra where to buy: buy viagra with paypal – SildenaPeak
Compare Kamagra with branded alternatives Men’s sexual health solutions online ED treatment without doctor visits
SildenaPeak: cheap rx sildenafil – where can you buy viagra in australia
Compare Kamagra with branded alternatives: Non-prescription ED tablets discreetly shipped – ED treatment without doctor visits
viagra over the counter: viagra uk order – SildenaPeak
prescription free cialis tadalafil 20mg (generic equivalent to cialis) generic cialis
https://sildenapeak.shop/# SildenaPeak
Tadalify: Tadalify – Tadalify
Tadalify: cialis soft tabs – cialis definition
SildenaPeak: viagra online using paypal – SildenaPeak
Non-prescription ED tablets discreetly shipped Sildenafil oral jelly fast absorption effect Safe access to generic ED medication
Tadalify: how much does cialis cost at cvs – where to get free samples of cialis
KamaMeds: Affordable sildenafil citrate tablets for men – Fast-acting ED solution with discreet packaging
sildenafil 48 tabs 50 mg price: how does viagra work – SildenaPeak
https://sildenapeak.com/# sildenafil tablets where to buy
SildenaPeak SildenaPeak SildenaPeak
Tadalify: cialis results – cialis windsor canada
Tadalify: cialis professional ingredients – Tadalify
Fast-acting ED solution with discreet packaging: Compare Kamagra with branded alternatives – Online sources for Kamagra in the United States
SildenaPeak: sildenafil 10 mg india – SildenaPeak
Tadalify cialis over the counter at walmart Tadalify
Safe access to generic ED medication: KamaMeds – Sildenafil oral jelly fast absorption effect
Tadalify: cialis as generic – Tadalify
https://tadalify.com/# cialis 5mg 10mg no prescription
where to get free samples of cialis: price comparison tadalafil – free cialis samples
cialis cheapest prices Tadalify Tadalify
SildenaPeak: SildenaPeak – sildenafil tablets 100mg buy
cialis otc 2016: over the counter cialis walgreens – cialis tablets for sell
Online sources for Kamagra in the United States: ED treatment without doctor visits – Men’s sexual health solutions online
buy generic cialis online: buy cialis/canada – Tadalify
Sildenafil oral jelly fast absorption effect ED treatment without doctor visits Online sources for Kamagra in the United States
Tadalify: Tadalify – Tadalify
https://tadalify.com/# Tadalify
Safe access to generic ED medication: ED treatment without doctor visits – Men’s sexual health solutions online
Tadalify: when is the best time to take cialis – Tadalify
can i buy viagra online in canada: cheap viagra pills online – canada drug pharmacy viagra
Affordable sildenafil citrate tablets for men KamaMeds KamaMeds
Tadalify: Tadalify – how long does it take for cialis to take effect
Fast-acting ED solution with discreet packaging: KamaMeds – ED treatment without doctor visits
Tadalify: Tadalify – buying cialis in mexico
https://kamameds.shop/# Affordable sildenafil citrate tablets for men
Kamagra reviews from US customers: KamaMeds – Sildenafil oral jelly fast absorption effect
Kamagra oral jelly USA availability Sildenafil oral jelly fast absorption effect Sildenafil oral jelly fast absorption effect
Online sources for Kamagra in the United States: Sildenafil oral jelly fast absorption effect – Affordable sildenafil citrate tablets for men
Affordable sildenafil citrate tablets for men: Safe access to generic ED medication – Compare Kamagra with branded alternatives
free cialis samples: Tadalify – tadalafil brand name
SildenaPeak viagra pills online south africa brand viagra
SildenaPeak: SildenaPeak – order sildenafil online usa
SildenaPeak: SildenaPeak – how much is viagra in mexico
Sildenafil oral jelly fast absorption effect: Non-prescription ED tablets discreetly shipped – Kamagra oral jelly USA availability
http://tadalify.com/# Tadalify
Tadalify Tadalify Tadalify
how to get viagra prescription in australia: SildenaPeak – SildenaPeak
cialis pills for sale: active ingredient in cialis – Tadalify
SildenaPeak: SildenaPeak – sildenafil tablets online in india
viagra 100 coupon where can i buy viagra cheap buy viagra cheap online uk
sildenafil 100mg usa: cheap viagra with prescription – SildenaPeak
Non-prescription ED tablets discreetly shipped: ED treatment without doctor visits – Non-prescription ED tablets discreetly shipped
Online sources for Kamagra in the United States: Men’s sexual health solutions online – Kamagra reviews from US customers
https://tadalify.shop/# Tadalify
cialis generico: Tadalify – Tadalify
Tadalify: cialis where to buy in las vegas nv – Tadalify
KamaMeds: Online sources for Kamagra in the United States – Affordable sildenafil citrate tablets for men
buy viagra online mastercard best viagra coupon generic sildenafil 92630
SildenaPeak: viagra 100mg cost canada – SildenaPeak
https://sildenapeak.shop/# SildenaPeak
SildenaPeak: female viagra cream – where to buy viagra online safely
how long does cialis last 20 mg: Tadalify – how long does cialis take to work
lasix pills CardioMeds Express CardioMeds Express
where buy clomid without a prescription: where buy cheap clomid without insurance – FertiCare Online
where can i buy cheap clomid without a prescription: cost of clomid without a prescription – can i get cheap clomid now
lasix 40 mg: furosemide 40 mg – lasix 40mg
buy lasix online: CardioMeds Express – lasix
can i order generic clomid FertiCare Online FertiCare Online
SteroidCare Pharmacy: prednisone 30 mg coupon – prednisone 10 mg tablet cost
SteroidCare Pharmacy: SteroidCare Pharmacy – SteroidCare Pharmacy
TrustedMeds Direct: amoxicillin pills 500 mg – amoxicillin pharmacy price
lasix generic: furosemida 40 mg – CardioMeds Express
FertiCare Online: FertiCare Online – where to buy clomid no prescription
ivermectin praziquantel for dogs: IverGrove – ivermectin for lyme
how to buy amoxicillin online: TrustedMeds Direct – generic amoxicillin
https://ivergrove.com/# ivermectin american journal of therapeutics
CardioMeds Express: CardioMeds Express – CardioMeds Express
TrustedMeds Direct: TrustedMeds Direct – TrustedMeds Direct
SteroidCare Pharmacy: SteroidCare Pharmacy – SteroidCare Pharmacy
order clomid without rx: where can i buy generic clomid now – FertiCare Online
IverGrove: ivermectin dosage for cats ear mites – IverGrove
SteroidCare Pharmacy: prednisone over the counter south africa – online prednisone