Skip to content

Install pfSense

After creating the .env file, it must be loaded, then the Terraform Script can be executed.

  1. Load config:
    Terminal window
    source.env
  2. Run Terraform:
    Terminal window
    terraform init # Just the first time
    terraform apply
  3. After executing these commands you are able to login to the WebUI via the FloatingIP on port 443 (https) and login with the admin:STACKIT123! credentials.

In order to start right away with your new pfSense Appliance we introduced a few default settings.

Interface Mapping:

  • The first interface vtnet0 is bound to WAN
  • The second interface vtnet1 is bond to LAN

Firewall

  • In order to get to the WebUI we added a firewall rule that allow access from all wan IPs (It is recommended to change this after the first setup).
  • Disabled the HTTP Referer check

NAT: Outbound NAT rule to allow the LAN network to get fnternet access.

Admin Password: Changed the default password for the admin user to STACKIT123!