• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Open VPN
#11
Hi Armin,

Thanks.

I already checked with other procedure to configure OpenVPN in NetPi 

youtube link for OpenVPN configuration - 

https://www.youtube.com/watch?v=WA7QTM9hovQ

command run - curl -L https://install.pivpn.io | bash


All setting done, but at the last, I am getting error Failed to install Linux-headers-amd64! attached screenshot.



Br,
Devendra


Attached Files Thumbnail(s)
   
  Reply
#12
Dear Devendra,

I have one question first. Are you using original netPI system software or do you have installed a different micro SD card with different OS?
You never fail until you stop trying.“, Albert Einstein (1879 - 1955)

  Reply
#13
(March-12th-2020, 11:12 AM)Armin@netPI Wrote: Dear Devendra,

I have one question first. Are you using original netPI system software or do you have installed a different micro SD card with different OS?

Dear Armin,

I have only Hilscher netPi, all testing going on the same netPi hardware.

Br,
Devendra
  Reply
#14
Ok, but from where do you call the command "curl -L https://install.pivpn.io | bash"?`

On netPI you cannot call this command without any basic container running? Which container do you run to call this command?
You never fail until you stop trying.“, Albert Einstein (1879 - 1955)

  Reply
#15
Dear Armin,

I am using hilschernetpi/netpi-netx-programming-examples docker image in netPi for SSH port 22. To access netPi I am using Putty on my window application, and running "curl -L https://install.pivpn.io | bash command".



Br,
Devendra
  Reply
#16
Ok I see.

I would always recommend for tests to use the image https://registry.hub.docker.com/r/hilsch...-raspbian/. This is basically as good as original Raspbian OS as you can load it for original Raspberry Pi.

Basically I agree that hilschernetpi/netpi-netx-programming-examples is also ok.

Web site "https://install.pivpn.io" is on index at Hilscher main office and cannot be accessed from here.So the IT department restricted it, I don't know the reason. I think it might be because of security reasons. So I cannot cross check anything here of what you are doing. I am sorry.

Thx
Armin
You never fail until you stop trying.“, Albert Einstein (1879 - 1955)

  Reply
#17
I checked again installing the VPN server as you do and as it is written on the page https://www.pivpn.io/

Since the web site https://install.pivpn.io is forbidden at Hilscher office I checked the content of this web site with my celluar and I was able to see that there is just a redirection to

Code:
https://raw.githubusercontent.com/pivpn/pivpn/master/auto_install/install.sh

So instead of calling
Code:
curl -L https://install.pivpn.io | bash

I was calling

Code:
curl -L https://raw.githubusercontent.com/pivpn/pivpn/master/auto_install/install.sh | bash

here in the Hilscher office and I was able to install it.

But precondition was to use the https://registry.hub.docker.com/r/hilsch...-raspbian/ as base image.

Thx
Armin
You never fail until you stop trying.“, Albert Einstein (1879 - 1955)

  Reply
#18
Here i attached "https://install.pivpn.io" website file.


Attached Files
.txt   install pivpn io wesite page.txt (Size: 82.23 KB / Downloads: 3)
  Reply
#19
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:

  1. I installed the netPI Raspbian container from here https://registry.hub.docker.com/r/hilsch...-raspbian/ running in host and privileged mode.
  2. I opened an SSH connection over an SSH client program (putty) to the container
  3. I changed from user "pi" to user "root" using the command
    Code:
    sudo -i
  4. Then I called the following command
    Code:
    apt-get update
  5. Then I called
    Code:
    curl -L https://raw.githubusercontent.com/pivpn/pivpn/master/auto_install/install.sh | bash
  6. I clicked through all the options and made a setup in accordance to the wizard
  7. Finally I called
    Code:
    pivpn add
  8. I received a *.ovpn file which I imported to my Windows Open Vpn Client command
  9. Then I started the OpenVPN server with
    Code:
    /etc/init.d/openvpn start
  10. 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)

  Reply
#20
Dear Armin,

as per your suggestion, I installed hilschernetpi/netpi-raspbian container, able to connect to Putty.

First, I run - "apt-get update"  error comes, attached screenshot.



Br,
Devendra


Attached Files Thumbnail(s)
   
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  [SOLVED] hilschernetpi/netpi-nodered-fieldbus Fieldbus configurator can't be open Andreas 6 3,165 June-11th-2018, 09:12 AM
Last Post: Armin@netPI
  Adressing netPI with IE11 over its hostname let Docker tile fail to open Armin@netPI 0 1,089 January-11th-2018, 07:33 AM
Last Post: Armin@netPI

Forum Jump:


Users browsing this thread: 1 Guest(s)