jamesmcm / vopono

Run applications through VPN tunnels with temporary network namespaces
GNU General Public License v3.0
888 stars 46 forks source link

Stuck on "Launching OpenVPN.." on ArchLinux #140

Open realitix opened 2 years ago

realitix commented 2 years ago

Hello, I'm on ArchLinux and I'm trying to use vopono. I am on the last version and use ProtonVPN as a provider. When i try to connect through Vopono, I am stuck on "Launching OpenVPN..". It was working before.. So I don't know why.

Here the output in verbose:

vopono -v exec -p protonvpn -i enp0s20f0u1u3c2 --server es-17.protonvpn.com.udp "/usr/lib/firefox/firefox --private-window -P hidden"
 2022-02-21T13:57:03.921Z DEBUG vopono::util > Using config dir from $HOME config: /home/realitix/.config
 2022-02-21T13:57:03.930Z DEBUG vopono::pulseaudio > Setting PULSE_SERVER to /run/user/1000/pulse/native
 2022-02-21T13:57:03.930Z INFO  vopono::util       > Calling sudo for elevated privileges, current user will be used as default user
 2022-02-21T13:57:03.930Z DEBUG vopono::util       > Args: ["vopono", "-v", "exec", "-p", "protonvpn", "-i", "enp0s20f0u1u3c2", "--server", "es-17.protonvpn.com.udp", "/usr/lib/firefox/firefox --private-window -P hidden"]
 2022-02-21T13:57:04.113Z DEBUG vopono::util > Using config dir from $HOME config: /home/realitix/.config
 2022-02-21T13:57:04.120Z DEBUG vopono::pulseaudio > Setting PULSE_SERVER to /run/user/1000/pulse/native
 2022-02-21T13:57:04.120Z DEBUG vopono::util       > Using config dir from $HOME config: /home/realitix/.config
 2022-02-21T13:57:04.121Z DEBUG vopono::util       > Existing namespaces: ["vopono_proton_es-17.protonvpn.com.udp"]
 2022-02-21T13:57:04.121Z DEBUG vopono::util       > Removing dead namespace: vopono_proton_es-17.protonvpn.com.udp
 2022-02-21T13:57:04.121Z DEBUG vopono::util       > ip netns delete vopono_proton_es-17.protonvpn.com.udp
 2022-02-21T13:57:04.122Z DEBUG vopono::util       > Using config dir from $HOME config: /home/realitix/.config
 2022-02-21T13:57:04.122Z DEBUG vopono::util       > Using config dir from $HOME config: /home/realitix/.config
 2022-02-21T13:57:04.122Z DEBUG vopono::exec       > vopono config.toml: configuration property "firewall" not found
 2022-02-21T13:57:04.122Z DEBUG vopono::exec       > vopono config.toml: configuration property "custom_config" not found
 2022-02-21T13:57:04.122Z DEBUG vopono::exec       > vopono config.toml: configuration property "postup" not found
 2022-02-21T13:57:04.122Z DEBUG vopono::exec       > vopono config.toml: configuration property "predown" not found
 2022-02-21T13:57:04.122Z DEBUG vopono::exec       > vopono config.toml: configuration property "user" not found
 2022-02-21T13:57:04.122Z DEBUG vopono::exec       > vopono config.toml: configuration property "dns" not found
 2022-02-21T13:57:04.122Z DEBUG vopono::exec       > vopono config.toml: configuration property "protocol" not found
 2022-02-21T13:57:04.122Z DEBUG vopono::util       > Using config dir from $HOME config: /home/realitix/.config
 2022-02-21T13:57:04.122Z DEBUG vopono::exec       > Interface: enp0s20f0u1u3c2
 2022-02-21T13:57:04.122Z DEBUG vopono::util       > Using config dir from $HOME config: /home/realitix/.config
 2022-02-21T13:57:04.123Z INFO  vopono::util       > Chosen config: /home/realitix/.config/vopono/proton/openvpn/es-17.protonvpn.com.udp.ovpn
 2022-02-21T13:57:04.123Z DEBUG vopono::util       > Existing namespaces: []
 2022-02-21T13:57:04.123Z DEBUG vopono::util       > ip netns add vopono_proton_es-17.protonvpn.com.udp
 2022-02-21T13:57:04.124Z INFO  vopono::netns      > Created new network namespace: vopono_proton_es-17.protonvpn.com.udp
 2022-02-21T13:57:04.126Z DEBUG vopono::util       > Existing interfaces: 23: proton_es-17._d@if22: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 8a:5c:c4:82:59:7d brd ff:ff:ff:ff:ff:ff link-netnsid unknown
    inet 10.200.2.1/24 scope global proton_es-17._d
       valid_lft forever preferred_lft forever
    inet6 fe80::885c:c4ff:fe82:597d/64 scope link 
       valid_lft forever preferred_lft forever

 2022-02-21T13:57:04.126Z DEBUG vopono::util       > Assigned IPs: [10.200.2.1/24]
 2022-02-21T13:57:04.126Z DEBUG vopono::netns      > ip netns exec vopono_proton_es-17.protonvpn.com.udp ip addr add 127.0.0.1/8 dev lo
 2022-02-21T13:57:04.127Z DEBUG vopono::netns      > ip netns exec vopono_proton_es-17.protonvpn.com.udp ip link set lo up
STATE     CONNECTIVITY  WIFI-HW  WIFI       WWAN-HW  WWAN   
connecté  plein         activé   désactivé  activé   activé 
 2022-02-21T13:57:04.143Z DEBUG vopono::veth_pair  > Detected NetworkManager running
 2022-02-21T13:57:04.143Z DEBUG vopono::veth_pair  > NetworkManager detected, adding proton_es-17._d to unmanaged devices
 2022-02-21T13:57:04.144Z DEBUG vopono::veth_pair  > Appending to existing NetworkManager config file: /etc/NetworkManager/conf.d/unmanaged.conf
 2022-02-21T13:57:04.144Z DEBUG vopono::util       > nmcli connection reload
