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

    Port forwarding to internet - Redirect LAN TCP port to Internet server dif. port

    NAT
    2
    4
    3.0k
    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
      maxita
      last edited by

      Hello, this is my conf:

      Port WAN: 192.168.0.2 ->  linked with cisco router for internet with public ip redirected

      Port LAN: 192.168.1.1 -> office switch

      I have a VOIP telephone that support just TCP/UDP ports up to 1024. Our VOIP provider don't use standard 5060 port but instead it use 443 port.

      I want create a rule like that:  VOIP-Phone–--port5060--->LAN:192.168.1.1---->WAN:192.168.0.2----port 443--->VOIP-Provider port 443

      So create a rule where phones try to contact the LAN interface at the port 5060 and they are redirected trough WAN interface to the 443 port of the VOIP provider.

      My test? EPIC FAIL!

      Thanks for the help and regards!

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        They should instead try to contact the server directly, and your port redirection should be set for an "external address" of "any". That should work, at least in theory.

        Otherwise show a picture of your NAT rules so we can see the rest of the settings in use.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • M
          maxita
          last edited by

          @jimp:

          They should instead try to contact the server directly, and your port redirection should be set for an "external address" of "any". That should work, at least in theory.

          Otherwise show a picture of your NAT rules so we can see the rest of the settings in use.

          First of all thanks for your support.
          I have attached all screenshots of my firewall configuration, to be honest i haven't understand your suggestion but as you said i will whait some your specific help regarding this problem after a look inside these pics..

          I just want remember you that phones accept in their web gui a port over 1024 and voip isp on internet accept just the 443 port so i need that phones try to contact 192.168.1.1 interface port 5060 and they are fowarded to the isp noverca.com port 443

          Thanks and regards
          Max

          1 Reply Last reply Reply Quote 0
          • jimpJ
            jimp Rebel Alliance Developer Netgate
            last edited by

            I don't see any port forward entry in that list that would match your VOIP traffic.

            What I was wanting to see was the port forward entry you had that would redirect your phone traffic.

            Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

            Need help fast? Netgate Global Support!

            Do not Chat/PM for help!

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