Run openvpn on Docker (windows)

For people like this

Overview

I installed the NordVPN client and was able to connect once, but after a few hours, once I logged out of the NordVPN client, I could not log in to NordVPN again.

It seems to be an existing problem, so I decided to stop using the NordVPN client and connect to NordVPN with the OpenVPN client. raddit : Is the "expired subscription" bug gonna be fixed some day?

procedure

  1. Start the container by specifying the network authority and DNS server.
  2. Install OpenVPN
  3. Download the NordVPN configuration file
  4. Connect

1. Start the container by specifying the network authority and DNS server.

docker pull ubuntu
docker run -it --cap-add=NET_ADMIN --cap-add=SYS_MODULE --device /dev/net/tun --dns 8.8.8.8 --name ubuntu1 --sysctl net.ipv4.conf.all.rp_filter=2 ubuntu

2. Install OpenVPN

apt-get install openvpn

3. Download the NordVPN configuration file

cd /etc/openvpn
apt-get install wget unzip
wget https://downloads.nordcdn.com/configs/archives/servers/ovpn.zip
unzip ovpn.zip
rm ovpn.zip

4. Connect

openvpn --config /etc/openvpn/ovpn_tcp/jp429.nordvpn.com.tcp.ovpn --auth-user-pass  <( echo -e "[NordVPN ID]\n [NordVPN Pass]" ) &

Recommended Posts

Run openvpn on Docker (windows)
Run NordVPN on Docker (Windows) Ubuntu container
M.S. docker on Windows
Run phpunit on Docker
Install Docker on Windows 10 PRO
Run VS Code on Docker
Try Docker on Windows 10 Home
Steps to run docker on Mac
Run puppeteer-core on Heroku (Docker edition)
Use Docker Compose on Windows 10 Home
Run React on a Docker container
Run the AWS CLI on Docker
How to run JavaFX on Docker
Run GUI application on Docker container
Run PureScript on a Docker container
Try Docker on Windows Home (September 2020)
Using Docker on Windows10 Home WSL2
Liberty on Docker
I tried running Docker on Windows Server 2019
Run Embulk on Docker to convert files
Introducing Docker Desktop for Windows on WSL2
OpenVPN on CentOS 8
Until you run apache on ubuntu on docker
Run Ubuntu + ROS with Docker on Mac
Redmine on Docker
Run GUI application on Docker container (Japanese input)
Run JSP Hello World with Tomcat on Docker
Operate Docker Desktop for Windows on Linux (WSL)
Install Corretto 8 on Windows
Run STS4 on Mac
python notes on docker
Test run on rails
Run Pico with docker
Run PostgreSQL on Java
Install Docker on Manjaro
Run Payara with Docker
Run Processing on Ant
Run tiscamera on Ubuntu 18.04
Docker installation on WSL2
Easily build Redmine on Windows using WSL2 and Docker
Run the Android emulator on Docker using Android Emulator Container Scripts
I tried using Docker Desktop for Windows on Windows 10 Home
What is docker run -it?
Install Docker on Raspberry Pi
Run TAO Core with Docker
Install Docker on Ubuntu Server 20.04
Ubuntu on Windows Community Preview
Oracle Java 8 on Docker Ubuntu
Run lilypond on Docker on macOS Catalina to create sheet music
Manually build OpenJDK on Windows
Run chromium-mir-kiosk on Ubuntu Core
Run Rails whenever with docker
Decomposing the Docker run command. .. ..
Ubuntu on Windows build speed
Run java applet on ubuntu
Fastest Docker introduction (Windows 10 edition)
Hosted Apicurio Studio on Docker
Install docker on AWS EC2
Run Eclipse CDT on Ubuntu
Run mruby / c on PSoC 5
[Microsoft] Run Azure Pipelines (VSTS) Agent on Docker or Azure Container Instance