openpyn-nordvpn icon indicating copy to clipboard operation
openpyn-nordvpn copied to clipboard

unable to create demon in openwrt

Open beagleboys opened this issue 2 years ago • 0 comments

hi, I'm unable to complete the install process in openwrt in a VM: after init I get:

sudo openpyn --init
Downloading ovpn.zip:  99%|███████████████▉| 23.8M/24.0M [00:01<00:00, 12.5MB/s]
Extracting ovpn.zip: 100%|█████████████████| 29.6M/29.6M [00:02<00:00, 11.2MB/s]
2022-11-24 16:01:48 [INFO] Storing credentials in '/usr/lib/python3.10/site-packages/openpyn/credentials' with openvpn compatible 'auth-user-pass' file format
Enter your username for NordVPN, i.e [email protected]: █████████████████
Enter the password for NordVPN: █████████████████
2022-11-24 16:02:00 [INFO] Awesome, the credentials have been saved in '/usr/lib/python3.10/site-packages/openpyn/credentials'

Enter Openpyn options to be stored in initd service file (/opt/etc/init.d/S23openpyn, Default(Just Press Enter) is, uk : us
Traceback (most recent call last):
  File "/usr/bin/openpyn", line 8, in <module>
    sys.exit(main())
  File "/usr/lib/python3.10/site-packages/openpyn/openpyn.py", line 179, in main
    return_code = run(
  File "/usr/lib/python3.10/site-packages/openpyn/openpyn.py", line 299, in run
    initialise(detected_os, asuswrt_os, openwrt_os)
  File "/usr/lib/python3.10/site-packages/openpyn/openpyn.py", line 675, in initialise
    initd.install_service()
  File "/usr/lib/python3.10/site-packages/openpyn/initd.py", line 179, in install_service
    update_service(openpyn_options)
  File "/usr/lib/python3.10/site-packages/openpyn/initd.py", line 185, in update_service
    os.chmod("/opt/etc/init.d/S23openpyn", 0o755)
FileNotFoundError: [Errno 2] No such file or directory: '/opt/etc/init.d/S23openpyn'

trying to start it manually works:

`openpyn us
According to NordVPN, Least Busy 10 Servers in US With 'Load' Less Than 70 Which Support OPENVPN-UDP Are: [['us5068', 6], ['us5069', 6], ['us5081', 6], ['us5084', 6], ['us5349', 6], ['us5350', 6], ['us5381', 6], ['us5491', 6], ['us5849', 6], ['us5851', 6]]

Sending Pings To Servers

Ping Resonse From us5068  min/avg/max/mdev = [169, 184, 204, 13] 
Ping Resonse From us5069  min/avg/max/mdev = [179, 186, 193, 5] 
Ping Resonse From us5081  min/avg/max/mdev = [151, 152, 152, 0] 
Ping Resonse From us5084  min/avg/max/mdev = [169, 181, 200, 11] 
Ping Resonse From us5349  min/avg/max/mdev = [172, 173, 174, 1] 
Ping Resonse From us5350  min/avg/max/mdev = [195, 200, 204, 3] 
Ping Resonse From us5381  min/avg/max/mdev = [206, 212, 216, 3] 
Ping Resonse From us5491  min/avg/max/mdev = [162, 163, 163, 0] 
Ping Resonse From us5849  min/avg/max/mdev = [217, 221, 224, 2] 
Ping Resonse From us5851  min/avg/max/mdev = [167, 167, 167, 0] 

Top 10 Servers with Best Ping Are: ['us5081', 'us5491', 'us5851', 'us5349', 'us5084', 'us5068', 'us5069', 'us5350', 'us5381', 'us5849']


Out of the Best Available Servers, Chose us5081

2022-11-24 16:02:36 [SUCCESS] CONNECTING TO SERVER us5081 ON PORT udp
2022-11-24 16:02:36 [WARNING] Not modifying '/etc/resolv.conf', DNS traffic likely won't go through the encrypted tunnel
2022-11-24 16:02:36 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-11-24 16:02:36 OpenVPN 2.5.7 x86_64-openwrt-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD]
2022-11-24 16:02:36 library versions: OpenSSL 1.1.1s  1 Nov 2022, LZO 2.10
2022-11-24 16:02:36 WARNING: --ping should normally be used with --ping-restart or --ping-exit
2022-11-24 16:02:36 Outgoing Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication
2022-11-24 16:02:36 Incoming Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication
2022-11-24 16:02:36 TCP/UDP: Preserving recently used remote address: [AF_INET]212.102.45.77:1194
2022-11-24 16:02:36 Socket Buffers: R=[212992->212992] S=[212992->212992]
2022-11-24 16:02:36 UDP link local: (not bound)
2022-11-24 16:02:36 UDP link remote: [AF_INET]212.102.45.77:1194
2022-11-24 16:02:36 TLS: Initial packet from [AF_INET]212.102.45.77:1194, sid=5eb54ea8 f299f951
2022-11-24 16:02:36 VERIFY OK: depth=2, C=PA, O=NordVPN, CN=NordVPN Root CA
2022-11-24 16:02:36 VERIFY OK: depth=1, C=PA, O=NordVPN, CN=NordVPN CA7
2022-11-24 16:02:36 VERIFY KU OK
2022-11-24 16:02:36 Validating certificate extended key usage
2022-11-24 16:02:36 ++ Certificate has EKU (str) TLS Web Server Authentication, expects TLS Web Server Authentication
2022-11-24 16:02:36 VERIFY EKU OK
2022-11-24 16:02:36 VERIFY X509NAME OK: CN=us5081.nordvpn.com
2022-11-24 16:02:36 VERIFY OK: depth=0, CN=us5081.nordvpn.com
2022-11-24 16:02:37 Control Channel: TLSv1.3, cipher TLSv1.3 TLS_AES_256_GCM_SHA384, peer certificate: 4096 bit RSA, signature: RSA-SHA512
2022-11-24 16:02:37 [us5081.nordvpn.com] Peer Connection Initiated with [AF_INET]212.102.45.77:1194
2022-11-24 16:02:38 SENT CONTROL [us5081.nordvpn.com]: 'PUSH_REQUEST' (status=1)
2022-11-24 16:02:38 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.3.1,topology subnet,ping 60,ping-restart 180,ifconfig 10.8.3.4 255.255.255.0,peer-id 2,cipher AES-256-GCM'
2022-11-24 16:02:38 WARNING: You have specified redirect-gateway and redirect-private at the same time (or the same option multiple times). This is not well supported and may lead to unexpected results
2022-11-24 16:02:38 OPTIONS IMPORT: timers and/or timeouts modified
2022-11-24 16:02:38 OPTIONS IMPORT: explicit notify parm(s) modified
2022-11-24 16:02:38 OPTIONS IMPORT: compression parms modified
2022-11-24 16:02:38 OPTIONS IMPORT: --sndbuf/--rcvbuf options modified
2022-11-24 16:02:38 Socket Buffers: R=[212992->425984] S=[212992->425984]
2022-11-24 16:02:38 OPTIONS IMPORT: --ifconfig/up options modified
2022-11-24 16:02:38 OPTIONS IMPORT: route options modified
2022-11-24 16:02:38 OPTIONS IMPORT: route-related options modified
2022-11-24 16:02:38 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
2022-11-24 16:02:38 OPTIONS IMPORT: peer-id set
2022-11-24 16:02:38 OPTIONS IMPORT: adjusting link_mtu to 1657
2022-11-24 16:02:38 OPTIONS IMPORT: data channel crypto options modified
2022-11-24 16:02:38 Data Channel: using negotiated cipher 'AES-256-GCM'
2022-11-24 16:02:38 Outgoing Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key
2022-11-24 16:02:38 Incoming Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key
2022-11-24 16:02:38 net_route_v4_best_gw query: dst 0.0.0.0
2022-11-24 16:02:38 net_route_v4_best_gw result: via 10.0.0.1 dev eth2
2022-11-24 16:02:38 TUN/TAP device tun0 opened
2022-11-24 16:02:38 net_iface_mtu_set: mtu 1500 for tun0
2022-11-24 16:02:38 net_iface_up: set tun0 up
2022-11-24 16:02:38 net_addr_v4_add: 10.8.3.4/24 dev tun0
2022-11-24 16:02:38 net_route_v4_add: 212.102.45.77/32 via 10.0.0.1 dev [NULL] table 0 metric -1
2022-11-24 16:02:38 net_route_v4_add: 0.0.0.0/1 via 10.8.3.1 dev [NULL] table 0 metric -1
2022-11-24 16:02:38 net_route_v4_add: 128.0.0.0/1 via 10.8.3.1 dev [NULL] table 0 metric -1
2022-11-24 16:02:38 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
2022-11-24 16:02:38 Initialization Sequence Completed
`

openypn status output

openpyn -status
2022-11-24 16:13:49 [NOTICE] VPN configuration file /usr/lib/python3.10/site-packages/openpyn/files/ovpn_udp/tatus.nordvpn.com.udp.ovpn doesn't exist, don't worry running 'openpyn --update' for you :)
2022-11-24 16:13:55 [INFO] Configuration files are up-to-date, skipping...
2022-11-24 16:13:55 [SUCCESS] CONNECTING TO SERVER tatus ON PORT udp
2022-11-24 16:13:55 [WARNING] Not modifying '/etc/resolv.conf', DNS traffic likely won't go through the encrypted tunnel
Options error: In [CMD-LINE]:1: Error opening configuration file: /usr/lib/python3.10/site-packages/openpyn/files/ovpn_udp/tatus.nordvpn.com.udp.ovpn
Use --help for more information.
2022-11-24 16:13:55 [NOTICE] VPN configuration file /usr/lib/python3.10/site-packages/openpyn/files/ovpn_udp/tatus.nordvpn.com.udp.ovpn doesn't exist, don't worry running 'openpyn --update' for you :)
2022-11-24 16:14:01 [INFO] Configuration files are up-to-date, skipping...
2022-11-24 16:14:01 [SUCCESS] CONNECTING TO SERVER tatus ON PORT udp
2022-11-24 16:14:01 [WARNING] Not modifying '/etc/resolv.conf', DNS traffic likely won't go through the encrypted tunnel
Options error: In [CMD-LINE]:1: Error opening configuration file: /usr/lib/python3.10/site-packages/openpyn/files/ovpn_udp/tatus.nordvpn.com.udp.ovpn
Use --help for more information.
2022-11-24 16:14:01 [NOTICE] VPN configuration file /usr/lib/python3.10/site-packages/openpyn/files/ovpn_udp/tatus.nordvpn.com.udp.ovpn doesn't exist, don't worry running 'openpyn --update' for you :)
2022-11-24 16:14:08 [INFO] Configuration files are up-to-date, skipping...
2022-11-24 16:14:08 [SUCCESS] CONNECTING TO SERVER tatus ON PORT udp
2022-11-24 16:14:08 [WARNING] Not modifying '/etc/resolv.conf', DNS traffic likely won't go through the encrypted tunnel
Options error: In [CMD-LINE]:1: Error opening configuration file: /usr/lib/python3.10/site-packages/openpyn/files/ovpn_udp/tatus.nordvpn.com.udp.ovpn
Use --help for more information.
2022-11-24 16:14:08 [NOTICE] VPN configuration file /usr/lib/python3.10/site-packages/openpyn/files/ovpn_udp/tatus.nordvpn.com.udp.ovpn doesn't exist, don't worry running 'openpyn --update' for you :)
2022-11-24 16:14:14 [INFO] Configuration files are up-to-date, skipping...
2022-11-24 16:14:14 [SUCCESS] CONNECTING TO SERVER tatus ON PORT udp
2022-11-24 16:14:14 [WARNING] Not modifying '/etc/resolv.conf', DNS traffic likely won't go through the encrypted tunnel
Options error: In [CMD-LINE]:1: Error opening configuration file: /usr/lib/python3.10/site-packages/openpyn/files/ovpn_udp/tatus.nordvpn.com.udp.ovpn
Use --help for more information.
2022-11-24 16:14:14 [NOTICE] VPN configuration file /usr/lib/python3.10/site-packages/openpyn/files/ovpn_udp/tatus.nordvpn.com.udp.ovpn doesn't exist, don't worry running 'openpyn --update' for you :)
2022-11-24 16:14:20 [INFO] Configuration files are up-to-date, skipping...
2022-11-24 16:14:20 [SUCCESS] CONNECTING TO SERVER tatus ON PORT udp
2022-11-24 16:14:20 [WARNING] Not modifying '/etc/resolv.conf', DNS traffic likely won't go through the encrypted tunnel
Options error: In [CMD-LINE]:1: Error opening configuration file: /usr/lib/python3.10/site-packages/openpyn/files/ovpn_udp/tatus.nordvpn.com.udp.ovpn
Use --help for more information.
2022-11-24 16:14:20 [NOTICE] VPN configuration file /usr/lib/python3.10/site-packages/openpyn/files/ovpn_udp/tatus.nordvpn.com.udp.ovpn doesn't exist, don't worry running 'openpyn --update' for you :)
2022-11-24 16:14:26 [INFO] Configuration files are up-to-date, skipping...
2022-11-24 16:14:26 [SUCCESS] CONNECTING TO SERVER tatus ON PORT udp
2022-11-24 16:14:26 [WARNING] Not modifying '/etc/resolv.conf', DNS traffic likely won't go through the encrypted tunnel
Options error: In [CMD-LINE]:1: Error opening configuration file: /usr/lib/python3.10/site-packages/openpyn/files/ovpn_udp/tatus.nordvpn.com.udp.ovpn
Use --help for more information.
2022-11-24 16:14:26 [NOTICE] VPN configuration file /usr/lib/python3.10/site-packages/openpyn/files/ovpn_udp/tatus.nordvpn.com.udp.ovpn doesn't exist, don't worry running 'openpyn --update' for you :)
2022-11-24 16:14:32 [INFO] Configuration files are up-to-date, skipping...
2022-11-24 16:14:32 [SUCCESS] CONNECTING TO SERVER tatus ON PORT udp
2022-11-24 16:14:32 [WARNING] Not modifying '/etc/resolv.conf', DNS traffic likely won't go through the encrypted tunnel
Options error: In [CMD-LINE]:1: Error opening configuration file: /usr/lib/python3.10/site-packages/openpyn/files/ovpn_udp/tatus.nordvpn.com.udp.ovpn
Use --help for more information.
2022-11-24 16:14:32 [NOTICE] VPN configuration file /usr/lib/python3.10/site-packages/openpyn/files/ovpn_udp/tatus.nordvpn.com.udp.ovpn doesn't exist, don't worry running 'openpyn --update' for you :)
2022-11-24 16:14:38 [INFO] Configuration files are up-to-date, skipping...
2022-11-24 16:14:38 [SUCCESS] CONNECTING TO SERVER tatus ON PORT udp
2022-11-24 16:14:38 [WARNING] Not modifying '/etc/resolv.conf', DNS traffic likely won't go through the encrypted tunnel
Options error: In [CMD-LINE]:1: Error opening configuration file: /usr/lib/python3.10/site-packages/openpyn/files/ovpn_udp/tatus.nordvpn.com.udp.ovpn
Use --help for more information.
2022-11-24 16:14:38 [NOTICE] VPN configuration file /usr/lib/python3.10/site-packages/openpyn/files/ovpn_udp/tatus.nordvpn.com.udp.ovpn doesn't exist, don't worry running 'openpyn --update' for you :)
2022-11-24 16:14:44 [INFO] Configuration files are up-to-date, skipping...
2022-11-24 16:14:44 [SUCCESS] CONNECTING TO SERVER tatus ON PORT udp
2022-11-24 16:14:44 [WARNING] Not modifying '/etc/resolv.conf', DNS traffic likely won't go through the encrypted tunnel
Options error: In [CMD-LINE]:1: Error opening configuration file: /usr/lib/python3.10/site-packages/openpyn/files/ovpn_udp/tatus.nordvpn.com.udp.ovpn
Use --help for more information.
2022-11-24 16:14:44 [NOTICE] VPN configuration file /usr/lib/python3.10/site-packages/openpyn/files/ovpn_udp/tatus.nordvpn.com.udp.ovpn doesn't exist, don't worry running 'openpyn --update' for you :)
2022-11-24 16:14:50 [INFO] Configuration files are up-to-date, skipping...
2022-11-24 16:14:50 [SUCCESS] CONNECTING TO SERVER tatus ON PORT udp
2022-11-24 16:14:50 [WARNING] Not modifying '/etc/resolv.conf', DNS traffic likely won't go through the encrypted tunnel
Options error: In [CMD-LINE]:1: Error opening configuration file: /usr/lib/python3.10/site-packages/openpyn/files/ovpn_udp/tatus.nordvpn.com.udp.ovpn
Use --help for more information.
2022-11-24 16:14:50 [NOTICE] VPN configuration file /usr/lib/python3.10/site-packages/openpyn/files/ovpn_udp/tatus.nordvpn.com.udp.ovpn doesn't exist, don't worry running 'openpyn --update' for you :)
2022-11-24 16:14:56 [INFO] Configuration files are up-to-date, skipping...
2022-11-24 16:14:56 [SUCCESS] CONNECTING TO SERVER tatus ON PORT udp
2022-11-24 16:14:56 [WARNING] Not modifying '/etc/resolv.conf', DNS traffic likely won't go through the encrypted tunnel
Options error: In [CMD-LINE]:1: Error opening configuration file: /usr/lib/python3.10/site-packages/openpyn/files/ovpn_udp/tatus.nordvpn.com.udp.ovpn
Use --help for more information.
2022-11-24 16:14:56 [NOTICE] VPN configuration file /usr/lib/python3.10/site-packages/openpyn/files/ovpn_udp/tatus.nordvpn.com.udp.ovpn doesn't exist, don't worry running 'openpyn --update' for you :)
2022-11-24 16:15:02 [INFO] Configuration files are up-to-date, skipping...
2022-11-24 16:15:02 [SUCCESS] CONNECTING TO SERVER tatus ON PORT udp
2022-11-24 16:15:02 [WARNING] Not modifying '/etc/resolv.conf', DNS traffic likely won't go through the encrypted tunnel
Options error: In [CMD-LINE]:1: Error opening configuration file: /usr/lib/python3.10/site-packages/openpyn/files/ovpn_udp/tatus.nordvpn.com.udp.ovpn
Use --help for more information.
2022-11-24 16:15:02 [NOTICE] VPN configuration file /usr/lib/python3.10/site-packages/openpyn/files/ovpn_udp/tatus.nordvpn.com.udp.ovpn doesn't exist, don't worry running 'openpyn --update' for you :)
2022-11-24 16:15:09 [INFO] Configuration files are up-to-date, skipping...
2022-11-24 16:15:09 [SUCCESS] CONNECTING TO SERVER tatus ON PORT udp
2022-11-24 16:15:09 [WARNING] Not modifying '/etc/resolv.conf', DNS traffic likely won't go through the encrypted tunnel
Options error: In [CMD-LINE]:1: Error opening configuration file: /usr/lib/python3.10/site-packages/openpyn/files/ovpn_udp/tatus.nordvpn.com.udp.ovpn
Use --help for more information.
2022-11-24 16:15:09 [NOTICE] VPN configuration file /usr/lib/python3.10/site-packages/openpyn/files/ovpn_udp/tatus.nordvpn.com.udp.ovpn doesn't exist, don't worry running 'openpyn --update' for you :)
2022-11-24 16:15:15 [INFO] Configuration files are up-to-date, skipping...
2022-11-24 16:15:15 [SUCCESS] CONNECTING TO SERVER tatus ON PORT udp
2022-11-24 16:15:15 [WARNING] Not modifying '/etc/resolv.conf', DNS traffic likely won't go through the encrypted tunnel
Options error: In [CMD-LINE]:1: Error opening configuration file: /usr/lib/python3.10/site-packages/openpyn/files/ovpn_udp/tatus.nordvpn.com.udp.ovpn
Use --help for more information.
2022-11-24 16:15:15 [NOTICE] VPN configuration file /usr/lib/python3.10/site-packages/openpyn/files/ovpn_udp/tatus.nordvpn.com.udp.ovpn doesn't exist, don't worry running 'openpyn --update' for you :)
2022-11-24 16:15:21 [INFO] Configuration files are up-to-date, skipping...
2022-11-24 16:15:21 [SUCCESS] CONNECTING TO SERVER tatus ON PORT udp
2022-11-24 16:15:21 [WARNING] Not modifying '/etc/resolv.conf', DNS traffic likely won't go through the encrypted tunnel
Options error: In [CMD-LINE]:1: Error opening configuration file: /usr/lib/python3.10/site-packages/openpyn/files/ovpn_udp/tatus.nordvpn.com.udp.ovpn
Use --help for more information.
2022-11-24 16:15:21 [NOTICE] VPN configuration file /usr/lib/python3.10/site-packages/openpyn/files/ovpn_udp/tatus.nordvpn.com.udp.ovpn doesn't exist, don't worry running 'openpyn --update' for you :)
2022-11-24 16:15:27 [INFO] Configuration files are up-to-date, skipping...
2022-11-24 16:15:27 [SUCCESS] CONNECTING TO SERVER tatus ON PORT udp
2022-11-24 16:15:27 [WARNING] Not modifying '/etc/resolv.conf', DNS traffic likely won't go through the encrypted tunnel
Options error: In [CMD-LINE]:1: Error opening configuration file: /usr/lib/python3.10/site-packages/openpyn/files/ovpn_udp/tatus.nordvpn.com.udp.ovpn
Use --help for more information.
2022-11-24 16:15:27 [NOTICE] VPN configuration file /usr/lib/python3.10/site-packages/openpyn/files/ovpn_udp/tatus.nordvpn.com.udp.ovpn doesn't exist, don't worry running 'openpyn --update' for you :)
2022-11-24 16:15:33 [INFO] Configuration files are up-to-date, skipping...
2022-11-24 16:15:33 [SUCCESS] CONNECTING TO SERVER tatus ON PORT udp
2022-11-24 16:15:33 [WARNING] Not modifying '/etc/resolv.conf', DNS traffic likely won't go through the encrypted tunnel
Options error: In [CMD-LINE]:1: Error opening configuration file: /usr/lib/python3.10/site-packages/openpyn/files/ovpn_udp/tatus.nordvpn.com.udp.ovpn
Use --help for more information.
2022-11-24 16:15:33 [NOTICE] VPN configuration file /usr/lib/python3.10/site-packages/openpyn/files/ovpn_udp/tatus.nordvpn.com.udp.ovpn doesn't exist, don't worry running 'openpyn --update' for you :)
2022-11-24 16:15:39 [INFO] Configuration files are up-to-date, skipping...
2022-11-24 16:15:39 [SUCCESS] CONNECTING TO SERVER tatus ON PORT udp
2022-11-24 16:15:39 [WARNING] Not modifying '/etc/resolv.conf', DNS traffic likely won't go through the encrypted tunnel
Options error: In [CMD-LINE]:1: Error opening configuration file: /usr/lib/python3.10/site-packages/openpyn/files/ovpn_udp/tatus.nordvpn.com.udp.ovpn
Use --help for more information.
2022-11-24 16:15:39 [NOTICE] VPN configuration file /usr/lib/python3.10/site-packages/openpyn/files/ovpn_udp/tatus.nordvpn.com.udp.ovpn doesn't exist, don't worry running 'openpyn --update' for you :)

