❓ Help Squid + Centos 7

Status
Not open for further replies.

bluehawk

Fanatic
Hi, Trinatry ko po i connect squid ko sa openvpn ko kaso lagi nagkaka error. Normal setup lang sa openvpn like other server, pero I'm not good with Squid.
Ito po config ko,
You do not have permission to view the full content of this post. Log in or register now.
Yung title nya squidubuntu pero working din siya sa centos7.
Pacheck naman mga master if alin mali ko.
Running openvpn sa port 81 sa server
Squid sa port 8888

Or if may config po kayo na mas okay. Pa share po. Salamat.
Ps: Not sure if nasa tamang forum ako nagpost, pa move nalang ponif mali. TY.
 
Try mo 'to. Copy-paste sa terminal 2-lines:
Code:
EXT_IP="$(ip -4 addr ls $(ip -4 route ls default | head -1 | cut -d' ' -f5) | head -2 | tail -1 | cut -d' ' -f6 | cut -d'/' -f1)
sed -i "\|acl SSL_ports|aacl Safe_ports port 81 -e  \|http_access deny|ihttp_access allow $EXT_IP" /etc/squid/squid.conf; systemctl restart squid
 
Status
Not open for further replies.

About this Thread

  • 2
    Replies
  • 261
    Views
  • 3
    Participants
Last reply from:
voobl

Trending Topics

Online now

Members online
1,160
Guests online
3,919
Total visitors
5,079

Forum statistics

Threads
2,278,279
Posts
28,982,125
Members
1,228,298
Latest member
HYI
Back
Top