Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

One issue with the above address is that it is resolving to both ipv4 networks and ipv6 networks. If there are connection problems, you may want to try the pure ipv4-address instead, like this:

TorneAPI ipv4 only: https://api-4.tornevall.net/2.0/vpn/update/auth/tunnelUserName/key/tunnelUserKey/ip/auto/

To identify the current ip address http://identifier.tornevall.net/ip.php

Configuring the tunnel may be done manually with regular commands:

...

On the preinstalled raspberry pi there is however scripts that is making thing for you in /usr/local/sbin

ScriptWhat it does
/usr/local/sbin/pi-tunnel.runContains the current remote address required on connection and the current prefix.
It actually runs pi-tunnel.sh in the same path
/usr/local/sbin/pi-tunnel.sh

Automatically configures a tunnel based on the data entered at pi-tunnel.run, so this goes with two parameters:

<remote-connection-address> <your-prefix>

 

Firewalls

Yes. They will be there in a new future, since we are not focused on this part. The important thing is that everything is blocked when the pi fires up in production mode, and somehow, some base services only, will be allowed to connect to the DMZ-address.