Catagorized Notes

Renamed notes to fit categories and be easier to find later: blog, config, howto
This commit is contained in:
2023-04-28 10:31:11 -04:00
parent ccadd25693
commit 65c434952a
33 changed files with 89 additions and 211 deletions

26
blog - OpenVPN.md Normal file
View File

@@ -0,0 +1,26 @@
# HowTo: OpenVPN
## Installing OpenVPN Server on Ubuntu 20.04
I used the excellent all-in-one [OpenVPN Install](https://github.com/Nyr/openvpn-install) script to do the heavy lifting for this. There were a few caveats that weren't immediately apparent, mostly because of my ignorance in setting up OpenVPN.
I also made sure to open UDP port 1194 on the my Router/Modem and forward that port to Phaedrus
Afterwards, I was able to use the `ovpn` file to connect to my LAN
## Specifying a DNS with OpenVPN
After installing OpenVPN on a VM recently I decided I wanted it to use my local Pi-Hole instance as its DNS so I can block ads while connected to the VPN.
It's as easy as specifying the DNS in `/etc/openvpn/server/server.conf`, like so:
```ini
push "dhcp-option DNS 192.168.0.206"
```
Then restart openvpn with `sudo systemctl restart openvpn-server@server`
---
* [Setup OpenVPN Server - Pi Hole Reference](https://docs.pi-hole.net/guides/vpn/setup-openvpn-server/)
* The same guy that made the all-in-one script for OpenVPN made one for WireGuard: [wireguard-install](https://github.com/Nyr/wireguard-install)