ITADN

OpenVPN tunnels not supported?

#81Closeddomohawk 创建于 2025-01-09
D
domohawkcommented
I'm probably just dumb, but I cannot seem to get microsocks to work with my openvpn tunnel interfaces. I create a vpn tunnel: ``` openvpn --config "$OVPN_FILE" --dev tun_vpn --pull-filter ignore redirect-gateway --auth-user-pass "$AUTH_FILE" --daemon "$DAEMON" ``` ifconfig: ``` tun_vpn: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST> mtu 1500 inet 10.1.0.1 netmask 255.255.0.0 destination 10.1.0.1 ``` start microsocks: ``` microsocks -i 0.0.0.0 -p 1080 -u $USER -P $PASS -b 10.1.0.1 -w 127.0.0.1,192.168.1.10,::1 ``` No microsocks errors, but curl/firefox just hang. with `-b 0.0.0.0` or `-b 192.168.1.10` works just fine with same curl command. I've tried with 2 different vpn providers, and both openvpn tunnels have connectivity with a program that can bind to the tunnel device (`tun_vpn`) directly.
关闭于 2025-01-10 7 条评论