VPN
We use pfSense to manage OpenVPN users and gain access to internal resources and also provides internet access over a Canadian IP address.
Using the VPN
To use the VPN you require to have
- an installed OpenVPN client on your device
- a configuration file that is generated by pfsense. You will receive this from the member that sets up your account.
- a username and password. This will be shared with you in Bitwarden.
Adding OpenVPN users on pfSense
To add OpenVPN users on pfSense:
- Log in to pfSense panel by SSH tunneling or over the VPN
- Recommanded to use VPN if you already have an VPN account
- The pfSense panel can be accessed here
- Go to System -> User Manager
- Click
+ Add
green button - Enter the username, it should be
ovpn_firstname
- Create a random strong password example: the output of
dd if=/dev/urandom bs=1M count=100 | md5sum
- Tick
Click to create a user certificate
- Create Certificate for user
- Discriptive name: same as username
- Certificate authority: utilities.hypha.coop
- Key length: 4096
- Lifetime: 3650
- Click
Save
- Log in to pfSense panel by SSH tunneling or over the VPN
Exporting OpenVPN file:
- Log in to pfSense panel with instructions above
- Go to VPN -> OpenVPN
- Click on
Client Export
tab - Select Remote Access Server
VPN Access UDP4:13313
- Leaving all other settings untouched scroll down to OpenVPN Clients and click
Most Clients
under Inline Configurations beside the user you want to download. - Send the OpenVPN file to user over encrypted means such as Signal or encrypted Matrix direct chat.
Deleting OpenVPN user on pfSense
- Go to System -> User Manager
- Delete the user(s)
- Log in to pfSense panel by SSH tunneling or over the VPN
- Go to System -> Cert. Manager
- Click on
Certificate Revocation
tab - Click the βοΈ beside
Certificate Revocation
- Choose the
ovpn_username
you are removing - Choose Reason and click
+ Add