Run openVPN together with openclash on your router

Run openVPN together with openclash on your router

  1. First, set up openVPn config *.ovpn, adding a config line, auth-user-pass pass.config which should contain two lines, username and the pass.
  2. Using the existing docker image, curve25519xsalsa20poly1305/docker-openvpn-socks5: Converts OpenVPN connection to SOCKS5 proxy server in Docker.
  3. Set up clash,
    1.  proxies:
       	- name: "socks"
       	  type: socks5
       	  server: server
       	  port: 443
       	  # username: username
       	  # password: password
         rules: - IP-CIDR,10.0.0.0/8,socks # your target```
      
      
      

Pasted image 20240802230352.png