State changed to Disconnecting (Manual)
Posted: Fri Sep 10, 2021 12:19 am
Hello,
I followed the official guides from the knowledge base to set up an OpenVPN server with Obfsproxy to use with Viscosity.
When I connect using the regular configuration, it works great. However, when I try to use the configuration with Obfsproxy, it hangs at "Connecting...", and the logs repeat itself.
Here are the logs:
Obfsproxy:
I followed the official guides from the knowledge base to set up an OpenVPN server with Obfsproxy to use with Viscosity.
When I connect using the regular configuration, it works great. However, when I try to use the configuration with Obfsproxy, it hangs at "Connecting...", and the logs repeat itself.
Here are the logs:
Code: Select all
In addition, I have included the logs for OpenVPN and Obfsproxy (though they don't seem to be very useful):2021-09-09 17:24:55: Viscosity Mac 1.9.4 (1578)
2021-09-09 17:24:55: Viscosity OpenVPN Engine Started
2021-09-09 17:24:55: Running on macOS 11.4.0
2021-09-09 17:24:55: ---------
2021-09-09 17:24:55: State changed to Connecting
2021-09-09 17:24:55: Checking reachability status of connection...
2021-09-09 17:24:55: Connection is reachable. Starting connection attempt.
2021-09-09 17:24:55: OpenVPN 2.4.11 x86_64-apple-darwin [SSL (OpenSSL)] [LZO] [LZ4] [PKCS11] [MH/RECVDA] [AEAD] built on Aug 26 2021
2021-09-09 17:24:55: library versions: OpenSSL 1.1.1l 24 Aug 2021, LZO 2.10
2021-09-09 17:24:55: Valid endpoint found: 188.166.147.244:80:tcp-client
2021-09-09 17:24:55: WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
2021-09-09 17:24:55: TCP/UDP: Preserving recently used remote address: [AF_INET]127.0.0.1:56093
2021-09-09 17:24:55: Attempting to establish TCP connection with [AF_INET]127.0.0.1:56093 [nonblock]
2021-09-09 17:24:56: TCP connection established with [AF_INET]127.0.0.1:56093
2021-09-09 17:25:08: TCP_CLIENT link local: (not bound)
2021-09-09 17:25:08: TCP_CLIENT link remote: [AF_INET]127.0.0.1:56093
2021-09-09 17:25:08: Connection reset, restarting [0]
2021-09-09 17:25:08: SIGUSR1[soft,connection-reset] received, process restarting
2021-09-09 17:25:08: Valid endpoint found: 188.166.147.244:80:tcp-client
2021-09-09 17:25:08: WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
2021-09-09 17:25:08: TCP/UDP: Preserving recently used remote address: [AF_INET]127.0.0.1:56093
2021-09-09 17:25:08: Attempting to establish TCP connection with [AF_INET]127.0.0.1:56093 [nonblock]
2021-09-09 17:25:09: TCP connection established with [AF_INET]127.0.0.1:56093
2021-09-09 17:25:21: TCP_CLIENT link local: (not bound)
2021-09-09 17:25:21: TCP_CLIENT link remote: [AF_INET]127.0.0.1:56093
2021-09-09 17:25:21: Connection reset, restarting [0]
2021-09-09 17:25:21: SIGUSR1[soft,connection-reset] received, process restarting
2021-09-09 17:25:21: Valid endpoint found: 188.166.147.244:80:tcp-client
2021-09-09 17:25:21: WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
2021-09-09 17:25:21: TCP/UDP: Preserving recently used remote address: [AF_INET]127.0.0.1:56093
2021-09-09 17:25:21: Attempting to establish TCP connection with [AF_INET]127.0.0.1:56093 [nonblock]
2021-09-09 17:25:22: TCP connection established with [AF_INET]127.0.0.1:56093
2021-09-09 17:25:33: TCP_CLIENT link local: (not bound)
2021-09-09 17:25:33: TCP_CLIENT link remote: [AF_INET]127.0.0.1:56093
2021-09-09 17:25:33: Connection reset, restarting [0]
2021-09-09 17:25:33: SIGUSR1[soft,connection-reset] received, process restarting
2021-09-09 17:25:33: Valid endpoint found: 188.166.147.244:80:tcp-client
2021-09-09 17:25:33: WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
2021-09-09 17:25:33: TCP/UDP: Preserving recently used remote address: [AF_INET]127.0.0.1:56093
2021-09-09 17:25:33: Attempting to establish TCP connection with [AF_INET]127.0.0.1:56093 [nonblock]
2021-09-09 17:25:34: TCP connection established with [AF_INET]127.0.0.1:56093
2021-09-09 17:25:34: TCP_CLIENT link local: (not bound)
2021-09-09 17:25:34: TCP_CLIENT link remote: [AF_INET]127.0.0.1:56093
2021-09-09 17:25:34: Connection reset, restarting [0]
2021-09-09 17:25:34: SIGUSR1[soft,connection-reset] received, process restarting
2021-09-09 17:25:35: Valid endpoint found: 188.166.147.244:80:tcp-client
2021-09-09 17:25:35: WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
2021-09-09 17:25:35: TCP/UDP: Preserving recently used remote address: [AF_INET]127.0.0.1:56093
2021-09-09 17:25:35: Attempting to establish TCP connection with [AF_INET]127.0.0.1:56093 [nonblock]
2021-09-09 17:25:36: TCP connection established with [AF_INET]127.0.0.1:56093
2021-09-09 17:25:47: TCP_CLIENT link local: (not bound)
2021-09-09 17:25:47: TCP_CLIENT link remote: [AF_INET]127.0.0.1:56093
2021-09-09 17:25:47: Connection reset, restarting [0]
2021-09-09 17:25:47: SIGUSR1[soft,connection-reset] received, process restarting
2021-09-09 17:25:47: Valid endpoint found: 188.166.147.244:80:tcp-client
2021-09-09 17:25:47: WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
2021-09-09 17:25:47: TCP/UDP: Preserving recently used remote address: [AF_INET]127.0.0.1:56093
2021-09-09 17:25:47: Attempting to establish TCP connection with [AF_INET]127.0.0.1:56093 [nonblock]
2021-09-09 17:25:48: TCP connection established with [AF_INET]127.0.0.1:56093
2021-09-09 17:25:55: TCP_CLIENT link local: (not bound)
2021-09-09 17:25:55: TCP_CLIENT link remote: [AF_INET]127.0.0.1:56093
2021-09-09 17:25:55: Connection reset, restarting [0]
2021-09-09 17:25:55: SIGUSR1[soft,connection-reset] received, process restarting
2021-09-09 17:25:55: Valid endpoint found: 188.166.147.244:80:tcp-client
2021-09-09 17:25:55: WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
2021-09-09 17:25:55: TCP/UDP: Preserving recently used remote address: [AF_INET]127.0.0.1:56093
2021-09-09 17:25:55: Attempting to establish TCP connection with [AF_INET]127.0.0.1:56093 [nonblock]
2021-09-09 17:25:56: TCP connection established with [AF_INET]127.0.0.1:56093
2021-09-09 17:26:05: TCP_CLIENT link local: (not bound)
2021-09-09 17:26:05: TCP_CLIENT link remote: [AF_INET]127.0.0.1:56093
2021-09-09 17:26:05: Connection reset, restarting [0]
2021-09-09 17:26:05: SIGUSR1[soft,connection-reset] received, process restarting
2021-09-09 17:26:05: Valid endpoint found: 188.166.147.244:80:tcp-client
2021-09-09 17:26:05: WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
2021-09-09 17:26:05: TCP/UDP: Preserving recently used remote address: [AF_INET]127.0.0.1:56093
2021-09-09 17:26:05: Attempting to establish TCP connection with [AF_INET]127.0.0.1:56093 [nonblock]
2021-09-09 17:26:06: TCP connection established with [AF_INET]127.0.0.1:56093
2021-09-09 17:26:08: TCP_CLIENT link local: (not bound)
2021-09-09 17:26:08: TCP_CLIENT link remote: [AF_INET]127.0.0.1:56093
2021-09-09 17:26:08: Connection reset, restarting [0]
2021-09-09 17:26:08: SIGUSR1[soft,connection-reset] received, process restarting
2021-09-09 17:26:08: Valid endpoint found: 188.166.147.244:80:tcp-client
2021-09-09 17:26:08: WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
2021-09-09 17:26:08: TCP/UDP: Preserving recently used remote address: [AF_INET]127.0.0.1:56093
2021-09-09 17:26:08: Attempting to establish TCP connection with [AF_INET]127.0.0.1:56093 [nonblock]
2021-09-09 17:26:09: TCP connection established with [AF_INET]127.0.0.1:56093
2021-09-09 17:26:16: TCP_CLIENT link local: (not bound)
2021-09-09 17:26:16: TCP_CLIENT link remote: [AF_INET]127.0.0.1:56093
2021-09-09 17:26:16: Connection reset, restarting [-1]
2021-09-09 17:26:16: SIGUSR1[soft,connection-reset] received, process restarting
2021-09-09 17:26:16: Valid endpoint found: 188.166.147.244:80:tcp-client
2021-09-09 17:26:16: WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
2021-09-09 17:26:16: TCP/UDP: Preserving recently used remote address: [AF_INET]127.0.0.1:56093
2021-09-09 17:26:16: Attempting to establish TCP connection with [AF_INET]127.0.0.1:56093 [nonblock]
2021-09-09 17:26:17: TCP connection established with [AF_INET]127.0.0.1:56093
2021-09-09 17:26:20: State changed to Disconnecting (Manual)
2021-09-09 17:26:20: SIGTERM[hard,init_instance] received, process exiting
2021-09-09 17:26:20: State changed to Disconnected (Process Terminated)
Obfsproxy:
Code: Select all
OpenVPN:
Sep 09 12:47:44 obfuscator systemd[1]: Started obfs4proxy Server.
Sep 09 12:47:44 obfuscator obfs4proxy[7216]: VERSION 1
Sep 09 12:47:44 obfuscator obfs4proxy[7216]: SMETHOD obfs4 [::]:80 ARGS:cert=bj/
Sep 09 12:47:44 obfuscator obfs4proxy[7216]: SMETHODS DONE
Code: Select all
Could anyone help me resolve this issue? Thanks.Sep 09 12:42:05 obfuscator systemd[1]: Starting OpenVPN connection to server...
Sep 09 12:42:05 obfuscator ovpn-server[7145]: WARNING: --topology net30 support
Sep 09 12:42:05 obfuscator ovpn-server[7145]: --cipher is not set. Previous Open
Sep 09 12:42:05 obfuscator ovpn-server[7145]: WARNING: file 'server.key' is grou
Sep 09 12:42:05 obfuscator ovpn-server[7145]: OpenVPN 2.5.3 x86_64-pc-linux-gnu
Sep 09 12:42:05 obfuscator ovpn-server[7145]: library versions: OpenSSL 1.1.1d
Sep 09 12:42:05 obfuscator systemd[1]: Started OpenVPN connection to server.
Sep 09 12:42:05 obfuscator ovpn-server[7145]: Diffie-Hellman initialized with 20
Sep 09 12:42:05 obfuscator ovpn-server[7145]: ROUTE_GATEWAY 188.166.144.1/255.25
Sep 09 12:42:05 obfuscator ovpn-server[7145]: TUN/TAP device tun0 opened
Sep 09 12:42:05 obfuscator ovpn-server[7145]: /sbin/ip link set dev tun0 up mtu
Sep 09 12:42:05 obfuscator ovpn-server[7145]: /sbin/ip link set dev tun0 up
Sep 09 12:42:05 obfuscator ovpn-server[7145]: /sbin/ip addr add dev tun0 local 1
Sep 09 12:42:05 obfuscator ovpn-server[7145]: /sbin/ip route add 10.8.0.0/24 via
Sep 09 12:42:05 obfuscator ovpn-server[7145]: Could not determine IPv4/IPv6 prot
Sep 09 12:42:05 obfuscator ovpn-server[7145]: Socket Buffers: R=[131072->131072]
Sep 09 12:42:05 obfuscator ovpn-server[7145]: Listening for incoming TCP connect
Sep 09 12:42:05 obfuscator ovpn-server[7145]: TCPv4_SERVER link local (bound): [
Sep 09 12:42:05 obfuscator ovpn-server[7145]: TCPv4_SERVER link remote: [AF_UNSP
Sep 09 12:42:05 obfuscator ovpn-server[7145]: GID set to nogroup
Sep 09 12:42:05 obfuscator ovpn-server[7145]: UID set to nobody
Sep 09 12:42:05 obfuscator ovpn-server[7145]: MULTI: multi_init called, r=256 v=
Sep 09 12:42:05 obfuscator ovpn-server[7145]: IFCONFIG POOL IPv4: base=10.8.0.4