Setting Up Domain-Based Policy Routing & Split Tunneling on VPN Server
Suppose we have two VPN servers: one located in Hong Kong and another in the United States. The HK server runs OpenConnect VPN, which is very effective to bypass the Great Firewall of China. HK server and US server are connected over WireGuard VPN tunnel. What we want to achieve is default traffic from VPN clients in China Mainland goes through the HK VPN and specific domains go through the US VPN, so you can have access to Google Gemini and ChatGPT. Desired behavior Default traffic: OpenConnect Client –> HK VPS(ocserv) –> HK Internet Specific domains: (chatgpt.com gemini.google.com play.google.com truthsocial.com,…
https://www.linuxbabe.com/linux-server/setting-up-domain-based-policy-routing-split-tunneling-on-vpn-server










