Skip to content
This repository has been archived by the owner on Jan 19, 2021. It is now read-only.

Latest commit

 

History

History
30 lines (23 loc) · 1.15 KB

setup_pfsense.md

File metadata and controls

30 lines (23 loc) · 1.15 KB

PfSense setup

Download, install and configure pfSense

OpenVPN

Provide private access to the network from remote.

DNS-Forwarding (dnsmasq)

To be able to use DHCP and custom hostnames on the internal network I use my own internal DNS server in pfSense. Also dnsmasq is configured to forward queries of the consul domain to the consul server port 8500 so that we can use the DNS feature of consul to lookup services on the network.

DHCP

With vlans and different subnets, I have enabled DHCP on all subnets to avoid needing to specify ip-adresses on each container.

VLAN configuration

The different vlans has been created in pfSense. vlan setup in pfsense

IPSec configuration to Amazon AWS VPC

I followed this guide to create a vpn tunnel between Amazon AWS and my pfSense gateway so that its possible to communicate with hosts running in EC2. https://www.ceos3c.com/2017/04/24/site-to-site-vpn-between-pfsense-and-aws-vpc/