Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Different results from nordvpn status and systemctl status openpyn #278

Open
felciano opened this issue Apr 27, 2021 · 0 comments
Open

Different results from nordvpn status and systemctl status openpyn #278

felciano opened this issue Apr 27, 2021 · 0 comments

Comments

@felciano
Copy link

I am getting different nordvpn status indications after openpyn launch depending on how the status is queried. Is it expected that these two commands would give you different answers on whether the VPN is running?

  • nordvpn status
  • systemctl status openpyn

Here's a more detailed example, where the first suggests the VPN is Status: Disconnected, but the second indicates it is active (running):

coreuser@scout:~ $ nordvpn status
Status: Disconnected
coreuser@scout:~ $ systemctl status openpyn
● openpyn.service - NordVPN connection manager
   Loaded: loaded (/etc/systemd/system/openpyn.service; enabled; vendor preset: enabled)
   Active: active (running) since Tue 2021-04-27 12:17:08 PDT; 9s ago
  Process: 20046 ExecStartPre=/bin/sleep 5 (code=exited, status=0/SUCCESS)
 Main PID: 20050 (openpyn)
    Tasks: 3 (limit: 4915)
   CGroup: /system.slice/openpyn.service
           ├─20050 /usr/bin/python3 /usr/local/bin/openpyn us --max-load 70 --top-servers 10 --pings 3 --force-fw-rules --allow 22 80 443 9091 5900 5800 548 549
           ├─20091 ping -n -i .2 -c 3 us5726.nordvpn.com
           └─20092 grep -B 1 min/avg/max/

Apr 27 12:17:09 Scout sudo[20066]: pam_unix(sudo:session): session closed for user root
Apr 27 12:17:09 Scout sudo[20068]:     root : TTY=unknown ; PWD=/usr/local/lib/python3.7/dist-packages/openpyn ; USER=root ; COMMAND=/usr/sbin/iptables -A INPUT -p icmp --icmp-type any -j ACCEPT
Apr 27 12:17:09 Scout sudo[20068]: pam_unix(sudo:session): session opened for user root by (uid=0)
Apr 27 12:17:09 Scout sudo[20068]: pam_unix(sudo:session): session closed for user root
Apr 27 12:17:09 Scout sudo[20070]:     root : TTY=unknown ; PWD=/usr/local/lib/python3.7/dist-packages/openpyn ; USER=root ; COMMAND=/usr/sbin/iptables -A INPUT -s 127.0.0.0/8 -j DROP
Apr 27 12:17:09 Scout sudo[20070]: pam_unix(sudo:session): session opened for user root by (uid=0)
Apr 27 12:17:09 Scout sudo[20070]: pam_unix(sudo:session): session closed for user root
Apr 27 12:17:09 Scout sudo[20072]:     root : TTY=unknown ; PWD=/usr/local/lib/python3.7/dist-packages/openpyn ; USER=root ; COMMAND=/usr/sbin/iptables -P INPUT DROP
Apr 27 12:17:09 Scout sudo[20072]: pam_unix(sudo:session): session opened for user root by (uid=0)
Apr 27 12:17:09 Scout sudo[20072]: pam_unix(sudo:session): session closed for user root
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant