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

Selective inbound port nat based on source ip

Scheduled Pinned Locked Moved NAT
3 Posts 3 Posters 2.2k 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.
  • S
    scheidell
    last edited by Aug 20, 2010, 2:18 AM

    I have a situation on a SIP product that insists on splitting up the sip traffic.
    port 5060 if for phones, port 5080 is for SIP trunks. (I think they do it to get around needing a separate ip/box for the SBC)

    What I would like to do is take everything from the SIP trunk provider that hits port 5060 and fwd it internally to port 5080.
    (easy enough with proxy arp, and port forwarding).

    BUT, I want everything the works sends to that same port 5060 to go to port 5060 internally.

    I tried this:
    Firewall rules:
    inbound:
    allow siptrunk to sipprivate:5080
    allow any to sipprivate:5060
    Two port forward nat rules.

    nat external port 5060 to sipprivate:5080
    nat external port 5060 to sipprivate:5060

    (just describing it shows me it shouldn't work)

    1 Reply Last reply Reply Quote 0
    • D
      danswartz
      last edited by Aug 20, 2010, 2:41 AM

      what does 'the works' mean?

      1 Reply Last reply Reply Quote 0
      • E
        Efonnes
        last edited by Aug 21, 2010, 6:41 AM

        This was added in 2.0, which is currently in beta.

        1 Reply Last reply Reply Quote 0
        3 out of 3
        • First post
          3/3
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
          This community forum collects and processes your personal information.
          consent.not_received