Some help w/ dup-to

  • Hi Forum!

    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  -m string –string "INVITE sip:" --algo kmp -j ROUTE --tee --gw

    Brute force

    iptables -t mangle -A POSTROUTING -d -p udp -j ROUTE --tee --gw

    iptables -t mangle -A POSTROUTING -d -p udp -j ROUTE --tee --gw

    How can I get this done w/ pf. I have been using pf for 2 days now so am a complete noob w/ it.

Log in to reply