not running
 2022-02-21T13:57:04.244Z DEBUG vopono::veth_pair  > firewalld not detected running
 2022-02-21T13:57:04.244Z DEBUG vopono::util       > ip link add proton_es-17._d type veth peer name proton_es-17._s
 2022-02-21T13:57:04.247Z DEBUG vopono::util       > ip link set proton_es-17._d up
 2022-02-21T13:57:04.248Z DEBUG vopono::util       > ip link set proton_es-17._s netns vopono_proton_es-17.protonvpn.com.udp up
 2022-02-21T13:57:04.285Z DEBUG vopono::util       > ip addr add 10.200.1.1/24 dev proton_es-17._d
 2022-02-21T13:57:04.286Z DEBUG vopono::netns      > ip netns exec vopono_proton_es-17.protonvpn.com.udp ip addr add 10.200.1.2/24 dev proton_es-17._s
 2022-02-21T13:57:04.288Z DEBUG vopono::netns      > ip netns exec vopono_proton_es-17.protonvpn.com.udp ip route add default via 10.200.1.1 dev proton_es-17._s
 2022-02-21T13:57:04.289Z INFO  vopono::netns      > IP address of namespace as seen from host: 10.200.1.2
 2022-02-21T13:57:04.289Z INFO  vopono::netns      > IP address of host as seen from namespace: 10.200.1.1
 2022-02-21T13:57:04.289Z DEBUG vopono::util       > nft add table inet vopono_nat
 2022-02-21T13:57:04.290Z DEBUG vopono::util       > nft add chain inet vopono_nat postrouting { type nat hook postrouting priority 100 ; }
 2022-02-21T13:57:04.291Z DEBUG vopono::util       > nft add rule inet vopono_nat postrouting oifname enp0s20f0u1u3c2 ip saddr 10.200.1.0/24 counter masquerade
 2022-02-21T13:57:04.293Z DEBUG vopono::util       > nft add table inet vopono_bridge
 2022-02-21T13:57:04.295Z DEBUG vopono::util       > nft add chain inet vopono_bridge forward { type filter hook forward priority -10 ; }
 2022-02-21T13:57:04.296Z DEBUG vopono::util       > nft add rule inet vopono_bridge forward iifname proton_es-17._d oifname enp0s20f0u1u3c2 counter accept
 2022-02-21T13:57:04.298Z DEBUG vopono::util       > nft add rule inet vopono_bridge forward oifname proton_es-17._d iifname enp0s20f0u1u3c2 counter accept
 2022-02-21T13:57:04.300Z DEBUG vopono::util       > sysctl -q net.ipv4.ip_forward=1
 2022-02-21T13:57:04.301Z DEBUG vopono::util       > Using config dir from $HOME config: /home/realitix/.config
 2022-02-21T13:57:04.301Z DEBUG vopono::vpn        > Read auth file: /home/realitix/.config/vopono/proton/openvpn/auth.txt
 2022-02-21T13:57:04.301Z DEBUG vopono::dns_config > Setting namespace vopono_proton_es-17.protonvpn.com.udp DNS server to 8.8.8.8
 2022-02-21T13:57:04.301Z INFO  vopono::openvpn    > Launching OpenVPN...
 2022-02-21T13:57:04.301Z DEBUG vopono::openvpn    > Detected IPv6 enabled in /sys/module/ipv6/parameters/disable
 2022-02-21T13:57:04.301Z DEBUG vopono::openvpn    > Found remotes: [Remote { host: IPv4(185.76.11.18), port: 5060, protocol: UDP }, Remote { host: IPv4(185.76.11.18), port: 4569, protocol: UDP }, Remote { host: IPv4(185.76.11.18), port: 443, protocol: UDP }, Remote { host: IPv4(185.76.11.18), port: 1194, protocol: UDP }, Remote { host: IPv4(185.76.11.18), port: 80, protocol: UDP }]
 2022-02-21T13:57:04.301Z DEBUG vopono::netns      > ip netns exec vopono_proton_es-17.protonvpn.com.udp openvpn --config /home/realitix/.config/vopono/proton/openvpn/es-17.protonvpn.com.udp.ovpn --machine-readable-output --log /etc/netns/vopono_proton_es-17.protonvpn.com.udp/openvpn.log --auth-user-pass /home/realitix/.config/vopono/proton/openvpn/auth.txt --pull-filter ignore block-outside-dns
 2022-02-21T13:57:04.305Z DEBUG vopono::openvpn    > "1645451824.305913 40 DEPRECATED OPTION: --cipher set to 'AES-256-CBC' but missing in --data-ciphers (AES-256-GCM:AES-128-GCM). Future OpenVPN version will ignore --cipher for cipher negotiations. Add 'AES-256-CBC' to --data-ciphers or change --cipher 'AES-256-CBC' to --data-ciphers-fallback 'AES-256-CBC' to silence this warning.\n"
 2022-02-21T13:57:04.306Z DEBUG vopono::openvpn    > "1645451824.305913 40 DEPRECATED OPTION: --cipher set to 'AES-256-CBC' but missing in --data-ciphers (AES-256-GCM:AES-128-GCM). Future OpenVPN version will ignore --cipher for cipher negotiations. Add 'AES-256-CBC' to --data-ciphers or change --cipher 'AES-256-CBC' to --data-ciphers-fallback 'AES-256-CBC' to silence this warning.\n1645451824.306007 40 WARNING: file '/home/realitix/.config/vopono/proton/openvpn/auth.txt' is group or others accessible\n"
 2022-02-21T13:57:04.306Z DEBUG vopono::openvpn    > "1645451824.305913 40 DEPRECATED OPTION: --cipher set to 'AES-256-CBC' but missing in --data-ciphers (AES-256-GCM:AES-128-GCM). Future OpenVPN version will ignore --cipher for cipher negotiations. Add 'AES-256-CBC' to --data-ciphers or change --cipher 'AES-256-CBC' to --data-ciphers-fallback 'AES-256-CBC' to silence this warning.\n1645451824.306007 40 WARNING: file '/home/realitix/.config/vopono/proton/openvpn/auth.txt' is group or others accessible\n1645451824.306012 1 OpenVPN 2.5.5 [git:makepkg/869f194c23ae93c4+] x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Dec 15 2021\n"
 2022-02-21T13:57:04.306Z DEBUG vopono::openvpn    > "1645451824.305913 40 DEPRECATED OPTION: --cipher set to 'AES-256-CBC' but missing in --data-ciphers (AES-256-GCM:AES-128-GCM). Future OpenVPN version will ignore --cipher for cipher negotiations. Add 'AES-256-CBC' to --data-ciphers or change --cipher 'AES-256-CBC' to --data-ciphers-fallback 'AES-256-CBC' to silence this warning.\n1645451824.306007 40 WARNING: file '/home/realitix/.config/vopono/proton/openvpn/auth.txt' is group or others accessible\n1645451824.306012 1 OpenVPN 2.5.5 [git:makepkg/869f194c23ae93c4+] x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Dec 15 2021\n1645451824.306034 1 library versions: OpenSSL 1.1.1m  14 Dec 2021, LZO 2.10\n"
 2022-02-21T13:57:04.306Z DEBUG vopono::openvpn    > "1645451824.305913 40 DEPRECATED OPTION: --cipher set to 'AES-256-CBC' but missing in --data-ciphers (AES-256-GCM:AES-128-GCM). Future OpenVPN version will ignore --cipher for cipher negotiations. Add 'AES-256-CBC' to --data-ciphers or change --cipher 'AES-256-CBC' to --data-ciphers-fallback 'AES-256-CBC' to silence this warning.\n1645451824.306007 40 WARNING: file '/home/realitix/.config/vopono/proton/openvpn/auth.txt' is group or others accessible\n1645451824.306012 1 OpenVPN 2.5.5 [git:makepkg/869f194c23ae93c4+] x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Dec 15 2021\n1645451824.306034 1 library versions: OpenSSL 1.1.1m  14 Dec 2021, LZO 2.10\n1645451824.306418 14000002 Outgoing Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication\n"
 2022-02-21T13:57:04.306Z DEBUG vopono::openvpn    > "1645451824.305913 40 DEPRECATED OPTION: --cipher set to 'AES-256-CBC' but missing in --data-ciphers (AES-256-GCM:AES-128-GCM). Future OpenVPN version will ignore --cipher for cipher negotiations. Add 'AES-256-CBC' to --data-ciphers or change --cipher 'AES-256-CBC' to --data-ciphers-fallback 'AES-256-CBC' to silence this warning.\n1645451824.306007 40 WARNING: file '/home/realitix/.config/vopono/proton/openvpn/auth.txt' is group or others accessible\n1645451824.306012 1 OpenVPN 2.5.5 [git:makepkg/869f194c23ae93c4+] x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Dec 15 2021\n1645451824.306034 1 library versions: OpenSSL 1.1.1m  14 Dec 2021, LZO 2.10\n1645451824.306418 14000002 Outgoing Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication\n1645451824.306423 14000002 Incoming Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication\n"
 2022-02-21T13:57:04.306Z DEBUG vopono::openvpn    > "1645451824.305913 40 DEPRECATED OPTION: --cipher set to 'AES-256-CBC' but missing in --data-ciphers (AES-256-GCM:AES-128-GCM). Future OpenVPN version will ignore --cipher for cipher negotiations. Add 'AES-256-CBC' to --data-ciphers or change --cipher 'AES-256-CBC' to --data-ciphers-fallback 'AES-256-CBC' to silence this warning.\n1645451824.306007 40 WARNING: file '/home/realitix/.config/vopono/proton/openvpn/auth.txt' is group or others accessible\n1645451824.306012 1 OpenVPN 2.5.5 [git:makepkg/869f194c23ae93c4+] x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Dec 15 2021\n1645451824.306034 1 library versions: OpenSSL 1.1.1m  14 Dec 2021, LZO 2.10\n1645451824.306418 14000002 Outgoing Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication\n1645451824.306423 14000002 Incoming Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication\n1645451824.306490 1 TCP/UDP: Preserving recently used remote address: [AF_INET]185.76.11.18:80\n"
 2022-02-21T13:57:04.306Z DEBUG vopono::openvpn    > "1645451824.305913 40 DEPRECATED OPTION: --cipher set to 'AES-256-CBC' but missing in --data-ciphers (AES-256-GCM:AES-128-GCM). Future OpenVPN version will ignore --cipher for cipher negotiations. Add 'AES-256-CBC' to --data-ciphers or change --cipher 'AES-256-CBC' to --data-ciphers-fallback 'AES-256-CBC' to silence this warning.\n1645451824.306007 40 WARNING: file '/home/realitix/.config/vopono/proton/openvpn/auth.txt' is group or others accessible\n1645451824.306012 1 OpenVPN 2.5.5 [git:makepkg/869f194c23ae93c4+] x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Dec 15 2021\n1645451824.306034 1 library versions: OpenSSL 1.1.1m  14 Dec 2021, LZO 2.10\n1645451824.306418 14000002 Outgoing Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication\n1645451824.306423 14000002 Incoming Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication\n1645451824.306490 1 TCP/UDP: Preserving recently used remote address: [AF_INET]185.76.11.18:80\n1645451824.306501 2b000003 Socket Buffers: R=[212992->212992] S=[212992->212992]\n"
 2022-02-21T13:57:04.306Z DEBUG vopono::openvpn    > "1645451824.305913 40 DEPRECATED OPTION: --cipher set to 'AES-256-CBC' but missing in --data-ciphers (AES-256-GCM:AES-128-GCM). Future OpenVPN version will ignore --cipher for cipher negotiations. Add 'AES-256-CBC' to --data-ciphers or change --cipher 'AES-256-CBC' to --data-ciphers-fallback 'AES-256-CBC' to silence this warning.\n1645451824.306007 40 WARNING: file '/home/realitix/.config/vopono/proton/openvpn/auth.txt' is group or others accessible\n1645451824.306012 1 OpenVPN 2.5.5 [git:makepkg/869f194c23ae93c4+] x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Dec 15 2021\n1645451824.306034 1 library versions: OpenSSL 1.1.1m  14 Dec 2021, LZO 2.10\n1645451824.306418 14000002 Outgoing Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication\n1645451824.306423 14000002 Incoming Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication\n1645451824.306490 1 TCP/UDP: Preserving recently used remote address: [AF_INET]185.76.11.18:80\n1645451824.306501 2b000003 Socket Buffers: R=[212992->212992] S=[212992->212992]\n1645451824.306503 1 UDP link local: (not bound)\n"
 2022-02-21T13:57:04.306Z DEBUG vopono::openvpn    > "1645451824.305913 40 DEPRECATED OPTION: --cipher set to 'AES-256-CBC' but missing in --data-ciphers (AES-256-GCM:AES-128-GCM). Future OpenVPN version will ignore --cipher for cipher negotiations. Add 'AES-256-CBC' to --data-ciphers or change --cipher 'AES-256-CBC' to --data-ciphers-fallback 'AES-256-CBC' to silence this warning.\n1645451824.306007 40 WARNING: file '/home/realitix/.config/vopono/proton/openvpn/auth.txt' is group or others accessible\n1645451824.306012 1 OpenVPN 2.5.5 [git:makepkg/869f194c23ae93c4+] x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Dec 15 2021\n1645451824.306034 1 library versions: OpenSSL 1.1.1m  14 Dec 2021, LZO 2.10\n1645451824.306418 14000002 Outgoing Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication\n1645451824.306423 14000002 Incoming Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication\n1645451824.306490 1 TCP/UDP: Preserving recently used remote address: [AF_INET]185.76.11.18:80\n1645451824.306501 2b000003 Socket Buffers: R=[212992->212992] S=[212992->212992]\n1645451824.306503 1 UDP link local: (not bound)\n1645451824.306505 1 UDP link remote: [AF_INET]185.76.11.18:80\n"
 2022-02-21T13:58:04.104Z DEBUG vopono::openvpn    > "1645451824.305913 40 DEPRECATED OPTION: --cipher set to 'AES-256-CBC' but missing in --data-ciphers (AES-256-GCM:AES-128-GCM). Future OpenVPN version will ignore --cipher for cipher negotiations. Add 'AES-256-CBC' to --data-ciphers or change --cipher 'AES-256-CBC' to --data-ciphers-fallback 'AES-256-CBC' to silence this warning.\n1645451824.306007 40 WARNING: file '/home/realitix/.config/vopono/proton/openvpn/auth.txt' is group or others accessible\n1645451824.306012 1 OpenVPN 2.5.5 [git:makepkg/869f194c23ae93c4+] x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Dec 15 2021\n1645451824.306034 1 library versions: OpenSSL 1.1.1m  14 Dec 2021, LZO 2.10\n1645451824.306418 14000002 Outgoing Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication\n1645451824.306423 14000002 Incoming Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication\n1645451824.306490 1 TCP/UDP: Preserving recently used remote address: [AF_INET]185.76.11.18:80\n1645451824.306501 2b000003 Socket Buffers: R=[212992->212992] S=[212992->212992]\n1645451824.306503 1 UDP link local: (not bound)\n1645451824.306505 1 UDP link remote: [AF_INET]185.76.11.18:80\n1645451884.104538 3000021 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)\n"
 2022-02-21T13:58:04.104Z DEBUG vopono::openvpn    > "1645451824.305913 40 DEPRECATED OPTION: --cipher set to 'AES-256-CBC' but missing in --data-ciphers (AES-256-GCM:AES-128-GCM). Future OpenVPN version will ignore --cipher for cipher negotiations. Add 'AES-256-CBC' to --data-ciphers or change --cipher 'AES-256-CBC' to --data-ciphers-fallback 'AES-256-CBC' to silence this warning.\n1645451824.306007 40 WARNING: file '/home/realitix/.config/vopono/proton/openvpn/auth.txt' is group or others accessible\n1645451824.306012 1 OpenVPN 2.5.5 [git:makepkg/869f194c23ae93c4+] x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Dec 15 2021\n1645451824.306034 1 library versions: OpenSSL 1.1.1m  14 Dec 2021, LZO 2.10\n1645451824.306418 14000002 Outgoing Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication\n1645451824.306423 14000002 Incoming Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication\n1645451824.306490 1 TCP/UDP: Preserving recently used remote address: [AF_INET]185.76.11.18:80\n1645451824.306501 2b000003 Socket Buffers: R=[212992->212992] S=[212992->212992]\n1645451824.306503 1 UDP link local: (not bound)\n1645451824.306505 1 UDP link remote: [AF_INET]185.76.11.18:80\n1645451884.104538 3000021 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)\n1645451884.104562 3000021 TLS Error: TLS handshake failed\n"
 2022-02-21T13:58:04.104Z DEBUG vopono::openvpn    > "1645451824.305913 40 DEPRECATED OPTION: --cipher set to 'AES-256-CBC' but missing in --data-ciphers (AES-256-GCM:AES-128-GCM). Future OpenVPN version will ignore --cipher for cipher negotiations. Add 'AES-256-CBC' to --data-ciphers or change --cipher 'AES-256-CBC' to --data-ciphers-fallback 'AES-256-CBC' to silence this warning.\n1645451824.306007 40 WARNING: file '/home/realitix/.config/vopono/proton/openvpn/auth.txt' is group or others accessible\n1645451824.306012 1 OpenVPN 2.5.5 [git:makepkg/869f194c23ae93c4+] x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Dec 15 2021\n1645451824.306034 1 library versions: OpenSSL 1.1.1m  14 Dec 2021, LZO 2.10\n1645451824.306418 14000002 Outgoing Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication\n1645451824.306423 14000002 Incoming Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication\n1645451824.306490 1 TCP/UDP: Preserving recently used remote address: [AF_INET]185.76.11.18:80\n1645451824.306501 2b000003 Socket Buffers: R=[212992->212992] S=[212992->212992]\n1645451824.306503 1 UDP link local: (not bound)\n1645451824.306505 1 UDP link remote: [AF_INET]185.76.11.18:80\n1645451884.104538 3000021 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)\n1645451884.104562 3000021 TLS Error: TLS handshake failed\n1645451884.104666 1 SIGUSR1[soft,tls-error] received, process restarting\n"
 2022-02-21T13:58:04.104Z DEBUG vopono::openvpn    > "1645451824.305913 40 DEPRECATED OPTION: --cipher set to 'AES-256-CBC' but missing in --data-ciphers (AES-256-GCM:AES-128-GCM). Future OpenVPN version will ignore --cipher for cipher negotiations. Add 'AES-256-CBC' to --data-ciphers or change --cipher 'AES-256-CBC' to --data-ciphers-fallback 'AES-256-CBC' to silence this warning.\n1645451824.306007 40 WARNING: file '/home/realitix/.config/vopono/proton/openvpn/auth.txt' is group or others accessible\n1645451824.306012 1 OpenVPN 2.5.5 [git:makepkg/869f194c23ae93c4+] x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Dec 15 2021\n1645451824.306034 1 library versions: OpenSSL 1.1.1m  14 Dec 2021, LZO 2.10\n1645451824.306418 14000002 Outgoing Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication\n1645451824.306423 14000002 Incoming Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication\n1645451824.306490 1 TCP/UDP: Preserving recently used remote address: [AF_INET]185.76.11.18:80\n1645451824.306501 2b000003 Socket Buffers: R=[212992->212992] S=[212992->212992]\n1645451824.306503 1 UDP link local: (not bound)\n1645451824.306505 1 UDP link remote: [AF_INET]185.76.11.18:80\n1645451884.104538 3000021 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)\n1645451884.104562 3000021 TLS Error: TLS handshake failed\n1645451884.104666 1 SIGUSR1[soft,tls-error] received, process restarting\n1645451884.104705 21000003 Restart pause, 5 second(s)\n"
 2022-02-21T13:58:09.104Z DEBUG vopono::openvpn    > "1645451824.305913 40 DEPRECATED OPTION: --cipher set to 'AES-256-CBC' but missing in --data-ciphers (AES-256-GCM:AES-128-GCM). Future OpenVPN version will ignore --cipher for cipher negotiations. Add 'AES-256-CBC' to --data-ciphers or change --cipher 'AES-256-CBC' to --data-ciphers-fallback 'AES-256-CBC' to silence this warning.\n1645451824.306007 40 WARNING: file '/home/realitix/.config/vopono/proton/openvpn/auth.txt' is group or others accessible\n1645451824.306012 1 OpenVPN 2.5.5 [git:makepkg/869f194c23ae93c4+] x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Dec 15 2021\n1645451824.306034 1 library versions: OpenSSL 1.1.1m  14 Dec 2021, LZO 2.10\n1645451824.306418 14000002 Outgoing Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication\n1645451824.306423 14000002 Incoming Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication\n1645451824.306490 1 TCP/UDP: Preserving recently used remote address: [AF_INET]185.76.11.18:80\n1645451824.306501 2b000003 Socket Buffers: R=[212992->212992] S=[212992->212992]\n1645451824.306503 1 UDP link local: (not bound)\n1645451824.306505 1 UDP link remote: [AF_INET]185.76.11.18:80\n1645451884.104538 3000021 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)\n1645451884.104562 3000021 TLS Error: TLS handshake failed\n1645451884.104666 1 SIGUSR1[soft,tls-error] received, process restarting\n1645451884.104705 21000003 Restart pause, 5 second(s)\n1645451889.104822 14000002 Outgoing Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication\n"
 2022-02-21T13:58:09.104Z DEBUG vopono::openvpn    > "1645451824.305913 40 DEPRECATED OPTION: --cipher set to 'AES-256-CBC' but missing in --data-ciphers (AES-256-GCM:AES-128-GCM). Future OpenVPN version will ignore --cipher for cipher negotiations. Add 'AES-256-CBC' to --data-ciphers or change --cipher 'AES-256-CBC' to --data-ciphers-fallback 'AES-256-CBC' to silence this warning.\n1645451824.306007 40 WARNING: file '/home/realitix/.config/vopono/proton/openvpn/auth.txt' is group or others accessible\n1645451824.306012 1 OpenVPN 2.5.5 [git:makepkg/869f194c23ae93c4+] x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Dec 15 2021\n1645451824.306034 1 library versions: OpenSSL 1.1.1m  14 Dec 2021, LZO 2.10\n1645451824.306418 14000002 Outgoing Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication\n1645451824.306423 14000002 Incoming Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication\n1645451824.306490 1 TCP/UDP: Preserving recently used remote address: [AF_INET]185.76.11.18:80\n1645451824.306501 2b000003 Socket Buffers: R=[212992->212992] S=[212992->212992]\n1645451824.306503 1 UDP link local: (not bound)\n1645451824.306505 1 UDP link remote: [AF_INET]185.76.11.18:80\n1645451884.104538 3000021 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)\n1645451884.104562 3000021 TLS Error: TLS handshake failed\n1645451884.104666 1 SIGUSR1[soft,tls-error] received, process restarting\n1645451884.104705 21000003 Restart pause, 5 second(s)\n1645451889.104822 14000002 Outgoing Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication\n1645451889.104849 14000002 Incoming Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication\n"
 2022-02-21T13:58:09.104Z DEBUG vopono::openvpn    > "1645451824.305913 40 DEPRECATED OPTION: --cipher set to 'AES-256-CBC' but missing in --data-ciphers (AES-256-GCM:AES-128-GCM). Future OpenVPN version will ignore --cipher for cipher negotiations. Add 'AES-256-CBC' to --data-ciphers or change --cipher 'AES-256-CBC' to --data-ciphers-fallback 'AES-256-CBC' to silence this warning.\n1645451824.306007 40 WARNING: file '/home/realitix/.config/vopono/proton/openvpn/auth.txt' is group or others accessible\n1645451824.306012 1 OpenVPN 2.5.5 [git:makepkg/869f194c23ae93c4+] x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Dec 15 2021\n1645451824.306034 1 library versions: OpenSSL 1.1.1m  14 Dec 2021, LZO 2.10\n1645451824.306418 14000002 Outgoing Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication\n1645451824.306423 14000002 Incoming Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication\n1645451824.306490 1 TCP/UDP: Preserving recently used remote address: [AF_INET]185.76.11.18:80\n1645451824.306501 2b000003 Socket Buffers: R=[212992->212992] S=[212992->212992]\n1645451824.306503 1 UDP link local: (not bound)\n1645451824.306505 1 UDP link remote: [AF_INET]185.76.11.18:80\n1645451884.104538 3000021 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)\n1645451884.104562 3000021 TLS Error: TLS handshake failed\n1645451884.104666 1 SIGUSR1[soft,tls-error] received, process restarting\n1645451884.104705 21000003 Restart pause, 5 second(s)\n1645451889.104822 14000002 Outgoing Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication\n1645451889.104849 14000002 Incoming Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication\n1645451889.104937 1 TCP/UDP: Preserving recently used remote address: [AF_INET]185.76.11.18:5060\n"
 2022-02-21T13:58:09.112Z DEBUG vopono::openvpn    > "1645451824.305913 40 DEPRECATED OPTION: --cipher set to 'AES-256-CBC' but missing in --data-ciphers (AES-256-GCM:AES-128-GCM). Future OpenVPN version will ignore --cipher for cipher negotiations. Add 'AES-256-CBC' to --data-ciphers or change --cipher 'AES-256-CBC' to --data-ciphers-fallback 'AES-256-CBC' to silence this warning.\n1645451824.306007 40 WARNING: file '/home/realitix/.config/vopono/proton/openvpn/auth.txt' is group or others accessible\n1645451824.306012 1 OpenVPN 2.5.5 [git:makepkg/869f194c23ae93c4+] x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Dec 15 2021\n1645451824.306034 1 library versions: OpenSSL 1.1.1m  14 Dec 2021, LZO 2.10\n1645451824.306418 14000002 Outgoing Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication\n1645451824.306423 14000002 Incoming Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication\n1645451824.306490 1 TCP/UDP: Preserving recently used remote address: [AF_INET]185.76.11.18:80\n1645451824.306501 2b000003 Socket Buffers: R=[212992->212992] S=[212992->212992]\n1645451824.306503 1 UDP link local: (not bound)\n1645451824.306505 1 UDP link remote: [AF_INET]185.76.11.18:80\n1645451884.104538 3000021 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)\n1645451884.104562 3000021 TLS Error: TLS handshake failed\n1645451884.104666 1 SIGUSR1[soft,tls-error] received, process restarting\n1645451884.104705 21000003 Restart pause, 5 second(s)\n1645451889.104822 14000002 Outgoing Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication\n1645451889.104849 14000002 Incoming Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication\n1645451889.104937 1 TCP/UDP: Preserving recently used remote address: [AF_INET]185.76.11.18:5060\n1645451889.112514 2b000003 Socket Buffers: R=[212992->212992] S=[212992->212992]\n"
 2022-02-21T13:58:09.112Z DEBUG vopono::openvpn    > "1645451824.305913 40 DEPRECATED OPTION: --cipher set to 'AES-256-CBC' but missing in --data-ciphers (AES-256-GCM:AES-128-GCM). Future OpenVPN version will ignore --cipher for cipher negotiations. Add 'AES-256-CBC' to --data-ciphers or change --cipher 'AES-256-CBC' to --data-ciphers-fallback 'AES-256-CBC' to silence this warning.\n1645451824.306007 40 WARNING: file '/home/realitix/.config/vopono/proton/openvpn/auth.txt' is group or others accessible\n1645451824.306012 1 OpenVPN 2.5.5 [git:makepkg/869f194c23ae93c4+] x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Dec 15 2021\n1645451824.306034 1 library versions: OpenSSL 1.1.1m  14 Dec 2021, LZO 2.10\n1645451824.306418 14000002 Outgoing Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication\n1645451824.306423 14000002 Incoming Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication\n1645451824.306490 1 TCP/UDP: Preserving recently used remote address: [AF_INET]185.76.11.18:80\n1645451824.306501 2b000003 Socket Buffers: R=[212992->212992] S=[212992->212992]\n1645451824.306503 1 UDP link local: (not bound)\n1645451824.306505 1 UDP link remote: [AF_INET]185.76.11.18:80\n1645451884.104538 3000021 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)\n1645451884.104562 3000021 TLS Error: TLS handshake failed\n1645451884.104666 1 SIGUSR1[soft,tls-error] received, process restarting\n1645451884.104705 21000003 Restart pause, 5 second(s)\n1645451889.104822 14000002 Outgoing Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication\n1645451889.104849 14000002 Incoming Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication\n1645451889.104937 1 TCP/UDP: Preserving recently used remote address: [AF_INET]185.76.11.18:5060\n1645451889.112514 2b000003 Socket Buffers: R=[212992->212992] S=[212992->212992]\n1645451889.112530 1 UDP link local: (not bound)\n"
 2022-02-21T13:58:09.112Z DEBUG vopono::openvpn    > "1645451824.305913 40 DEPRECATED OPTION: --cipher set to 'AES-256-CBC' but missing in --data-ciphers (AES-256-GCM:AES-128-GCM). Future OpenVPN version will ignore --cipher for cipher negotiations. Add 'AES-256-CBC' to --data-ciphers or change --cipher 'AES-256-CBC' to --data-ciphers-fallback 'AES-256-CBC' to silence this warning.\n1645451824.306007 40 WARNING: file '/home/realitix/.config/vopono/proton/openvpn/auth.txt' is group or others accessible\n1645451824.306012 1 OpenVPN 2.5.5 [git:makepkg/869f194c23ae93c4+] x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Dec 15 2021\n1645451824.306034 1 library versions: OpenSSL 1.1.1m  14 Dec 2021, LZO 2.10\n1645451824.306418 14000002 Outgoing Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication\n1645451824.306423 14000002 Incoming Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication\n1645451824.306490 1 TCP/UDP: Preserving recently used remote address: [AF_INET]185.76.11.18:80\n1645451824.306501 2b000003 Socket Buffers: R=[212992->212992] S=[212992->212992]\n1645451824.306503 1 UDP link local: (not bound)\n1645451824.306505 1 UDP link remote: [AF_INET]185.76.11.18:80\n1645451884.104538 3000021 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)\n1645451884.104562 3000021 TLS Error: TLS handshake failed\n1645451884.104666 1 SIGUSR1[soft,tls-error] received, process restarting\n1645451884.104705 21000003 Restart pause, 5 second(s)\n1645451889.104822 14000002 Outgoing Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication\n1645451889.104849 14000002 Incoming Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication\n1645451889.104937 1 TCP/UDP: Preserving recently used remote address: [AF_INET]185.76.11.18:5060\n1645451889.112514 2b000003 Socket Buffers: R=[212992->212992] S=[212992->212992]\n1645451889.112530 1 UDP link local: (not bound)\n1645451889.112538 1 UDP link remote: [AF_INET]185.76.11.18:5060\n"
