Товарищи, здравствуйте!
Ситуация следующая:
Я решил организовать подключение к серверу OpenVPN через обратный Squid прокси.
Однако, при попытке подключения он выдаёт следующее:
TCP connection established with [AF_INET][адрес_proxy]:3127
Send to HTTP proxy: 'CONNECT [openvpn-server]:1194 HTTP/1.0'
Send to HTTP proxy: 'Host: [openvpn-server]'
HTTP proxy returned: 'HTTP/1.1 403 Forbidden'
HTTP proxy returned bad status
SIGUSR1[soft,init_instance] received, process restarting
Ниже привожу конфигурационный файл Squid'а:
# Basic
hosts_file /etc/squid/hosts
forwarded_for off
# ACL Rules
acl SSL_ports port 1194		# OpenVPN
acl SSL_ports port 443		# SSL
acl Safe_ports port 80		# http
acl Safe_ports port 21		# ftp
acl Safe_ports port 443		# https
acl Safe_ports port 70		# gopher
acl Safe_ports port 210		# wais
acl Safe_ports port 1025-65535	# unregistered ports
acl Safe_ports port 280		# http-mgmt
acl Safe_ports port 488		# gss-http
acl Safe_ports port 591		# filemaker
acl Safe_ports port 777		# multiling http
acl Safe_ports port 1194	# OpenVPN
acl CONNECT method CONNECT
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
# Reverse
http_access allow all
http_port 3127
cache_peer [openvpn-server] parent 1194 0 no-query originserver
icp_port 0
Источники:
https://serverfault.com
http://tdkare.ru
Скажите, пожалуйста, где я ошибся? Что и где нужно добавить?
Сразу скажу, что в squid'е я новичок...
Squid: 4.10
Операционная система: Ubuntu 20.04.4
Заранее спасибо!