wget https://git.io/vpn -O openvpn-install.sh && bash openvpn-install.sh
/etc/openvpn/server/server.conf
Change the OpenVPN LAN address to prevent interfering with other OpenVPN connections
server 10.8.0.0 255.255.255.0
to server 10.5.0.0 255.255.255.0
Comment out the following so Internet traffic is not routed through
#push "redirect-gateway def1 bypass-dhcp"
#push "dhcp-option DNS 1.1.1.1"
#push "dhcp-option DNS 1.0.0.1"
Add the following so VPN Clients get LAN route
# 10.13.37.254 is OpenVPN server's LAN IP
push "route 10.13.37.254 255.255.255.0"
push "route 10.13.37.0 255.255.255.0"
Comment out the following from client.conf
and /etc/openvpn/server/client-common.txt
#ignore-unknown-option block-outside-dns
#block-outside-dns
Add route to DDWRT/Routing.asp so LAN clients can respond
Destination LAN NET 10.5.0.0
Subnet Mask 255.255.0.0
Gateway 10.13.37.254
Add route to VM pfsense/system_routes.php
Destination network
10.5.0.0 / 32
Gateway
10.13.37.1