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

    How to redirect port on LAN interface for transparent siproxd?

    Scheduled Pinned Locked Moved NAT
    2 Posts 1 Posters 2.6k 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.
    • M
      Master One
      last edited by

      I am playing around with setting up asterisk (specifally askozia, which is an embedded solution based on m0n0wall similar to pfSense) behind pfSense without success so far. I want to use siproxd as a transparent proxy for that purpose, as described here.

      That setup should be pretty straight forward, and there is little to do. The major problem is, that I just don't get it, how to redirect outbound traffic on port 5060 through siproxd, like it is outlined for iptables:

      redirect outgoing SIP traffic to siproxd (myself)

      iptables -t nat -A PREROUTING -m udp -p udp -i eth0 –destination-port 5060 -j REDIRECT

      I tried setting up a NAT Port Forward like this:

      Interface: LAN
      External address: any
      Protocol: UDP
      External port range: 5060
      NAT IP: 192.168.1.1 (that's the pfSense LAN IP)
      Local port: 5060

      but it just does not work.

      Any hint?

      1 Reply Last reply Reply Quote 0
      • M
        Master One
        last edited by

        I think I know now, how to solve this issue, but I still don't know how. Please have a look at my posting in the SIPROXD Transparent Proxy thread.

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