PF Converting pfSense router to stock FreeBSD

Hi, I am not sure if this is the right place to post this, but I have had a nicely configured pfSense router/firewall functioning well for quite some time. I'd like to however convert the machine that it is running on to one using stock FreeBSD and nothing else. Where is it possible to retrieve the configuration files from in order to do this and can FreeBSD serve as a drop in replacement in this regard?
 
Hi, I am not sure if this is the right place to post this, but I have had a nicely configured pfSense router/firewall functioning well for quite some time. I'd like to however convert the machine that it is running on to one using stock FreeBSD and nothing else. Where is it possible to retrieve the configuration files from in order to do this and can FreeBSD serve as a drop in replacement in this regard?

Start by fetching copies of the PF rules with pfctl -sn and pfctl -sr. Is the pfSense system just a simple firewall/router or is there anything more complex involved such as multi-WAN with load balancing or failover? You won't be able to do those easily on a stock FreeBSD.
 
Hi!

Yes, in fact is is just a firewall/router, nothing complicated. I ran these two commands and did indeed get the rulesets. Worked very nicely. I imagine my next step would lie in setting up the respective conf files on stock FreeBSD and disabling unneeded services?
 
Read through the rules and write your own based on them, don't use them directly. PfSense uses automatically generated rules that may have some pitfalls if you're not careful.
 
Thanks, I was a curious as to whether it was just a drop in rule exchange. Looks like some additional legwork is required. Thanks!
 
Back
Top