Sign inSign up

builderstar/nordssh

By builderstar

Updated almost 2 years ago

An image file that runs an "openssh" server and a "NordVPN" client in the same container.

Image
Networking
Security
0

190

builderstar/nordssh repository overview

Setting up container:

1 . Start the container:

docker run -dit -p 3200:22 --hostname nordvpnssh --cap-add=NET_ADMIN --name nordvpnssh --sysctl net.ipv6.conf.all.disable_ipv6=0 builderstar/nordssh

This will run the docker container (with NordVPN and openssh running inside it) and expose a port (-p 3200 in the example) on the host machine that is directly forwarded to the openssh port (-p 22) on the container.

2 . SSH into your container:

ssh <your host machine ip address> -p <the port you specified on your container, default: 3200>

You can ssh directly into the the docker container which has NordVPN installed in it. The default password is "nordvpn_ssh".

3 . Login to NordVPN:

nordvpn login --token <enter your token here>

Login to your NordVPN account. For more instructions please visit: https://support.nordvpn.com/hc/en-us/articles/20226600447633-How-to-log-in-to-NordVPN-on-Linux-devices-without-a-GUI

4 . Connect to NordVPN:

nordvpn connect <enter your server here (or leave blank to connect automatically)>

Connect to a NordVPN server. For more instructions please visit: https://support.nordvpn.com/hc/en-us/articles/20196094470929-Installing-NordVPN-on-Linux-distributions

(5 .) Note:

This container only runs the NordVPN client inside the docker container independent from the host machine and other containers. This image could be useful for setting up multiple NordVPN clients on the same server with each of them accessible remotely via ssh on different ports and/or each of them connecting to a different country or region.

Tag summary

Content type

Image

Digest

sha256:2f63e9f2f

Size

109.1 MB

Last updated

almost 2 years ago

docker pull builderstar/nordssh