bubuntux / nordvpn

NordVpn Docker Client

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to access interface: Protocol not supported

joelstitch opened this issue · comments

I was able to install this on Docker running on my Synology NAS 218+. Whenever I run the container and check the logs at the end of the logs I get the Unable to access interface: Protocol not supported message. These are my logs:

nordvpn
date,stream,content
2022-05-13 21:29:03,stdout,############################################################

2022-05-13 21:29:03,stdout,IP: 10.5.0.2/32

2022-05-13 21:29:03,stdout,Here is your private Key: 

2022-05-13 21:29:03,stdout,Unable to access interface: Protocol not supported

2022-05-13 21:29:03,stdout,Please migrate to the NordLynx container (https://github.com/bubuntux/nordlynx)

2022-05-13 21:29:03,stdout,↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓

2022-05-13 21:29:03,stdout,|__| |__|  |__| | _|       \______/  | _| `._____|   |__|    /__/     \__\ |__| \__|     |__|

2022-05-13 21:29:03,stdout,|  | |  |  |  | |  |      |  `--'  | |  |\  \----.   |  |     /  _____  \  |  |\   |     |  |

2022-05-13 21:29:03,stdout,|  | |  |\/|  | |   ___/  |  |  |  | |      /        |  |      /  /_\  \   |  . `  |     |  |

2022-05-13 21:29:03,stdout,|  | |  \  /  | |  |_)  | |  |  |  | |  |_)  |   `---|  |----`  /  ^  \    |   \|  | `---|  |----`

2022-05-13 21:29:03,stdout,|  | |   \/   | |   _  \   /  __  \  |   _  \    |           |   /   \     |  \ |  | |           |

2022-05-13 21:29:03,stdout,__  .___  ___. .______     ______   .______     .___________.    ___      .__   __. .___________. 

2022-05-13 21:29:03,stdout,�[0m
-
  
############################################################

2022-05-13 21:29:02,stdout,�[0m
-
\
|
/
-
\
|
  
�[32mYou are connected to United States #6306 (us6306.nordvpn.com)!

2022-05-13 21:29:01,stdout,�[0m
-
\
|
/
-
\
  
�[32mConnecting to United States #6306 (us6306.nordvpn.com)

2022-05-13 21:29:00,stdout,
-
  
�[33mA new version of NordVPN is available! Please update the application.

2022-05-13 21:29:00,stdout,�[0mConnecting...

2022-05-13 21:29:00,stdout,�[0m�[32mSubnet 192.168.69.0/24 is whitelisted successfully.

2022-05-13 21:29:00,stdout,�[0m�[32mSubnet 172.17.0.0/16 is whitelisted successfully.

2022-05-13 21:29:00,stdout,�[0m�[32mTechnology is successfully set to 'NORDLYNX'.

2022-05-13 21:28:58,stdout,�[0m
-
  

-
\
|
/
-
\
|
/
-
\
|
/
-
\
|
/
-
\
|
  
�[32mWelcome to NordVPN! You can now connect to VPN by using 'nordvpn connect'.

2022-05-13 21:28:55,stdout,
-
  
�[33mA new version of NordVPN is available! Please update the application.

2022-05-13 21:28:54,stdout,[services.d] done.

2022-05-13 21:28:52,stdout,[services.d] starting services

2022-05-13 21:28:52,stdout,[cont-init.d] done.

2022-05-13 21:28:52,stdout,[cont-init.d] 99-custom-scripts: exited 0.

2022-05-13 21:28:52,stdout,[custom-init] no custom files found exiting...

2022-05-13 21:28:52,stdout,[cont-init.d] 99-custom-scripts: executing... 

2022-05-13 21:28:52,stdout,[cont-init.d] 90-custom-folders: exited 0.

2022-05-13 21:28:52,stdout,[cont-init.d] 90-custom-folders: executing... 

2022-05-13 21:28:52,stdout,[cont-init.d] 40-allowlist: exited 0.

2022-05-13 21:28:52,stdout,[cont-init.d] 40-allowlist: executing... 

2022-05-13 21:28:52,stdout,[cont-init.d] 30-route6: exited 0.

2022-05-13 21:28:52,stdout,[cont-init.d] 30-route6: executing... 

2022-05-13 21:28:52,stdout,[cont-init.d] 30-route: exited 0.

2022-05-13 21:28:52,stdout,RTNETLINK answers: Invalid argument

2022-05-13 21:28:52,stdout,Enabling connection to network 192.168.69.1/24

2022-05-13 21:28:52,stdout,[cont-init.d] 30-route: executing... 

2022-05-13 21:28:52,stdout,[cont-init.d] 20-inet6: exited 0.

2022-05-13 21:28:52,stdout,No inet6 network

2022-05-13 21:28:52,stdout,[cont-init.d] 20-inet6: executing... 

2022-05-13 21:28:52,stdout,[cont-init.d] 20-inet: exited 0.

2022-05-13 21:28:51,stdout,Enabling connection to secure interface and docker network

2022-05-13 21:28:51,stdout,[cont-init.d] 20-inet: executing... 

2022-05-13 21:28:51,stdout,[cont-init.d] 10-tun: exited 0.

2022-05-13 21:28:51,stdout,[cont-init.d] 10-tun: executing... 

2022-05-13 21:28:51,stdout,[cont-init.d] 10-adduser: exited 0.

2022-05-13 21:28:51,stdout,

2022-05-13 21:28:51,stdout,-------------------------------------

2022-05-13 21:28:51,stdout,User gid:    100

2022-05-13 21:28:51,stdout,User uid:    1026

2022-05-13 21:28:51,stdout,

2022-05-13 21:28:51,stdout,-------------------------------------

2022-05-13 21:28:51,stdout,GID/UID

2022-05-13 21:28:51,stdout,-------------------------------------

2022-05-13 21:28:51,stdout,https://www.linuxserver.io/donate/

2022-05-13 21:28:51,stdout,To support LSIO projects visit:

2022-05-13 21:28:51,stdout,Bubuntux: https://github.com/sponsors/bubuntux

2022-05-13 21:28:51,stdout,To support the app dev(s) visit:

2022-05-13 21:28:51,stdout,

2022-05-13 21:28:51,stdout,-------------------------------------

2022-05-13 21:28:51,stdout,Brought to you by linuxserver.io

2022-05-13 21:28:51,stdout,

2022-05-13 21:28:51,stdout,

2022-05-13 21:28:51,stdout,         |_| |___/ |_|  \__/

2022-05-13 21:28:51,stdout,         | | \__ \ | | | () |

2022-05-13 21:28:51,stdout,         | | / __| | |  /  \ 

2022-05-13 21:28:51,stdout,         | |  ___   _    __

2022-05-13 21:28:51,stdout,          _         ()

2022-05-13 21:28:51,stdout,-------------------------------------

2022-05-13 21:28:51,stdout,

2022-05-13 21:28:50,stdout,[cont-init.d] 10-adduser: executing... 

2022-05-13 21:28:50,stdout,[cont-init.d] 02-tamper-check: exited 0.

2022-05-13 21:28:50,stdout,[cont-init.d] 02-tamper-check: executing... 

2022-05-13 21:28:50,stdout,[cont-init.d] 01-migrations: exited 0.

2022-05-13 21:28:50,stdout,[migrations] no migrations found

2022-05-13 21:28:50,stdout,[migrations] started

2022-05-13 21:28:50,stdout,[cont-init.d] 01-migrations: executing... 

2022-05-13 21:28:50,stdout,[cont-init.d] 01-envfile: exited 0.

2022-05-13 21:28:50,stdout,[cont-init.d] 01-envfile: executing... 

2022-05-13 21:28:50,stdout,[cont-init.d] 00-firewall: exited 0.

2022-05-13 21:28:50,stdout,"Firewall is up, everything has to go through the vpn
"
2022-05-13 21:28:50,stdout,[cont-init.d] 00-firewall: executing... 

2022-05-13 21:28:50,stdout,[cont-init.d] executing container initialization scripts...

2022-05-13 21:28:50,stdout,[fix-attrs.d] done.

2022-05-13 21:28:50,stdout,[fix-attrs.d] nord_utils: exited 0.

2022-05-13 21:28:50,stdout,[fix-attrs.d] nord_utils: applying... 

2022-05-13 21:28:50,stdout,[fix-attrs.d] docker_utils: exited 0.

2022-05-13 21:28:50,stdout,[fix-attrs.d] docker_utils: applying... 

2022-05-13 21:28:50,stdout,[fix-attrs.d] applying ownership & permissions fixes...

2022-05-13 21:28:50,stdout,[s6-init] ensuring user provided files have correct perms...exited 0.

2022-05-13 21:28:50,stdout,[s6-init] making user provided files available at /var/run/s6/etc...exited 0.

This is the command I use to run the container:

sudo docker run -ti \
--cap-add=NET_ADMIN \
--cap-add=SYS_MODULE \
--device /dev/net/tun \
--name nordvpn \
-e USER=MYUSER \
-e PASS='MYPASSWORD' \
-e CONNECT=us \
-e TECHNOLOGY=NordLynx \
-e NETWORK=192.168.69.1/24 \
-e TZ=America/Chicago \
-e PUID=1026 \
-e PGID=100 \
-p 6077:6077 \
-p 8112:8112 \
-p 58846:58846 \
-p 58946:58946 \
-p 3129:3129 \
 -e PRIVATE_KEY=MY_PRIVATE_KEY \
-d bubuntux/nordvpn

I'm even adding the private key to the command. What am I missing here? What can I do to fix the Unable to access interface: Protocol not supported error?

commented

I'm having the exactly same problem with my Synology NAS and the private key is blank.

same problem here. on synology nas.
is there a way to fix this ?

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Same issue here!