pfS Gurus!

I gather the UI has no ability to add dup-to rules for pf. I am happy to
edit the filter.inc, but I am not sure where I should edit this to add my
dupto rule. I am trying to replicate this iptables rule

iptables -t mangle -A POSTROUTING -p udp -d 192.168.100.0/23  -m string
--string "INVITE sip:" --algo kmp -j ROUTE --tee --gw 192.168.100.2

that I had running on my wrt based router. This is only bit of
functionality that I am having replicating with my move from tomato to
pfSense. This basically  duplicates or "tees up" sends SIP invite packets
to a specific host. I know the string matching might be harder to do
(should still be possible using an L7 pattern, will get there in a bit)

for the moment I will edit the rules.debug and reload the filter to test
out the rule.

Any ideas as to where to start editing the filter.inc?

Thanks all
Manoj
_______________________________________________
pfSense mailing list
https://lists.pfsense.org/mailman/listinfo/list
Support the project with Gold! https://pfsense.org/gold

Reply via email to