# pfSense
https://hackmd.io/p/HyFG__Lpe
----
## 防火牆組
* *瀚瀚*
* 陳力
* 林廷衛
* 鄧逸軒
----
## What's pfSense
* 防火牆
* NAT
* DHCP
* VPN
* ...
----
## Why pfSense
* FreeBSD
* web GUI !!!
---
# LAB
----
## GOAL
* vlan 8 with DHCP on
* 1 VM in vlan 8
* vlan 8 can not touch pfsense web GUI
* vlan 8 can only touch linux1 and DNS
----
## VLAN
* Interfaces -> VLANs
* Interfaces -> Interface assignments
* [Configuring vlans on pfSense](https://www.highlnk.com/2014/06/configuring-vlans-on-pfsense/)
----
## DHCP
* Services -> DHCP server
----
## Rules
* Firewall -> Rules
----
## VLAN on VM
* [VLAN](https://wiki.archlinux.org/index.php/VLAN)
* [Routing](https://wiki.archlinux.org/index.php/Network_configuration#Manual_assignment)
* [dhclient](https://www.cyberciti.biz/faq/howto-linux-renew-dhcp-client-ip-address/)
---
大量參考自 2015 年瀚瀚製作的 slide
{"metaMigratedAt":"2023-06-14T12:41:18.767Z","metaMigratedFrom":"Content","title":"pfSense","breaks":"true","contributors":"[]"}