1. K

    PF Confused whitelist location?

    Hi. I'm confused a bit about where to put my whitelist table (containing IPs that shouldn't get blocked). My current configuration does not whitelist my <whitelist> table. This is the trimmed pf.conf file of mine; ext_if="re0" table <whitelist> persist file "/var/pf/whitelist.txt" table...
  2. S

    IPFW How to allow TCP,UDP,ICMP traffic that's sent OUT to internet also return BACK IN but disallow traffic IN from internet that wasn't initiated

    Hey everyone, I'm struggling I'm new to FreeBSD and trying to get up and running an IPFW firewall on my FreeBSD VPS. I don't want to setup any NAT but only firewall filter rules. My /etc/rc.conf firewall_enable="YES" firewall_quiet="YES" firewall_type="open" firewall_myservices="any"...
  3. Angelo Klin

    IPFW Private VPN + Firewall on a VPS

    Hello All, With all the fuzz and issues with security and privacy these days I decided to give it a go with a VPN, mostly for the fun and challenge. I am partially done with a scenario that sounds very typical these days, although it is not necessary plain vanilla. The overall idea is...
  4. T

    PF pf keeping state for lan to wan traffic.

    Hello, Sorry if the title is confusing. My question is when configuring pf I discovered two ways to achieve routing my traffic through my FreeBSD router using pf. The first rule set is as follows. ext_if="em1" int_if="em0" set skip on lo set block-policy drop nat on $ext_if from any to any...
  5. fullauto2012

    Solved Basic rules problem

    root@LR-Remote:~/firewall.d # uname -a FreeBSD LR-Remote 10.3-STABLE FreeBSD 10.3-STABLE #0 r300092: Wed May 18 01:03:38 UTC 2016 amd64 This machine is IP 1921.68.1.11, and all iNet traffic on port 22 is forwarded to it from the...