^C 2022-02-21T13:58:35.697Z DEBUG vopono::openvpn    > "1645451824.305913 40 DEPRECATED OPTION: --cipher set to 'AES-256-CBC' but missing in --data-ciphers (AES-256-GCM:AES-128-GCM). Future OpenVPN version will ignore --cipher for cipher negotiations. Add 'AES-256-CBC' to --data-ciphers or change --cipher 'AES-256-CBC' to --data-ciphers-fallback 'AES-256-CBC' to silence this warning.\n1645451824.306007 40 WARNING: file '/home/realitix/.config/vopono/proton/openvpn/auth.txt' is group or others accessible\n1645451824.306012 1 OpenVPN 2.5.5 [git:makepkg/869f194c23ae93c4+] x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Dec 15 2021\n1645451824.306034 1 library versions: OpenSSL 1.1.1m  14 Dec 2021, LZO 2.10\n1645451824.306418 14000002 Outgoing Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication\n1645451824.306423 14000002 Incoming Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication\n1645451824.306490 1 TCP/UDP: Preserving recently used remote address: [AF_INET]185.76.11.18:80\n1645451824.306501 2b000003 Socket Buffers: R=[212992->212992] S=[212992->212992]\n1645451824.306503 1 UDP link local: (not bound)\n1645451824.306505 1 UDP link remote: [AF_INET]185.76.11.18:80\n1645451884.104538 3000021 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)\n1645451884.104562 3000021 TLS Error: TLS handshake failed\n1645451884.104666 1 SIGUSR1[soft,tls-error] received, process restarting\n1645451884.104705 21000003 Restart pause, 5 second(s)\n1645451889.104822 14000002 Outgoing Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication\n1645451889.104849 14000002 Incoming Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication\n1645451889.104937 1 TCP/UDP: Preserving recently used remote address: [AF_INET]185.76.11.18:5060\n1645451889.112514 2b000003 Socket Buffers: R=[212992->212992] S=[212992->212992]\n1645451889.112530 1 UDP link local: (not bound)\n1645451889.112538 1 UDP link remote: [AF_INET]185.76.11.18:5060\n1645451915.697890 1000021 event_wait : Interrupted system call (code=4)\n"
 2022-02-21T13:58:35.698Z DEBUG vopono::openvpn    > "1645451824.305913 40 DEPRECATED OPTION: --cipher set to 'AES-256-CBC' but missing in --data-ciphers (AES-256-GCM:AES-128-GCM). Future OpenVPN version will ignore --cipher for cipher negotiations. Add 'AES-256-CBC' to --data-ciphers or change --cipher 'AES-256-CBC' to --data-ciphers-fallback 'AES-256-CBC' to silence this warning.\n1645451824.306007 40 WARNING: file '/home/realitix/.config/vopono/proton/openvpn/auth.txt' is group or others accessible\n1645451824.306012 1 OpenVPN 2.5.5 [git:makepkg/869f194c23ae93c4+] x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Dec 15 2021\n1645451824.306034 1 library versions: OpenSSL 1.1.1m  14 Dec 2021, LZO 2.10\n1645451824.306418 14000002 Outgoing Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication\n1645451824.306423 14000002 Incoming Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication\n1645451824.306490 1 TCP/UDP: Preserving recently used remote address: [AF_INET]185.76.11.18:80\n1645451824.306501 2b000003 Socket Buffers: R=[212992->212992] S=[212992->212992]\n1645451824.306503 1 UDP link local: (not bound)\n1645451824.306505 1 UDP link remote: [AF_INET]185.76.11.18:80\n1645451884.104538 3000021 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)\n1645451884.104562 3000021 TLS Error: TLS handshake failed\n1645451884.104666 1 SIGUSR1[soft,tls-error] received, process restarting\n1645451884.104705 21000003 Restart pause, 5 second(s)\n1645451889.104822 14000002 Outgoing Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication\n1645451889.104849 14000002 Incoming Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication\n1645451889.104937 1 TCP/UDP: Preserving recently used remote address: [AF_INET]185.76.11.18:5060\n1645451889.112514 2b000003 Socket Buffers: R=[212992->212992] S=[212992->212992]\n1645451889.112530 1 UDP link local: (not bound)\n1645451889.112538 1 UDP link remote: [AF_INET]185.76.11.18:5060\n1645451915.697890 1000021 event_wait : Interrupted system call (code=4)\n1645451915.698019 1 SIGINT[hard,] received, process exiting\n"

