Skip to content

Instantly share code, notes, and snippets.

@seven62
Last active December 3, 2018 22:33
Show Gist options
  • Save seven62/cef81daba6a6693162616f987bd3f7be to your computer and use it in GitHub Desktop.
Save seven62/cef81daba6a6693162616f987bd3f7be to your computer and use it in GitHub Desktop.
basic steps to get get openvpn server running on a pfsense router

PFSENSE / OPENVPN SETUP

install openvpn-client-export

system > pm > available pkgs

create cert authority

vpn > Openvpn > wizards local user access create new CA name cc state city org add new CA

create certificate

description tunnel network 172.16.99.0/24 local network 172.16.1.0/24 add local dns server

firewall rules

check boxes:

  • firewall rule
  • openvpn rule

finish actions > edit (pencil)

change server mode to "user auth" save

create user

system / user manager / users

add

export client config

vpn > openvpn > client export this config export can be imported to your vpn client of choice

OPTIONAL port forwarding

my pfsense router is sitting just inside my provider gfiber box
OpenVPN ports need to be forwarded past gfiber to get to openvpn server running on pfsense

forward port 1194

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment