Set up firewall using pfsense - samuelGreitzer/SYS255-tech-journal GitHub Wiki

Set up firewall using pfsense

  1. Make sure client and firewall are plugged into each other and that the firewall is the only way the client gets out into the internet (physically) Client into firewall, firewall into wider network
  2. Power on pfsense machine and double check that firewall and client are connected
  3. Now you have to assign interfaces so the firewall works correctly. client should be em1 and network should be em0
  4. Now you have to assign Ip addresses to the interfaces on the firewall(NOTE This can be done via DHCP but apparently we learn the hard way)
  5. Start with the WAN interface, it gets assigned its own IP that fits within the parameters of the network. DO NOT PUT THE DEFAULT GATEWAY FIRST YOU DID THIS LIKE 3 TIMES DEFAULT GATEWAY GOES SECOND
  6. Don't use ipv6, I know its technically better but that stuff scary
  7. Don't revert to http cuz thats not secure
  8. Now you get to assign an IP to the LAN interface. Same basic process as above but don't enter a default gateway because the firewall is the gateway for the LAN

Now you can power on the client machine and make sure it can actually talk to stuff

  1. Make sure the IP of the client is properly configured to talk through the firewall and that the firewalls LAN interface is set as the default gateway on the client

to do this go to control panel > network and internet > network and sharing center > select the network adapter connected to the firewall (ethernet0) > properties > Internet Protocol Version 4(TCP/IPv4). This will let you manually edit network configuration (thanks windows)

  1. open a browser and enter the IP of the LAN interface on the firewall to get the pfsense gui (default login is admin:pfsense)
  2. Run through the gui and configure however you like

now it should work

I hope