Thanks

jamesmcm commented 2 years ago

It works okay for me right now for the free servers atm at least.

Could you try running with --no-killswitch just in case?

realitix commented 2 years ago

Thanks @jamesmcm but same problem with --no-killswitch

jamesmcm commented 2 years ago

Does it work if you try a different server? And a simpler server filter like just es ?

3nprob commented 2 years ago

Same with Mullvad

3nprob commented 2 years ago

However, the cause may be different on my side:

 2022-02-28T13:14:32.893Z DEBUG vopono::openvpn           > "1646054002.835444 40 DEPRECATED OPTION: --cipher set to 'AES-256-CBC' but missing in --data-ciphers (AES-256-GCM:AES-128-GCM). Future OpenVPN version will ignore --cipher for cipher negotiations. Add 'AES-256-CBC' to --data-ciphers or change --cipher 'AES-256-CBC' to --data-ciphers-fallback 'AES-256-CBC' to silence this warning.\n1646054002.835547 40 WARNING: file '/home/user/.config/vopono/mv/openvpn/mullvad_userpass.txt' is group or others accessible\n1646054002.836073 1 OpenVPN 2.5.5 [git:makepkg/869f194c23ae93c4+] x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Dec 15 2021\n1646054002.836111 1 library versions: OpenSSL 1.1.1m 14 Dec 2021, LZO 2.10\n1646054012.847137 4000021 RESOLVE: Cannot resolve host address: no-osl-008.mullvad.net:1195 (Temporary failure in name resolution)\n1646054022.855752 4000021 RESOLVE: Cannot resolve host address: no-osl-008.mullvad.net:1195 (Temporary failure in name resolution)\n1646054022.855824 40 Could not determine IPv4/IPv6 protocol\n1646054022.855903 1 SIGUSR1[soft,init_instance] received, process restarting\n1646054022.855941 21000003 Restart pause, 5 second(s)\n1646054037.866327 4000021 RESOLVE: Cannot resolve host address: no-osl-007.mullvad.net:1195 (Temporary failure inname resolution)\n1646054047.875804 4000021 RESOLVE: Cannot resolve host address: no-osl-007.mullvad.net:1195 (Temporary failure in name resolution)\n1646054047.875860 40 Could not determine IPv4/IPv6 protocol\n1646054047.875905 1 SIGUSR1[soft,init_instance] received, process restarting\n1646054047.875939 21000003 Restart pause, 5 second(s)\n1646054062.882808 4000021 RESOLVE: Cannot resolve host address: no-osl-005.mullvad.net:1195 (Temporaryfailure in name resolution)\n1646054072.892858 4000021 RESOLVE: Cannot resolve host address: no-osl-005.mullvad.net:1195 (Temporary failure in name resolution)\n1646054072.892917 40 Could not determine IPv4/IPv6 protocol\n1646054072.892955 1 SIGUSR1[soft,init_instance] received, process restarting\n1646054072.892972 21000003 Restart pause, 5 second(s)\n"

The mentioned hostname resolve fine on the host.

3nprob commented 2 years ago

As our setups (NetworkManager) and logs are different and the cause may be different, I opened a separate issue: https://github.com/jamesmcm/vopono/issues/142

arashtotti88 commented 2 years ago

hi

I install the application on my raspberry pi and after setup nordvpn , I try to open chromium-browser , but it stuck on lunching openvpn ...

how i can fix this /?

and where is the app directory in raspberry pi ?

thanks

jamesmcm commented 2 years ago

Could you post the debug log and your OpenVPN config file? I don't have a NordVPN account atm to test with.

and where is the app directory in raspberry pi ?

The config files should be in ~/.config/vopono/ and the binary should be in /usr/bin/

arashtotti88 commented 2 years ago

thanks for reply . i managed to fix the problem by reset factory my raspberry pi !!!

and i run firefox with vpn on it without any problem .

now i have a problem with jackett !

i use the tutorial

vopono -v exec -u jackett "/usr/lib/jackett/jackett --NoRestart --NoUpdates --DataFolder /var/lib/jackett" -f 9117

but i get keep error

i triyed

vopono -v exec -u jackett --NoRestart --NoUpdates --DataFolder jackett" -f 9117

also error

then i put my jacket location in server and still getting error

what exactly should i do ?

i really appreciate if you help me

jamesmcm commented 2 years ago

Can you post what error message you get?

The main condition is that the directory needs to be readable and writeable by the jackett user.

Do you have a separate user called jackett? (the Arch Linux PKGBUILD does this by default)

arashtotti88 commented 2 years ago

$ vopono -v exec -u jackett "/home/pi/Downloads/Jackett --NoRestart --NoUpdates --DataFolder /home/pi/Downloads/Jackett" -f 9117 2022-07-09T21:01:42.336Z DEBUG vopono_core::util > Using config dir from $HOME config: /home/pi/.config 2022-07-09T21:01:42.355Z DEBUG vopono_core::util::pulseaudio > Setting PULSE_SERVER to /run/user/1000/pulse/native 2022-07-09T21:01:42.356Z INFO vopono_core::util > Calling sudo for elevated privileges, current user will be used as default user 2022-07-09T21:01:42.356Z DEBUG vopono_core::util > Args: ["vopono", "-v", "exec", "-u", "jackett", "/home/pi/Downloads/Jackett --NoRestart --NoUpdates --DataFolder /home/pi/Downloads/Jackett", "-f", "9117"] 2022-07-09T21:01:42.477Z DEBUG vopono_core::util > Using config dir from $HOME config: /home/pi/.config 2022-07-09T21:01:42.502Z DEBUG vopono_core::util::pulseaudio > Setting PULSE_SERVER to /run/user/1000/pulse/native 2022-07-09T21:01:42.502Z DEBUG vopono_core::util > Using config dir from $HOME config: /home/pi/.config 2022-07-09T21:01:42.506Z DEBUG vopono_core::util > Existing namespaces: [] 2022-07-09T21:01:42.507Z DEBUG vopono_core::util > Using config dir from $HOME config: /home/pi/.config 2022-07-09T21:01:42.507Z DEBUG vopono_core::util > Using config dir from $HOME config: /home/pi/.config 2022-07-09T21:01:42.507Z DEBUG vopono::exec > vopono config.toml: configuration property "firewall" not found 2022-07-09T21:01:42.507Z DEBUG vopono::exec > vopono config.toml: configuration property "custom_config" not found 2022-07-09T21:01:42.507Z DEBUG vopono::exec > vopono config.toml: configuration property "postup" not found 2022-07-09T21:01:42.507Z DEBUG vopono::exec > vopono config.toml: configuration property "predown" not found 2022-07-09T21:01:42.507Z DEBUG vopono::exec > vopono config.toml: configuration property "dns" not found 2022-07-09T21:01:42.507Z DEBUG vopono::exec > vopono config.toml: configuration property "provider" not found thread 'main' panicked at 'Enter a VPN provider as a command-line argument or in the vopono config.toml file', src/exec.rs:165:14 note: run with RUST_BACKTRACE=1 environment variable to display a backtrace pi@raspberrypi:~ $

my jacket is on /home/pi/Downloads/Jackett and i install it from official place https://github.com/Jackett/Jackett i dont have seperate user called jackett !!!

should i beside my orginal jacket install this one as well ? https://aur.archlinux.org/packages/jackett-bin

jamesmcm commented 2 years ago

You need to provide the VPN provider and server details if you don't have them set in ~/.config/vopono/config.toml

e.g. my ~/.config/vopono/config.toml is:

firewall = "NfTables"
provider = "Mullvad"
protocol = "Wireguard"
server = "romania"
open_ports = "56699"

Or you can provide them with --provider and --server after exec in the vopono command:

$ vopono -v exec --provider nordvpn --server sweden -u jackett "/home/pi/Downloads/Jackett --NoRestart --NoUpdates --DataFolder /home/pi/Downloads/Jackett" -f 9117

The command above assumes that Jackett is set up with its own jackett user though (the -u jackett means that it will run the command in the network namespace as that user). Depending on how you have it set up you might want to run it as your own user or as root.

If you are using Arch Linux I'd recommend using that AUR package as it does all the configuration for you - see https://github.com/Jackett/Jackett#install-on-linux-amdx64 for all the options though. Also note it seems a bit harder to install manually on ARM (i.e. the Raspberry Pi).

arashtotti88 commented 2 years ago

