You have two options for setting up your firewall with your VPN. It's recommended that you clear out your entire firewall so you have full control over its setup. So you will want to prevent ports 53 and 80, respectively, from being accessible from the public Internet. In addition to the risk of being an open resolver, your Web interface is also open to the world increasing the risk. If this is the case, you need to secure the server for your safety as well as others to prevent aiding in DDoS attacks. This step is optional but recommended if you are running your server in the cloud, such as a droplet made on Digital Ocean. If you are behind a NAT and not running the Pi-hole on a cloud server, you do not need to issue the IPTABLES commands below as the firewall rules are already handled by the RoadWarrior installer, but you will need to portforward whatever port you chose in the setup from your public ip to your device using your router. Optional: Dual operation: LAN & VPN at the same timeįirewall Configuration (optional) Secure the server with firewall rules ( iptables) ¶ Option 2: Explicitly allow what can be accessed within the VPN Option 1: Allow everything from within your VPN (optional) Secure the server with firewall rules (iptables)
0 Comments
Leave a Reply. |