Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Some help w/ dup-to

    Scheduled Pinned Locked Moved General pfSense Questions
    1 Posts 1 Posters 650 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • V Offline
      vajonam Rebel Alliance
      last edited by

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

      Brute force

      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.

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.