$ vopono -v exec --provider nordvpn --server spain -u jackett "/home/pi/Downloads/Jackett --NoRestart --NoUpdates --DataFolder /home/pi/Downloads/Jackett" -f 9117 2022-07-09T21:37:00.308Z DEBUG vopono_core::util > Using config dir from $HOME config: /home/pi/.config 2022-07-09T21:37:00.330Z DEBUG vopono_core::util::pulseaudio > Setting PULSE_SERVER to /run/user/1000/pulse/native 2022-07-09T21:37:00.331Z INFO vopono_core::util > Calling sudo for elevated privileges, current user will be used as default user 2022-07-09T21:37:00.331Z DEBUG vopono_core::util > Args: ["vopono", "-v", "exec", "--provider", "nordvpn", "--server", "spain", "-u", "jackett", "/home/pi/Downloads/Jackett --NoRestart --NoUpdates --DataFolder /home/pi/Downloads/Jackett", "-f", "9117"] 2022-07-09T21:37:00.474Z DEBUG vopono_core::util > Using config dir from $HOME config: /home/pi/.config 2022-07-09T21:37:00.495Z DEBUG vopono_core::util::pulseaudio > Setting PULSE_SERVER to /run/user/1000/pulse/native 2022-07-09T21:37:00.495Z DEBUG vopono_core::util > Using config dir from $HOME config: /home/pi/.config 2022-07-09T21:37:00.500Z DEBUG vopono_core::util > Existing namespaces: [] 2022-07-09T21:37:00.501Z DEBUG vopono_core::util > Using config dir from $HOME config: /home/pi/.config 2022-07-09T21:37:00.501Z DEBUG vopono_core::util > Using config dir from $HOME config: /home/pi/.config 2022-07-09T21:37:00.502Z DEBUG vopono::exec > vopono config.toml: configuration property "custom_config" not found 2022-07-09T21:37:00.502Z DEBUG vopono::exec > vopono config.toml: configuration property "postup" not found 2022-07-09T21:37:00.502Z DEBUG vopono::exec > vopono config.toml: configuration property "predown" not found 2022-07-09T21:37:00.502Z DEBUG vopono::exec > vopono config.toml: configuration property "dns" not found 2022-07-09T21:37:00.502Z DEBUG vopono::exec > vopono config.toml: enum Protocol does not have variant constructor UDP 2022-07-09T21:37:00.502Z DEBUG vopono_core::util > Using config dir from $HOME config: /home/pi/.config 2022-07-09T21:37:00.503Z DEBUG vopono::exec > vopono config.toml: configuration property "interface" not found 2022-07-09T21:37:00.503Z DEBUG vopono_core::network::network_interface > ip addr 2022-07-09T21:37:00.512Z DEBUG vopono::exec > Interface: eth0 2022-07-09T21:37:00.512Z DEBUG vopono_core::util > Using config dir from $HOME config: /home/pi/.config 2022-07-09T21:37:00.578Z INFO vopono_core::util > Chosen config: /home/pi/.config/vopono/nordvpn/openvpn/spain-es172.ovpn 2022-07-09T21:37:00.582Z DEBUG vopono_core::util > Existing namespaces: [] 2022-07-09T21:37:00.582Z DEBUG vopono_core::util > ip netns add vopono_nordvpn_spain 2022-07-09T21:37:00.593Z INFO vopono_core::network::netns > Created new network namespace: vopono_nordvpn_spain 2022-07-09T21:37:00.600Z DEBUG vopono_core::util > Existing interfaces: 2022-07-09T21:37:00.602Z DEBUG vopono_core::util > Assigned IPs: [] 2022-07-09T21:37:00.602Z DEBUG vopono_core::network::netns > ip netns exec vopono_nordvpn_spain ip addr add 127.0.0.1/8 dev lo 2022-07-09T21:37:00.612Z DEBUG vopono_core::network::netns > ip netns exec vopono_nordvpn_spain ip link set lo up 2022-07-09T21:37:00.623Z DEBUG vopono_core::network::veth_pair > NetworkManager not detected running 2022-07-09T21:37:00.623Z DEBUG vopono_core::network::veth_pair > firewalld not detected running 2022-07-09T21:37:00.623Z DEBUG vopono_core::util > ip link add nordvpn_spain_d type veth peer name nordvpn_spain_s 2022-07-09T21:37:00.632Z DEBUG vopono_core::util > ip link set nordvpn_spain_d up 2022-07-09T21:37:00.638Z DEBUG vopono_core::util > ip link set nordvpn_spain_s netns vopono_nordvpn_spain up 2022-07-09T21:37:00.668Z DEBUG vopono_core::util > ip addr add 10.200.1.1/24 dev nordvpn_spain_d 2022-07-09T21:37:00.674Z DEBUG vopono_core::network::netns > ip netns exec vopono_nordvpn_spain ip addr add 10.200.1.2/24 dev nordvpn_spain_s 2022-07-09T21:37:00.684Z DEBUG vopono_core::network::netns > ip netns exec vopono_nordvpn_spain ip route add default via 10.200.1.1 dev nordvpn_spain_s 2022-07-09T21:37:00.692Z INFO vopono_core::network::netns > IP address of namespace as seen from host: 10.200.1.2 2022-07-09T21:37:00.692Z INFO vopono_core::network::netns > IP address of host as seen from namespace: 10.200.1.1 2022-07-09T21:37:00.692Z DEBUG vopono_core::util > nft add table inet vopono_nat 2022-07-09T21:37:00.701Z DEBUG vopono_core::util > nft add chain inet vopono_nat postrouting { type nat hook postrouting priority 100 ; } 2022-07-09T21:37:00.713Z DEBUG vopono_core::util > nft add rule inet vopono_nat postrouting oifname eth0 ip saddr 10.200.1.0/24 counter masquerade 2022-07-09T21:37:00.730Z DEBUG vopono_core::util > nft add table inet vopono_bridge 2022-07-09T21:37:00.749Z DEBUG vopono_core::util > nft add chain inet vopono_bridge forward { type filter hook forward priority -10 ; } 2022-07-09T21:37:00.759Z DEBUG vopono_core::util > nft add rule inet vopono_bridge forward iifname nordvpn_spain_d oifname eth0 counter accept 2022-07-09T21:37:00.768Z DEBUG vopono_core::util > nft add rule inet vopono_bridge forward oifname nordvpn_spain_d iifname eth0 counter accept 2022-07-09T21:37:00.776Z DEBUG vopono_core::util > sysctl -q net.ipv4.ip_forward=1 2022-07-09T21:37:00.779Z DEBUG vopono_core::util > Using config dir from $HOME config: /home/pi/.config 2022-07-09T21:37:00.779Z DEBUG vopono_core::config::vpn > Read auth file: /home/pi/.config/vopono/nordvpn/openvpn/auth.txt 2022-07-09T21:37:00.779Z DEBUG vopono_core::network::dns_config > Setting namespace vopono_nordvpn_spain DNS server to 103.86.96.100, 103.86.99.100 2022-07-09T21:37:00.784Z INFO vopono_core::network::openvpn > Launching OpenVPN... 2022-07-09T21:37:00.784Z DEBUG vopono_core::network::openvpn > Detected IPv6 enabled in /sys/module/ipv6/parameters/disable 2022-07-09T21:37:00.785Z DEBUG vopono_core::network::openvpn > Found remotes: [Remote { host: IPv4(31.13.188.155), port: 1194, protocol: UDP }] 2022-07-09T21:37:00.785Z DEBUG vopono_core::network::netns > ip netns exec vopono_nordvpn_spain openvpn --config /home/pi/.config/vopono/nordvpn/openvpn/spain-es172.ovpn --machine-readable-output --log /etc/netns/vopono_nordvpn_spain/openvpn.log --auth-user-pass /home/pi/.config/vopono/nordvpn/openvpn/auth.txt --pull-filter ignore block-outside-dns 2022-07-09T21:37:00.800Z DEBUG vopono_core::network::openvpn > 1657402620.800491 40 DEPRECATED OPTION: --cipher set to 'AES-256-CBC' but missing in --data-ciphers (AES-256-GCM:AES-128-GCM). Future OpenVPN version will ignore --cipher for cipher negotiations. Add 'AES-256-CBC' to --data-ciphers or change --cipher 'AES-256-CBC' to --data-ciphers-fallback 'AES-256-CBC' to silence this warning. 2022-07-09T21:37:00.801Z DEBUG vopono_core::network::openvpn > 1657402620.801026 40 WARNING: file '/home/pi/.config/vopono/nordvpn/openvpn/auth.txt' is group or others accessible 2022-07-09T21:37:00.801Z DEBUG vopono_core::network::openvpn > 1657402620.801076 1 OpenVPN 2.5.1 arm-unknown-linux-gnueabihf [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on May 14 2021 2022-07-09T21:37:00.801Z DEBUG vopono_core::network::openvpn > 1657402620.801112 1 library versions: OpenSSL 1.1.1n 15 Mar 2022, LZO 2.10 2022-07-09T21:37:00.801Z DEBUG vopono_core::network::openvpn > 1657402620.801613 40 WARNING: --ping should normally be used with --ping-restart or --ping-exit 2022-07-09T21:37:00.803Z DEBUG vopono_core::network::openvpn > 1657402620.803106 14000002 Outgoing Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication 2022-07-09T21:37:00.803Z DEBUG vopono_core::network::openvpn > 1657402620.803193 14000002 Incoming Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication 2022-07-09T21:37:00.803Z DEBUG vopono_core::network::openvpn > 1657402620.803609 1 TCP/UDP: Preserving recently used remote address: [AF_INET]31.13.188.155:1194 2022-07-09T21:37:00.803Z DEBUG vopono_core::network::openvpn > 1657402620.803698 2b000003 Socket Buffers: R=[212992->212992] S=[212992->212992] 2022-07-09T21:37:00.803Z DEBUG vopono_core::network::openvpn > 1657402620.803718 1 UDP link local: (not bound) 2022-07-09T21:37:00.803Z DEBUG vopono_core::network::openvpn > 1657402620.803735 1 UDP link remote: [AF_INET]31.13.188.155:1194 2022-07-09T21:37:00.847Z DEBUG vopono_core::network::openvpn > 1657402620.847252 14000003 TLS: Initial packet from [AF_INET]31.13.188.155:1194, sid=09019893 f590416d 2022-07-09T21:37:00.945Z DEBUG vopono_core::network::openvpn > 1657402620.944940 14000002 VERIFY OK: depth=2, C=PA, O=NordVPN, CN=NordVPN Root CA 2022-07-09T21:37:00.945Z DEBUG vopono_core::network::openvpn > 1657402620.945920 14000002 VERIFY OK: depth=1, C=PA, O=NordVPN, CN=NordVPN CA7 2022-07-09T21:37:00.946Z DEBUG vopono_core::network::openvpn > 1657402620.946761 14000002 VERIFY KU OK 2022-07-09T21:37:00.946Z DEBUG vopono_core::network::openvpn > 1657402620.946787 14000002 Validating certificate extended key usage 2022-07-09T21:37:00.946Z DEBUG vopono_core::network::openvpn > 1657402620.946831 14000002 ++ Certificate has EKU (str) TLS Web Server Authentication, expects TLS Web Server Authentication 2022-07-09T21:37:00.946Z DEBUG vopono_core::network::openvpn > 1657402620.946852 14000002 VERIFY EKU OK 2022-07-09T21:37:00.946Z DEBUG vopono_core::network::openvpn > 1657402620.946866 14000002 VERIFY OK: depth=0, CN=es172.nordvpn.com 2022-07-09T21:37:02.603Z DEBUG vopono_core::network::openvpn > 1657402622.603850 14000002 Control Channel: TLSv1.3, cipher TLSv1.3 TLS_AES_256_GCM_SHA384, 4096 bit RSA 2022-07-09T21:37:02.604Z DEBUG vopono_core::network::openvpn > 1657402622.603957 1 [es172.nordvpn.com] Peer Connection Initiated with [AF_INET]31.13.188.155:1194 2022-07-09T21:37:03.835Z DEBUG vopono_core::network::openvpn > 1657402623.834974 22000003 SENT CONTROL [es172.nordvpn.com]: 'PUSH_REQUEST' (status=1) 2022-07-09T21:37:03.879Z DEBUG vopono_core::network::openvpn > 1657402623.876683 22000003 PUSH: Received control message: 'PUSH_REPLY,redirect-gateway def1,dhcp-option DNS 103.86.96.100,dhcp-option DNS 103.86.99.100,sndbuf 524288,rcvbuf 524288,explicit-exit-notify,comp-lzo no,route-gateway 10.8.2.1,topology subnet,ping 60,ping-restart 180,ifconfig 10.8.2.3 255.255.255.0,peer-id 1,cipher AES-256-GCM' 2022-07-09T21:37:03.879Z DEBUG vopono_core::network::openvpn > Found OpenVPN DNS response: 103.86.96.100 2022-07-09T21:37:03.879Z DEBUG vopono_core::network::openvpn > Set OpenVPN DNS to: 103.86.96.100 2022-07-09T21:37:03.879Z DEBUG vopono_core::network::openvpn > 1657402623.876954 22000003 OPTIONS IMPORT: timers and/or timeouts modified 2022-07-09T21:37:03.879Z DEBUG vopono_core::network::openvpn > 1657402623.876975 22000003 OPTIONS IMPORT: explicit notify parm(s) modified 2022-07-09T21:37:03.879Z DEBUG vopono_core::network::openvpn > 1657402623.876988 22000003 OPTIONS IMPORT: compression parms modified 2022-07-09T21:37:03.879Z DEBUG vopono_core::network::openvpn > 1657402623.877002 22000003 OPTIONS IMPORT: --sndbuf/--rcvbuf options modified 2022-07-09T21:37:03.879Z DEBUG vopono_core::network::openvpn > 1657402623.877035 2b000003 Socket Buffers: R=[212992->425984] S=[212992->425984] 2022-07-09T21:37:03.879Z DEBUG vopono_core::network::openvpn > 1657402623.877048 22000003 OPTIONS IMPORT: --ifconfig/up options modified 2022-07-09T21:37:03.879Z DEBUG vopono_core::network::openvpn > 1657402623.877060 22000003 OPTIONS IMPORT: route options modified 2022-07-09T21:37:03.879Z DEBUG vopono_core::network::openvpn > 1657402623.877072 22000003 OPTIONS IMPORT: route-related options modified 2022-07-09T21:37:03.879Z DEBUG vopono_core::network::openvpn > 1657402623.877085 22000003 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified 2022-07-09T21:37:03.879Z DEBUG vopono_core::network::openvpn > 1657402623.877097 22000003 OPTIONS IMPORT: peer-id set 2022-07-09T21:37:03.879Z DEBUG vopono_core::network::openvpn > 1657402623.877109 22000003 OPTIONS IMPORT: adjusting link_mtu to 1657 2022-07-09T21:37:03.879Z DEBUG vopono_core::network::openvpn > 1657402623.877122 22000003 OPTIONS IMPORT: data channel crypto options modified 2022-07-09T21:37:03.879Z DEBUG vopono_core::network::openvpn > 1657402623.877138 14000002 Data Channel: using negotiated cipher 'AES-256-GCM' 2022-07-09T21:37:03.879Z DEBUG vopono_core::network::openvpn > 1657402623.877320 14000002 Outgoing Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key 2022-07-09T21:37:03.879Z DEBUG vopono_core::network::openvpn > 1657402623.877343 14000002 Incoming Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key 2022-07-09T21:37:03.879Z DEBUG vopono_core::network::openvpn > 1657402623.877396 3 net_route_v4_best_gw query: dst 0.0.0.0 2022-07-09T21:37:03.879Z DEBUG vopono_core::network::openvpn > 1657402623.877783 3 net_route_v4_best_gw result: via 10.200.1.1 dev nordvpn_spain_s 2022-07-09T21:37:03.879Z DEBUG vopono_core::network::openvpn > 1657402623.877873 3 ROUTE_GATEWAY 10.200.1.1/255.255.255.0 IFACE=nordvpn_spain_s HWADDR=8e:41:14:4e:cc:84 2022-07-09T21:37:03.879Z DEBUG vopono_core::network::openvpn > 1657402623.878623 1 TUN/TAP device tun0 opened 2022-07-09T21:37:03.879Z DEBUG vopono_core::network::openvpn > 1657402623.878923 1 net_iface_mtu_set: mtu 1500 for tun0 2022-07-09T21:37:03.880Z DEBUG vopono_core::network::openvpn > 1657402623.879177 1 net_iface_up: set tun0 up 2022-07-09T21:37:03.880Z DEBUG vopono_core::network::openvpn > 1657402623.879677 1 net_addr_v4_add: 10.8.2.3/24 dev tun0 2022-07-09T21:37:03.880Z DEBUG vopono_core::network::openvpn > 1657402623.879936 3 net_route_v4_add: 31.13.188.155/32 via 10.200.1.1 dev [NULL] table 0 metric -1 2022-07-09T21:37:03.880Z DEBUG vopono_core::network::openvpn > 1657402623.880052 3 net_route_v4_add: 0.0.0.0/1 via 10.8.2.1 dev [NULL] table 0 metric -1 2022-07-09T21:37:03.880Z DEBUG vopono_core::network::openvpn > 1657402623.880139 3 net_route_v4_add: 128.0.0.0/1 via 10.8.2.1 dev [NULL] table 0 metric -1 2022-07-09T21:37:03.880Z DEBUG vopono_core::network::openvpn > 1657402623.880243 40 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this 2022-07-09T21:37:03.880Z DEBUG vopono_core::network::openvpn > 1657402623.880266 1 Initialization Sequence Completed 2022-07-09T21:37:03.880Z DEBUG vopono_core::network::netns > ip netns exec vopono_nordvpn_spain nft add table inet vopono_nordvpn_spain Bind /etc/netns/vopono_nordvpn_spain/openvpn.log -> /etc/openvpn.log failed: No such file or directory 2022-07-09T21:37:03.892Z DEBUG vopono_core::network::netns > ip netns exec vopono_nordvpn_spain nft add chain inet vopono_nordvpn_spain input { type filter hook input priority 100 ; } Bind /etc/netns/vopono_nordvpn_spain/openvpn.log -> /etc/openvpn.log failed: No such file or directory 2022-07-09T21:37:03.904Z DEBUG vopono_core::network::netns > ip netns exec vopono_nordvpn_spain nft insert rule inet vopono_nordvpn_spain input tcp dport 9117 counter accept Bind /etc/netns/vopono_nordvpn_spain/openvpn.log -> /etc/openvpn.log failed: No such file or directory 2022-07-09T21:37:03.913Z DEBUG vopono_core::network::netns > ip netns exec vopono_nordvpn_spain nft add chain inet vopono_nordvpn_spain output { type filter hook output priority 100 ; } Bind /etc/netns/vopono_nordvpn_spain/openvpn.log -> /etc/openvpn.log failed: No such file or directory 2022-07-09T21:37:03.921Z DEBUG vopono_core::network::netns > ip netns exec vopono_nordvpn_spain nft insert rule inet vopono_nordvpn_spain output tcp sport 9117 counter accept Bind /etc/netns/vopono_nordvpn_spain/openvpn.log -> /etc/openvpn.log failed: No such file or directory 2022-07-09T21:37:03.929Z DEBUG vopono_core::network::openvpn > Setting OpenVPN killswitch.... 2022-07-09T21:37:03.929Z DEBUG vopono_core::network::netns > ip netns exec vopono_nordvpn_spain nft add table inet vopono_nordvpn_spain Bind /etc/netns/vopono_nordvpn_spain/openvpn.log -> /etc/openvpn.log failed: No such file or directory 2022-07-09T21:37:03.940Z DEBUG vopono_core::network::netns > ip netns exec vopono_nordvpn_spain nft add chain inet vopono_nordvpn_spain input { type filter hook input priority 100 ; policy drop; } Bind /etc/netns/vopono_nordvpn_spain/openvpn.log -> /etc/openvpn.log failed: No such file or directory 2022-07-09T21:37:03.950Z DEBUG vopono_core::network::netns > ip netns exec vopono_nordvpn_spain nft add chain inet vopono_nordvpn_spain forward { type filter hook forward priority 100 ; policy drop; } Bind /etc/netns/vopono_nordvpn_spain/openvpn.log -> /etc/openvpn.log failed: No such file or directory 2022-07-09T21:37:03.961Z DEBUG vopono_core::network::netns > ip netns exec vopono_nordvpn_spain nft add chain inet vopono_nordvpn_spain output { type filter hook output priority 100 ; policy drop; } Bind /etc/netns/vopono_nordvpn_spain/openvpn.log -> /etc/openvpn.log failed: No such file or directory 2022-07-09T21:37:03.972Z DEBUG vopono_core::network::netns > ip netns exec vopono_nordvpn_spain nft add rule inet vopono_nordvpn_spain input ct state related,established counter accept Bind /etc/netns/vopono_nordvpn_spain/openvpn.log -> /etc/openvpn.log failed: No such file or directory 2022-07-09T21:37:03.986Z DEBUG vopono_core::network::netns > ip netns exec vopono_nordvpn_spain nft add rule inet vopono_nordvpn_spain input iifname "lo" counter accept Bind /etc/netns/vopono_nordvpn_spain/openvpn.log -> /etc/openvpn.log failed: No such file or directory 2022-07-09T21:37:03.999Z DEBUG vopono_core::network::netns > ip netns exec vopono_nordvpn_spain nft add rule inet vopono_nordvpn_spain input iifname "tun" counter accept Bind /etc/netns/vopono_nordvpn_spain/openvpn.log -> /etc/openvpn.log failed: No such file or directory 2022-07-09T21:37:04.019Z DEBUG vopono_core::network::netns > ip netns exec vopono_nordvpn_spain nft add rule inet vopono_nordvpn_spain output oifname "lo" counter accept Bind /etc/netns/vopono_nordvpn_spain/openvpn.log -> /etc/openvpn.log failed: No such file or directory 2022-07-09T21:37:04.034Z DEBUG vopono_core::network::netns > ip netns exec vopono_nordvpn_spain nft add rule inet vopono_nordvpn_spain output ip daddr 31.13.188.155 udp dport 1194 counter accept Bind /etc/netns/vopono_nordvpn_spain/openvpn.log -> /etc/openvpn.log failed: No such file or directory 2022-07-09T21:37:04.050Z DEBUG vopono_core::network::netns > ip netns exec vopono_nordvpn_spain nft add rule inet vopono_nordvpn_spain output oifname "tun" counter accept Bind /etc/netns/vopono_nordvpn_spain/openvpn.log -> /etc/openvpn.log failed: No such file or directory 2022-07-09T21:37:04.061Z DEBUG vopono_core::network::netns > ip netns exec vopono_nordvpn_spain nft add rule inet vopono_nordvpn_spain output counter reject with icmp type net-unreachable Bind /etc/netns/vopono_nordvpn_spain/openvpn.log -> /etc/openvpn.log failed: No such file or directory 2022-07-09T21:37:04.070Z DEBUG vopono::exec > Checking that OpenVPN is running in namespace: vopono_nordvpn_spain 2022-07-09T21:37:04.096Z DEBUG vopono_core::network::dns_config > Setting namespace vopono_nordvpn_spain DNS server to 103.86.96.100 2022-07-09T21:37:04.099Z DEBUG vopono_core::util > Using config dir from $HOME config: /home/pi/.config 2022-07-09T21:37:04.100Z DEBUG vopono_core::network::netns > Writing lockfile: /home/pi/.config/vopono/locks/vopono_nordvpn_spain 2022-07-09T21:37:04.100Z DEBUG vopono_core::network::netns > Lockfile written: /home/pi/.config/vopono/locks/vopono_nordvpn_spain/4179 2022-07-09T21:37:04.100Z DEBUG vopono_core::util > Using config dir from $HOME config: /home/pi/.config 2022-07-09T21:37:04.459Z DEBUG vopono_core::network::netns > ip netns exec vopono_nordvpn_spain sudo -Eu jackett /home/pi/Downloads/Jackett --NoRestart --NoUpdates --DataFolder /home/pi/Downloads/Jackett 2022-07-09T21:37:04.473Z DEBUG vopono::exec > Forwarding port: 9117, 10.200.1.2 2022-07-09T21:37:04.473Z INFO vopono::exec > Application /home/pi/Downloads/Jackett --NoRestart --NoUpdates --DataFolder /home/pi/Downloads/Jackett launched in network namespace vopono_nordvpn_spain with pid 4251 Bind /etc/netns/vopono_nordvpn_spain/openvpn.log -> /etc/openvpn.log failed: No such file or directory sudo: unknown user: jackett sudo: error initializing audit plugin sudoers_audit 2022-07-09T21:37:04.684Z DEBUG vopono_core::util > Using config dir from $HOME config: /home/pi/.config 2022-07-09T21:37:04.686Z DEBUG vopono_core::util > Using config dir from $HOME config: /home/pi/.config 2022-07-09T21:37:04.688Z INFO vopono_core::network::netns > Shutting down vopono namespace - as there are no processes left running inside 2022-07-09T21:37:04.688Z DEBUG vopono_core::network::openvpn > Killed OpenVPN (pid: 4232) 2022-07-09T21:37:04.688Z DEBUG vopono_core::util > ip link delete nordvpn_spain_d 2022-07-09T21:37:04.778Z DEBUG vopono_core::util > Using config dir from $HOME config: /home/pi/.config 2022-07-09T21:37:04.778Z DEBUG vopono_core::network::host_masquerade > Remaining namespaces: Ok({}) 2022-07-09T21:37:04.778Z DEBUG vopono_core::util > nft delete table inet vopono_nat 2022-07-09T21:37:04.794Z DEBUG vopono_core::util > Using config dir from $HOME config: /home/pi/.config 2022-07-09T21:37:04.795Z DEBUG vopono_core::network::host_masquerade > Remaining namespaces: Ok({}) 2022-07-09T21:37:04.795Z DEBUG vopono_core::util > nft delete table inet vopono_bridge 2022-07-09T21:37:04.807Z DEBUG vopono_core::util > ip netns delete vopono_nordvpn_spain pi@raspberrypi:~ $

i put this in my config file

firewall = "NfTables" provider = "NordVpn" protocol = "UDP" server = "Spain" open_ports = "1194"

i have nord vpn account*

i still can't run this ...

jamesmcm commented 2 years ago

Yeah, the issue is that the jackett user doesn't exist:

sudo: unknown user: jackett

You will need to create it and configure Jackett first. I'd recommend doing that outside vopono to begin with and then using vopono once it's set up and ready to add searches.

arashtotti88 commented 2 years ago

so i need to create a user which call jackett and edit jackett config file to be run on jackett user

then i run again the code

$ vopono -v exec --provider nordvpn --server spain -u jackett "/home/pi/Downloads/Jackett --NoRestart --NoUpdates --DataFolder /home/pi/Downloads/Jackett" -f 9117

correct ?

arashtotti88 commented 2 years ago

$ vopono -v exec --provider nordvpn --server sweden -u jackett "/home/pi/Downloads/jackett --NoRestart --NoUpdates --DataFolder jackett" -f 9117 2022-07-09T22:20:01.276Z DEBUG vopono_core::util > Using config dir from $HOME config: /home/pi/.config 2022-07-09T22:20:01.302Z DEBUG vopono_core::util::pulseaudio > Setting PULSE_SERVER to /run/user/1000/pulse/native 2022-07-09T22:20:01.302Z INFO vopono_core::util > Calling sudo for elevated privileges, current user will be used as default user 2022-07-09T22:20:01.302Z DEBUG vopono_core::util > Args: ["vopono", "-v", "exec", "--provider", "nordvpn", "--server", "sweden", "-u", "jackett", "/home/pi/Downloads/jackett --NoRestart --NoUpdates --DataFolder jackett", "-f", "9117"] 2022-07-09T22:20:01.433Z DEBUG vopono_core::util > Using config dir from $HOME config: /home/pi/.config 2022-07-09T22:20:01.453Z DEBUG vopono_core::util::pulseaudio > Setting PULSE_SERVER to /run/user/1000/pulse/native 2022-07-09T22:20:01.453Z DEBUG vopono_core::util > Using config dir from $HOME config: /home/pi/.config 2022-07-09T22:20:01.457Z DEBUG vopono_core::util > Existing namespaces: [] 2022-07-09T22:20:01.457Z DEBUG vopono_core::util > Using config dir from $HOME config: /home/pi/.config 2022-07-09T22:20:01.457Z DEBUG vopono_core::util > Using config dir from $HOME config: /home/pi/.config 2022-07-09T22:20:01.458Z DEBUG vopono::exec > vopono config.toml: configuration property "custom_config" not found 2022-07-09T22:20:01.458Z DEBUG vopono::exec > vopono config.toml: configuration property "postup" not found 2022-07-09T22:20:01.458Z DEBUG vopono::exec > vopono config.toml: configuration property "predown" not found 2022-07-09T22:20:01.458Z DEBUG vopono::exec > vopono config.toml: configuration property "dns" not found 2022-07-09T22:20:01.458Z DEBUG vopono::exec > vopono config.toml: enum Protocol does not have variant constructor UDP 2022-07-09T22:20:01.458Z DEBUG vopono_core::util > Using config dir from $HOME config: /home/pi/.config 2022-07-09T22:20:01.458Z DEBUG vopono::exec > vopono config.toml: configuration property "interface" not found 2022-07-09T22:20:01.458Z DEBUG vopono_core::network::network_interface > ip addr 2022-07-09T22:20:01.468Z DEBUG vopono::exec > Interface: eth0 2022-07-09T22:20:01.468Z DEBUG vopono_core::util > Using config dir from $HOME config: /home/pi/.config 2022-07-09T22:20:01.549Z INFO vopono_core::util > Chosen config: /home/pi/.config/vopono/nordvpn/openvpn/sweden-se545.ovpn 2022-07-09T22:20:01.555Z DEBUG vopono_core::util > Existing namespaces: [] 2022-07-09T22:20:01.555Z DEBUG vopono_core::util > ip netns add vopono_nordvpn_sweden 2022-07-09T22:20:01.575Z INFO vopono_core::network::netns > Created new network namespace: vopono_nordvpn_sweden 2022-07-09T22:20:01.580Z DEBUG vopono_core::util > Existing interfaces: 2022-07-09T22:20:01.581Z DEBUG vopono_core::util > Assigned IPs: [] 2022-07-09T22:20:01.581Z DEBUG vopono_core::network::netns > ip netns exec vopono_nordvpn_sweden ip addr add 127.0.0.1/8 dev lo 2022-07-09T22:20:01.598Z DEBUG vopono_core::network::netns > ip netns exec vopono_nordvpn_sweden ip link set lo up 2022-07-09T22:20:01.608Z DEBUG vopono_core::network::veth_pair > NetworkManager not detected running 2022-07-09T22:20:01.608Z DEBUG vopono_core::network::veth_pair > firewalld not detected running 2022-07-09T22:20:01.608Z DEBUG vopono_core::util > ip link add nordvpn_swede_d type veth peer name nordvpn_swede_s 2022-07-09T22:20:01.620Z DEBUG vopono_core::util > ip link set nordvpn_swede_d up 2022-07-09T22:20:01.628Z DEBUG vopono_core::util > ip link set nordvpn_swede_s netns vopono_nordvpn_sweden up 2022-07-09T22:20:01.672Z DEBUG vopono_core::util > ip addr add 10.200.1.1/24 dev nordvpn_swede_d 2022-07-09T22:20:01.687Z DEBUG vopono_core::network::netns > ip netns exec vopono_nordvpn_sweden ip addr add 10.200.1.2/24 dev nordvpn_swede_s 2022-07-09T22:20:01.710Z DEBUG vopono_core::network::netns > ip netns exec vopono_nordvpn_sweden ip route add default via 10.200.1.1 dev nordvpn_swede_s 2022-07-09T22:20:01.721Z INFO vopono_core::network::netns > IP address of namespace as seen from host: 10.200.1.2 2022-07-09T22:20:01.721Z INFO vopono_core::network::netns > IP address of host as seen from namespace: 10.200.1.1 2022-07-09T22:20:01.721Z DEBUG vopono_core::util > nft add table inet vopono_nat 2022-07-09T22:20:01.730Z DEBUG vopono_core::util > nft add chain inet vopono_nat postrouting { type nat hook postrouting priority 100 ; } 2022-07-09T22:20:01.740Z DEBUG vopono_core::util > nft add rule inet vopono_nat postrouting oifname eth0 ip saddr 10.200.1.0/24 counter masquerade 2022-07-09T22:20:01.749Z DEBUG vopono_core::util > nft add table inet vopono_bridge 2022-07-09T22:20:01.755Z DEBUG vopono_core::util > nft add chain inet vopono_bridge forward { type filter hook forward priority -10 ; } 2022-07-09T22:20:01.764Z DEBUG vopono_core::util > nft add rule inet vopono_bridge forward iifname nordvpn_swede_d oifname eth0 counter accept 2022-07-09T22:20:01.774Z DEBUG vopono_core::util > nft add rule inet vopono_bridge forward oifname nordvpn_swede_d iifname eth0 counter accept 2022-07-09T22:20:01.787Z DEBUG vopono_core::util > sysctl -q net.ipv4.ip_forward=1 2022-07-09T22:20:01.792Z DEBUG vopono_core::util > Using config dir from $HOME config: /home/pi/.config 2022-07-09T22:20:01.792Z DEBUG vopono_core::config::vpn > Read auth file: /home/pi/.config/vopono/nordvpn/openvpn/auth.txt 2022-07-09T22:20:01.795Z DEBUG vopono_core::network::dns_config > Setting namespace vopono_nordvpn_sweden DNS server to 103.86.96.100, 103.86.99.100 2022-07-09T22:20:01.801Z INFO vopono_core::network::openvpn > Launching OpenVPN... 2022-07-09T22:20:01.801Z DEBUG vopono_core::network::openvpn > Detected IPv6 enabled in /sys/module/ipv6/parameters/disable 2022-07-09T22:20:01.802Z DEBUG vopono_core::network::openvpn > Found remotes: [Remote { host: IPv4(185.219.140.7), port: 1194, protocol: UDP }] 2022-07-09T22:20:01.802Z DEBUG vopono_core::network::netns > ip netns exec vopono_nordvpn_sweden openvpn --config /home/pi/.config/vopono/nordvpn/openvpn/sweden-se545.ovpn --machine-readable-output --log /etc/netns/vopono_nordvpn_sweden/openvpn.log --auth-user-pass /home/pi/.config/vopono/nordvpn/openvpn/auth.txt --pull-filter ignore block-outside-dns 2022-07-09T22:20:01.831Z DEBUG vopono_core::network::openvpn > 1657405201.827837 40 DEPRECATED OPTION: --cipher set to 'AES-256-CBC' but missing in --data-ciphers (AES-256-GCM:AES-128-GCM). Future OpenVPN version will ignore --cipher for cipher negotiations. Add 'AES-256-CBC' to --data-ciphers or change --cipher 'AES-256-CBC' to --data-ciphers-fallback 'AES-256-CBC' to silence this warning. 2022-07-09T22:20:01.832Z DEBUG vopono_core::network::openvpn > 1657405201.828687 40 WARNING: file '/home/pi/.config/vopono/nordvpn/openvpn/auth.txt' is group or others accessible 2022-07-09T22:20:01.832Z DEBUG vopono_core::network::openvpn > 1657405201.828962 1 OpenVPN 2.5.1 arm-unknown-linux-gnueabihf [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on May 14 2021 2022-07-09T22:20:01.832Z DEBUG vopono_core::network::openvpn > 1657405201.829015 1 library versions: OpenSSL 1.1.1n 15 Mar 2022, LZO 2.10 2022-07-09T22:20:01.832Z DEBUG vopono_core::network::openvpn > 1657405201.829567 40 WARNING: --ping should normally be used with --ping-restart or --ping-exit 2022-07-09T22:20:01.833Z DEBUG vopono_core::network::openvpn > 1657405201.832435 14000002 Outgoing Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication 2022-07-09T22:20:01.833Z DEBUG vopono_core::network::openvpn > 1657405201.832538 14000002 Incoming Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication 2022-07-09T22:20:01.833Z DEBUG vopono_core::network::openvpn > 1657405201.832978 1 TCP/UDP: Preserving recently used remote address: [AF_INET]185.219.140.7:1194 2022-07-09T22:20:01.833Z DEBUG vopono_core::network::openvpn > 1657405201.833087 2b000003 Socket Buffers: R=[212992->212992] S=[212992->212992] 2022-07-09T22:20:01.834Z DEBUG vopono_core::network::openvpn > 1657405201.833110 1 UDP link local: (not bound) 2022-07-09T22:20:01.834Z DEBUG vopono_core::network::openvpn > 1657405201.833128 1 UDP link remote: [AF_INET]185.219.140.7:1194 2022-07-09T22:20:01.878Z DEBUG vopono_core::network::openvpn > 1657405201.877508 14000003 TLS: Initial packet from [AF_INET]185.219.140.7:1194, sid=5a256396 2f668f48 2022-07-09T22:20:01.979Z DEBUG vopono_core::network::openvpn > 1657405201.972147 14000002 VERIFY OK: depth=2, C=PA, O=NordVPN, CN=NordVPN Root CA 2022-07-09T22:20:01.979Z DEBUG vopono_core::network::openvpn > 1657405201.974360 14000002 VERIFY OK: depth=1, C=PA, O=NordVPN, CN=NordVPN CA7 2022-07-09T22:20:01.979Z DEBUG vopono_core::network::openvpn > 1657405201.976133 14000002 VERIFY KU OK 2022-07-09T22:20:01.979Z DEBUG vopono_core::network::openvpn > 1657405201.976325 14000002 Validating certificate extended key usage 2022-07-09T22:20:01.979Z DEBUG vopono_core::network::openvpn > 1657405201.976353 14000002 ++ Certificate has EKU (str) TLS Web Server Authentication, expects TLS Web Server Authentication 2022-07-09T22:20:01.979Z DEBUG vopono_core::network::openvpn > 1657405201.976370 14000002 VERIFY EKU OK 2022-07-09T22:20:01.979Z DEBUG vopono_core::network::openvpn > 1657405201.976387 14000002 VERIFY OK: depth=0, CN=se545.nordvpn.com 2022-07-09T22:20:03.048Z DEBUG vopono_core::network::openvpn > 1657405203.048680 14000002 Control Channel: TLSv1.3, cipher TLSv1.3 TLS_AES_256_GCM_SHA384, 4096 bit RSA 2022-07-09T22:20:03.048Z DEBUG vopono_core::network::openvpn > 1657405203.048786 1 [se545.nordvpn.com] Peer Connection Initiated with [AF_INET]185.219.140.7:1194 2022-07-09T22:20:04.149Z DEBUG vopono_core::network::openvpn > 1657405204.149912 22000003 SENT CONTROL [se545.nordvpn.com]: 'PUSH_REQUEST' (status=1) 2022-07-09T22:20:04.193Z DEBUG vopono_core::network::openvpn > 1657405204.193013 22000003 PUSH: Received control message: 'PUSH_REPLY,redirect-gateway def1,dhcp-option DNS 103.86.96.100,dhcp-option DNS 103.86.99.100,sndbuf 524288,rcvbuf 524288,explicit-exit-notify,comp-lzo no,route-gateway 10.8.0.1,topology subnet,ping 60,ping-restart 180,ifconfig 10.8.0.7 255.255.255.0,peer-id 5,cipher AES-256-GCM' 2022-07-09T22:20:04.193Z DEBUG vopono_core::network::openvpn > Found OpenVPN DNS response: 103.86.96.100 2022-07-09T22:20:04.193Z DEBUG vopono_core::network::openvpn > Set OpenVPN DNS to: 103.86.96.100 2022-07-09T22:20:04.193Z DEBUG vopono_core::network::openvpn > 1657405204.193238 22000003 OPTIONS IMPORT: timers and/or timeouts modified 2022-07-09T22:20:04.193Z DEBUG vopono_core::network::openvpn > 1657405204.193260 22000003 OPTIONS IMPORT: explicit notify parm(s) modified 2022-07-09T22:20:04.193Z DEBUG vopono_core::network::openvpn > 1657405204.193273 22000003 OPTIONS IMPORT: compression parms modified 2022-07-09T22:20:04.193Z DEBUG vopono_core::network::openvpn > 1657405204.193287 22000003 OPTIONS IMPORT: --sndbuf/--rcvbuf options modified 2022-07-09T22:20:04.193Z DEBUG vopono_core::network::openvpn > 1657405204.193320 2b000003 Socket Buffers: R=[212992->425984] S=[212992->425984] 2022-07-09T22:20:04.193Z DEBUG vopono_core::network::openvpn > 1657405204.193333 22000003 OPTIONS IMPORT: --ifconfig/up options modified 2022-07-09T22:20:04.193Z DEBUG vopono_core::network::openvpn > 1657405204.193345 22000003 OPTIONS IMPORT: route options modified 2022-07-09T22:20:04.193Z DEBUG vopono_core::network::openvpn > 1657405204.193358 22000003 OPTIONS IMPORT: route-related options modified 2022-07-09T22:20:04.193Z DEBUG vopono_core::network::openvpn > 1657405204.193370 22000003 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified 2022-07-09T22:20:04.193Z DEBUG vopono_core::network::openvpn > 1657405204.193382 22000003 OPTIONS IMPORT: peer-id set 2022-07-09T22:20:04.193Z DEBUG vopono_core::network::openvpn > 1657405204.193395 22000003 OPTIONS IMPORT: adjusting link_mtu to 1657 2022-07-09T22:20:04.193Z DEBUG vopono_core::network::openvpn > 1657405204.193408 22000003 OPTIONS IMPORT: data channel crypto options modified 2022-07-09T22:20:04.193Z DEBUG vopono_core::network::openvpn > 1657405204.193424 14000002 Data Channel: using negotiated cipher 'AES-256-GCM' 2022-07-09T22:20:04.193Z DEBUG vopono_core::network::openvpn > 1657405204.193596 14000002 Outgoing Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key 2022-07-09T22:20:04.193Z DEBUG vopono_core::network::openvpn > 1657405204.193618 14000002 Incoming Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key 2022-07-09T22:20:04.193Z DEBUG vopono_core::network::openvpn > 1657405204.193662 3 net_route_v4_best_gw query: dst 0.0.0.0 2022-07-09T22:20:04.193Z DEBUG vopono_core::network::openvpn > 1657405204.193968 3 net_route_v4_best_gw result: via 10.200.1.1 dev nordvpn_swede_s 2022-07-09T22:20:04.194Z DEBUG vopono_core::network::openvpn > 1657405204.194052 3 ROUTE_GATEWAY 10.200.1.1/255.255.255.0 IFACE=nordvpn_swede_s HWADDR=32:d8:f0:c2:9e:2a 2022-07-09T22:20:04.194Z DEBUG vopono_core::network::openvpn > 1657405204.194534 1 TUN/TAP device tun0 opened 2022-07-09T22:20:04.194Z DEBUG vopono_core::network::openvpn > 1657405204.194605 1 net_iface_mtu_set: mtu 1500 for tun0 2022-07-09T22:20:04.195Z DEBUG vopono_core::network::openvpn > 1657405204.194723 1 net_iface_up: set tun0 up 2022-07-09T22:20:04.195Z DEBUG vopono_core::network::openvpn > 1657405204.195241 1 net_addr_v4_add: 10.8.0.7/24 dev tun0 2022-07-09T22:20:04.195Z DEBUG vopono_core::network::openvpn > 1657405204.195585 3 net_route_v4_add: 185.219.140.7/32 via 10.200.1.1 dev [NULL] table 0 metric -1 2022-07-09T22:20:04.196Z DEBUG vopono_core::network::openvpn > 1657405204.195766 3 net_route_v4_add: 0.0.0.0/1 via 10.8.0.1 dev [NULL] table 0 metric -1 2022-07-09T22:20:04.196Z DEBUG vopono_core::network::openvpn > 1657405204.195901 3 net_route_v4_add: 128.0.0.0/1 via 10.8.0.1 dev [NULL] table 0 metric -1 2022-07-09T22:20:04.196Z DEBUG vopono_core::network::openvpn > 1657405204.196036 40 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this 2022-07-09T22:20:04.196Z DEBUG vopono_core::network::openvpn > 1657405204.196065 1 Initialization Sequence Completed 2022-07-09T22:20:04.196Z DEBUG vopono_core::network::netns > ip netns exec vopono_nordvpn_sweden nft add table inet vopono_nordvpn_sweden Bind /etc/netns/vopono_nordvpn_sweden/openvpn.log -> /etc/openvpn.log failed: No such file or directory 2022-07-09T22:20:04.209Z DEBUG vopono_core::network::netns > ip netns exec vopono_nordvpn_sweden nft add chain inet vopono_nordvpn_sweden input { type filter hook input priority 100 ; } Bind /etc/netns/vopono_nordvpn_sweden/openvpn.log -> /etc/openvpn.log failed: No such file or directory 2022-07-09T22:20:04.218Z DEBUG vopono_core::network::netns > ip netns exec vopono_nordvpn_sweden nft insert rule inet vopono_nordvpn_sweden input tcp dport 9117 counter accept Bind /etc/netns/vopono_nordvpn_sweden/openvpn.log -> /etc/openvpn.log failed: No such file or directory 2022-07-09T22:20:04.228Z DEBUG vopono_core::network::netns > ip netns exec vopono_nordvpn_sweden nft add chain inet vopono_nordvpn_sweden output { type filter hook output priority 100 ; } Bind /etc/netns/vopono_nordvpn_sweden/openvpn.log -> /etc/openvpn.log failed: No such file or directory 2022-07-09T22:20:04.238Z DEBUG vopono_core::network::netns > ip netns exec vopono_nordvpn_sweden nft insert rule inet vopono_nordvpn_sweden output tcp sport 9117 counter accept Bind /etc/netns/vopono_nordvpn_sweden/openvpn.log -> /etc/openvpn.log failed: No such file or directory 2022-07-09T22:20:04.249Z DEBUG vopono_core::network::openvpn > Setting OpenVPN killswitch.... 2022-07-09T22:20:04.249Z DEBUG vopono_core::network::netns > ip netns exec vopono_nordvpn_sweden nft add table inet vopono_nordvpn_sweden Bind /etc/netns/vopono_nordvpn_sweden/openvpn.log -> /etc/openvpn.log failed: No such file or directory 2022-07-09T22:20:04.260Z DEBUG vopono_core::network::netns > ip netns exec vopono_nordvpn_sweden nft add chain inet vopono_nordvpn_sweden input { type filter hook input priority 100 ; policy drop; } Bind /etc/netns/vopono_nordvpn_sweden/openvpn.log -> /etc/openvpn.log failed: No such file or directory 2022-07-09T22:20:04.272Z DEBUG vopono_core::network::netns > ip netns exec vopono_nordvpn_sweden nft add chain inet vopono_nordvpn_sweden forward { type filter hook forward priority 100 ; policy drop; } Bind /etc/netns/vopono_nordvpn_sweden/openvpn.log -> /etc/openvpn.log failed: No such file or directory 2022-07-09T22:20:04.282Z DEBUG vopono_core::network::netns > ip netns exec vopono_nordvpn_sweden nft add chain inet vopono_nordvpn_sweden output { type filter hook output priority 100 ; policy drop; } Bind /etc/netns/vopono_nordvpn_sweden/openvpn.log -> /etc/openvpn.log failed: No such file or directory 2022-07-09T22:20:04.292Z DEBUG vopono_core::network::netns > ip netns exec vopono_nordvpn_sweden nft add rule inet vopono_nordvpn_sweden input ct state related,established counter accept Bind /etc/netns/vopono_nordvpn_sweden/openvpn.log -> /etc/openvpn.log failed: No such file or directory 2022-07-09T22:20:04.302Z DEBUG vopono_core::network::netns > ip netns exec vopono_nordvpn_sweden nft add rule inet vopono_nordvpn_sweden input iifname "lo" counter accept Bind /etc/netns/vopono_nordvpn_sweden/openvpn.log -> /etc/openvpn.log failed: No such file or directory 2022-07-09T22:20:04.318Z DEBUG vopono_core::network::netns > ip netns exec vopono_nordvpn_sweden nft add rule inet vopono_nordvpn_sweden input iifname "tun" counter accept Bind /etc/netns/vopono_nordvpn_sweden/openvpn.log -> /etc/openvpn.log failed: No such file or directory 2022-07-09T22:20:04.336Z DEBUG vopono_core::network::netns > ip netns exec vopono_nordvpn_sweden nft add rule inet vopono_nordvpn_sweden output oifname "lo" counter accept Bind /etc/netns/vopono_nordvpn_sweden/openvpn.log -> /etc/openvpn.log failed: No such file or directory 2022-07-09T22:20:04.354Z DEBUG vopono_core::network::netns > ip netns exec vopono_nordvpn_sweden nft add rule inet vopono_nordvpn_sweden output ip daddr 185.219.140.7 udp dport 1194 counter accept Bind /etc/netns/vopono_nordvpn_sweden/openvpn.log -> /etc/openvpn.log failed: No such file or directory 2022-07-09T22:20:04.379Z DEBUG vopono_core::network::netns > ip netns exec vopono_nordvpn_sweden nft add rule inet vopono_nordvpn_sweden output oifname "tun" counter accept Bind /etc/netns/vopono_nordvpn_sweden/openvpn.log -> /etc/openvpn.log failed: No such file or directory 2022-07-09T22:20:04.402Z DEBUG vopono_core::network::netns > ip netns exec vopono_nordvpn_sweden nft add rule inet vopono_nordvpn_sweden output counter reject with icmp type net-unreachable Bind /etc/netns/vopono_nordvpn_sweden/openvpn.log -> /etc/openvpn.log failed: No such file or directory 2022-07-09T22:20:04.415Z DEBUG vopono::exec > Checking that OpenVPN is running in namespace: vopono_nordvpn_sweden 2022-07-09T22:20:04.459Z DEBUG vopono_core::network::dns_config > Setting namespace vopono_nordvpn_sweden DNS server to 103.86.96.100 2022-07-09T22:20:04.467Z DEBUG vopono_core::util > Using config dir from $HOME config: /home/pi/.config 2022-07-09T22:20:04.468Z DEBUG vopono_core::network::netns > Writing lockfile: /home/pi/.config/vopono/locks/vopono_nordvpn_sweden 2022-07-09T22:20:04.468Z DEBUG vopono_core::network::netns > Lockfile written: /home/pi/.config/vopono/locks/vopono_nordvpn_sweden/7043 2022-07-09T22:20:04.468Z DEBUG vopono_core::util > Using config dir from $HOME config: /home/pi/.config 2022-07-09T22:20:04.872Z DEBUG vopono_core::network::netns > ip netns exec vopono_nordvpn_sweden sudo -Eu jackett /home/pi/Downloads/jackett --NoRestart --NoUpdates --DataFolder jackett 2022-07-09T22:20:04.873Z DEBUG vopono::exec > Forwarding port: 9117, 10.200.1.2 2022-07-09T22:20:04.874Z INFO vopono::exec > Application /home/pi/Downloads/jackett --NoRestart --NoUpdates --DataFolder jackett launched in network namespace vopono_nordvpn_sweden with pid 7112 Bind /etc/netns/vopono_nordvpn_sweden/openvpn.log -> /etc/openvpn.log failed: No such file or directory sudo: /home/pi/Downloads/jackett: command not found 2022-07-09T22:20:04.978Z DEBUG vopono_core::util > Using config dir from $HOME config: /home/pi/.config 2022-07-09T22:20:04.979Z DEBUG vopono_core::util > Using config dir from $HOME config: /home/pi/.config 2022-07-09T22:20:04.980Z INFO vopono_core::network::netns > Shutting down vopono namespace - as there are no processes left running inside 2022-07-09T22:20:04.980Z DEBUG vopono_core::network::openvpn > Killed OpenVPN (pid: 7092) 2022-07-09T22:20:04.980Z DEBUG vopono_core::util > ip link delete nordvpn_swede_d 2022-07-09T22:20:05.061Z DEBUG vopono_core::util > Using config dir from $HOME config: /home/pi/.config 2022-07-09T22:20:05.061Z DEBUG vopono_core::network::host_masquerade > Remaining namespaces: Ok({}) 2022-07-09T22:20:05.061Z DEBUG vopono_core::util > nft delete table inet vopono_nat 2022-07-09T22:20:05.084Z DEBUG vopono_core::util > Using config dir from $HOME config: /home/pi/.config 2022-07-09T22:20:05.085Z DEBUG vopono_core::network::host_masquerade > Remaining namespaces: Ok({}) 2022-07-09T22:20:05.085Z DEBUG vopono_core::util > nft delete table inet vopono_bridge 2022-07-09T22:20:05.098Z DEBUG vopono_core::util > ip netns delete vopono_nordvpn_sweden pi@raspberrypi:~ $

i created th jackett user but now again dosent work

jamesmcm commented 2 years ago

The error is sudo: /home/pi/Downloads/jackett: command not found - please try to get Jackett working first separately.

arashtotti88 commented 2 years ago

I fixed it !!!

i found the reason of error vopono -v exec --provider nordvpn --server sweden -u jackett "/home/pi/Downloads/New/Jackett/jackett --NoRestart --NoUpdates --DataFolder /home/pi/Downloads/New/Jackett" -f 9117

the bold code was a problem!

this must be the address of the Jackett running file, simple like that

also, I'm on raspberry 64 bit and I download and run that

thanks a lot for your time so I be able to solve this problem

one more thing now I want to make this code run automatically after any restart of my raspberry pi

is that possible?

thanks

ps: I put the code in rc.local with sudo and without sudo , ether one didn't run it automatically.

jamesmcm commented 2 years ago

You should be able to create a systemd unit for it, the only thing to consider would be maybe creating a user for vopono itself too if you want to avoid passwordless sudo or running as root.

See https://github.com/jamesmcm/vopono/blob/master/USERGUIDE.md#systemd-service

I'm not sure about initrc but it should be similar, and you should be able to get logs for what it did run somewhere.

bobo123g commented 1 year ago

@realitix did you ever get the issue sorted? I'm on arch and it's doing the same thing. Vopono worked fine one day but then started doing this the next. The exact same command works fine on my not recently updated Desktop that also runs arch so I'm wondering if it's some sort of Archlinux issue.

jamesmcm commented 1 year ago

@bobo123g have you tried modifying the OpenVPN config files to use the IP addresses instead of the hostnames for the ProtonVPN servers?