PfSense

From wiki.adjoodani
Jump to navigation Jump to search

<BACK>

pfsense

pfsense links

Set up Free Radius on PfSense with two factor authentication for OpenVPN

pfsense Captive Portal
https://docs.netgate.com/pfsense/en/latest/captiveportal/zones.html
Monitoring Usage with LightSquid
Intercept https squid proxy mitm
old_pfsense

pfsense Apps

https://github.com/shadonet/pfSense-pkg-zeek
https://github.com/ndejong/pfsense_fauxapi 
https://github.com/pfelk/pfelk
https://github.com/unofficial-unifi/unifi-pfsense


config pfsense via

via salt-stack
via ansible
Control Many pfsense boxes
Control pfsense boxes

How-To

pfsense email out

System-> Advanced-> Notifications:
 (1)  Disable SMTP = Uncheck
 (2)  E-Mail server = smtp.gmail.com
 (3)  SMTP Port of E-Mail server = 587
 (4)  Connection timeout to E-Mail server = (Leave Blank)
 (5)  Secure SMTP Connection = Uncheck
 (6)  Validate SSL/TLS = Check
 (7)  From e-mail address = <<validemail@gmail.com>>
 (8)  Notification E-Mail address = <<alertmyemail@gmail.com>>
 (9)  Notification E-Mail auth username = <<validemail@gmail.com>>
 (10) Notification E-Mail auth password = <<gmail-app-password>>
 (11) Notification E-Mail auth mechanism = PLAIN

pfsense speedtest

Still-works orig:: https://github.com/aln-1/pfsense-speedtest-widget
new (has issues)::  https://github.com/LeonStraathof/pfsense-speedtest-widget/blob/main/README.md
From Pfsense Gui ->Diagnostics->Command Prompt
"pkg update"
"pkg search speedtest"
"pkg install -y" <what it listed as latest version>
Upload speedtest.widget.php to /usr/local/www/widgets/widgets/speedtest.widget.php
Pfsense Dashboard and install Widget "speedtest"

File:Speedtest.wdiget.pdf

pfsense troubleshooting

# Mounting from cd9660:/dev/iso9660/PFSENSE failed with error 19
# USE USB drive 16gig or smaller (BSD issues)
# OLD solution .. At the loader prompt, enter:
# set debug.acpi.disabled="hostres"
# boot

pfsense NUT/UPS

https://forum.netgate.com/topic/71022/manually-configuring-nut
https://blog.ch3sh1r3.com/shutdown-vms-on-esxi-7-0-using-nut-on-pfsense/
NUT server

pfsense vlan

File:How-to-VLAN-pfSense.pdf

pfsense openvpn

File:How-to-OpenVPN-pfSense.pdf

pfsense duckddns

File:How-to-DuckDNS-pfSense.pdf