Some help w/ dup-to
vajonam last edited by
I used to run a tomato based router at home. it reached its limits as my link speed exceed it, instead of getting a faster tomato based router I have decided to try out pfSense. I have APU1D4 box that does the job.
I have some iptables rules that I am at a bit of a loss to convert over to pf dup-to. I need to copy SIP INVITE packets are routed to my SIP adapter are copied to another computer where I extract that information and keep a log and notify various systems.
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
iptables -t mangle -A POSTROUTING -d 192.168.100.9 -p udp -j ROUTE --tee --gw 192.168.100.2
iptables -t mangle -A POSTROUTING -d 192.168.100.249 -p udp -j ROUTE --tee --gw 192.168.100.2
How can I get this done w/ pf. I have been using pf for 2 days now so am a complete noob w/ it.