如何使用Clash代理作为前置代理连接OpenVPN?

Post your questions about VPN Gate Academic Experiment Service here. Please answer questions if you can afford.
Post Reply
davidasx
Posts: 3
Joined: Fri Nov 22, 2024 6:20 am

如何使用Clash代理作为前置代理连接OpenVPN?

Post by davidasx » Fri Nov 22, 2024 3:13 pm

由于干扰,OpenVPN协议无法连接(L2TP协议尚可使用),需要配合代理使用。
当前我的模式是这样的:OpenVPN配置文件,由vpngate.net下载,Linux中NetworkManager创建VPN,然后改高级设置,代理socks 127.0.0.1:7897(Clash端口),发现连接超时,但是Clash的连接记录里,确实记录了几次(间断的)和VPN服务器的IP的连接,但是每次流量都很少且很快断线。
我------Clash------代理节点(Trojan协议)------OpenVPN------VPN网关
是否有可能是尝试连接VPN时,使用了VPN通道传输Trojan代理节点的流量,导致成环,最终断线?
我------Clash------OpenVPN------VPN网关------代理节点(Trojan协议)
| |
| |
|-------------------------------------|
之前网上看到过代理套VPN的做法,并没有提到过这种问题。
我认为国外代理节点,连接VPN Gate的网关应该毫无阻碍啊。

Due to interruptions from the GFW, OpenVPN protocols cannot be used here (L2TP protocols can still be used, though) and I have to use it with a proxy.
My current mode is like that: downloaded the OpenVPN config file from this site and created a VPN connection through Linux NetworkManager. Then I changed the Advanced Settings and set proxy to socks 127.0.0.1:7897, which is the port used by Clash. However, it failed with timeout. However, there are intermittent connections with the IP of the VPN server, but each connection was short-lived and transported very few data.
Me------Clash App------Proxy Node(Trojan Protocol)------OpenVPN------VPN Gate
Could it be that the VPN tunnel was used to transmit my data to the Trojan Proxy Node and created a loop, breaking the connection?
Me------Clash App------OpenVPN------VPN Gate------Proxy Node(Trojan Protocol)
| |
| |
|---------------------------------------------|
I once saw tutorials on using a proxy before OpenVPN but they never mentioned such errors.
I believe that overseas proxy nodes shall have no problem connecting with VPN Gate.

Eddie Everest
Posts: 3
Joined: Fri Apr 11, 2025 4:39 pm

Re: 如何使用Clash代理作为前置代理连接OpenVPN?

Post by Eddie Everest » Sun Apr 13, 2025 2:08 am

可以去网上找socks或者http代理当作vpngate的前置代理
但是clash好像不行
要不试一下proton加clash?

Post Reply