2022-11-24 16:15:45 [INFO] Configuration files are up-to-date, skipping...
2022-11-24 16:15:45 [SUCCESS] CONNECTING TO SERVER tatus ON PORT udp
2022-11-24 16:15:45 [WARNING] Not modifying '/etc/resolv.conf', DNS traffic likely won't go through the encrypted tunnel
Options error: In [CMD-LINE]:1: Error opening configuration file: /usr/lib/python3.10/site-packages/openpyn/files/ovpn_udp/tatus.nordvpn.com.udp.ovpn
Use --help for more information.
2022-11-24 16:15:45 [NOTICE] VPN configuration file /usr/lib/python3.10/site-packages/openpyn/files/ovpn_udp/tatus.nordvpn.com.udp.ovpn doesn't exist, don't worry running 'openpyn --update' for you :)
2022-11-24 16:15:51 [INFO] Configuration files are up-to-date, skipping...
2022-11-24 16:15:51 [SUCCESS] CONNECTING TO SERVER tatus ON PORT udp
2022-11-24 16:15:51 [WARNING] Not modifying '/etc/resolv.conf', DNS traffic likely won't go through the encrypted tunnel
Options error: In [CMD-LINE]:1: Error opening configuration file: /usr/lib/python3.10/site-packages/openpyn/files/ovpn_udp/tatus.nordvpn.com.udp.ovpn
Use --help for more information.
2022-11-24 16:15:51 [NOTICE] VPN configuration file /usr/lib/python3.10/site-packages/openpyn/files/ovpn_udp/tatus.nordvpn.com.udp.ovpn doesn't exist, don't worry running 'openpyn --update' for you :)
Traceback (most recent call last):
  File "/usr/bin/openpyn", line 8, in <module>
    sys.exit(main())
  File "/usr/lib/python3.10/site-packages/openpyn/openpyn.py", line 179, in main
    return_code = run(
  File "/usr/lib/python3.10/site-packages/openpyn/openpyn.py", line 630, in run
    connect(
  File "/usr/lib/python3.10/site-packages/openpyn/openpyn.py", line 1254, in connect
    update_config_files()
  File "/usr/lib/python3.10/site-packages/openpyn/openpyn.py", line 970, in update_config_files
    total = int(r.headers["content-length"])
  File "/usr/lib/python3.10/site-packages/requests/structures.py", line 52, in __getitem__
    return self._store[key.lower()][1]
KeyError: 'content-length'
`

openpyn -d output

openpyn -d
Traceback (most recent call last):
  File "/usr/bin/openpyn", line 8, in <module>
    sys.exit(main())
  File "/usr/lib/python3.10/site-packages/openpyn/openpyn.py", line 179, in main
    return_code = run(
  File "/usr/lib/python3.10/site-packages/openpyn/openpyn.py", line 408, in run
    initd.update_service(openpyn_options, run=True)
  File "/usr/lib/python3.10/site-packages/openpyn/initd.py", line 185, in update_service
    os.chmod("/opt/etc/init.d/S23openpyn", 0o755)
FileNotFoundError: [Errno 2] No such file or directory: '/opt/etc/init.d/S23openpyn'
`
/bin/uname -a
Linux OpenWrt 5.10.146 #0 SMP Fri Oct 14 22:44:41 2022 x86_64 GNU/Linux`
```

/bin/uname -s Linux

`

cat /etc/openwrt_release DISTRIB_ID='OpenWrt' DISTRIB_RELEASE='22.03.2' DISTRIB_REVISION='r19803-9a599fee93' DISTRIB_TARGET='x86/64' DISTRIB_ARCH='x86_64' DISTRIB_DESCRIPTION='OpenWrt 22.03.2 r19803-9a599fee93' DISTRIB_TAINTS=''

`

beagleboys avatar Nov 24 '22 16:11 beagleboys