March-12th-2020, 02:25 PM
(This post was last modified: March-12th-2020, 04:08 PM by Armin@netPI.)
I got it working. I am able to connect to the OpenVPN container on my netPI.
Look this is a picture of my Windows Open Client program showing success and connection to the container.
So here is what I did:
Look this is a picture of my Windows Open Client program showing success and connection to the container.
So here is what I did:
- I installed the netPI Raspbian container from here https://registry.hub.docker.com/r/hilsch...-raspbian/ running in host and privileged mode.
- I opened an SSH connection over an SSH client program (putty) to the container
- I changed from user "pi" to user "root" using the command
Code:sudo -i
- Then I called the following command
Code:apt-get update
- Then I called
Code:curl -L https://raw.githubusercontent.com/pivpn/pivpn/master/auto_install/install.sh | bash
- I clicked through all the options and made a setup in accordance to the wizard
- Finally I called
Code:pivpn add
- I received a *.ovpn file which I imported to my Windows Open Vpn Client command
- Then I started the OpenVPN server with
Code:/etc/init.d/openvpn start
- Finally I click "connect icon" in my Windows Open Vpn Client and it was connecting fine
„You never fail until you stop trying.“, Albert Einstein (1879 - 1955)