Skip to main content

Toolbar items

Back to site
Manage

Administration menu

Anonymous

User account actions

  • Log in
  • Create new account
  • Reset your password

User account menu

  • Log in
Home
Hadronrider
How to set up a bare metal home server, run CI/CD using Gitlab, Jenkins and pipelines, make e-toys, automate your home and much more

Main navigation

  • Home
    • HadronRider WWW App
    • Webmail
    • Gitlab
    • Jenkins
    • Mercurial
    • Redmine
    • YouTube channel

Home VPN

Breadcrumb

  • Home
By valerio | 2:02 PM BST, Sat October 19, 2024

While looking into setting up OpenVPN to create VPN tunnels I discovered the pivpn project, a nicely put together set of scripts to install and configure a VPN tunnels and client profiles, mainly intended to turn Raspberry Pi's into VPN servers/tunnels.

It's all simple as:

  • install pivpn or set your Raspberry Pi up, note down the static IP
  • set your internet router's port-forwarding on port 1194 for said IP

Now create a profile for each of clients (users) by just running "pivpn -a" interactively or "pivpn --help"

You can find the <CLIENT NAME>.ovpn file in the local directory or /etc/openvpn/easy-rsa/pki/.

Now you can install your favourite OpenVPN client on your portable device (laptop, tablet, smartphone):

  • for Windows: https://openvpn.net/client/client-connect-vpn-for-windows/
  • for Android: https://play.google.com/store/apps/details?id=net.openvpn.openvpn&hl=en_GB
  • for iOS: https://apps.apple.com/us/app/openvpn-connect-openvpn-app/id590379981

Load the OVPN profile file, enter the password and you're good to go!

 

  • Log in or register to post comments

Comments

Powered by Drupal

Copyright © 2024 Company Name - All rights reserved

Developed & Designed by Valerio Canova