
Ich habe eine Windows-Maschine mit einem Squid-Server und einer VPN-Client-Verbindung (die nicht das Standard-Gateway ist).
Ich möchte einen Teil des Datenverkehrs von Squid auf meine Standard-Ethernet-Verbindung und einen anderen Teil auf VPN umleiten.
Ethernet adapter Ethernet:
Connection-specific DNS Suffix . :
IPv4 Address. . . . . . . . . . . : 192.168.100.11
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.100.1
PPP adapter vpn_conn:
Connection-specific DNS Suffix . :
IPv4 Address. . . . . . . . . . . : 172.16.3.33
Subnet Mask . . . . . . . . . . . : 255.255.255.255
Default Gateway . . . . . . . . . :
Tintenfisch-Konf
http_port 2003
acl user3_acl myport 2003
tcp_outgoing_address 172.16.3.33 user3_acl
http_port 2004
acl user4_acl myport 2004
Der 2004-Port funktioniert wie erwartet über meinen Ethernet-Adapter, aber die Umleitung zum VPN funktioniert nicht.
Das Protokoll enthält
1638648992.630 75 33.33.333.333 NONE/503 0 CONNECT docs.microsoft.com:443 - HIER_NONE/- -
Ich habe es geschafft, das zu beheben mit
route add 0.0.0.0 mask 0.0.0.0 172.16.3.33
Kann jemand erklären, wie es funktioniert?