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

    Outbound NAT Problem

    Scheduled Pinned Locked Moved NAT
    2 Posts 2 Posters 1.7k 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.
    • W Offline
      w.hackl
      last edited by

      Hi there ,

      Im searching for a way to pat a outgoing request to a different port with follwing scenario :

      At the beginning there were 8 PC's with an application using port 5001 to connect to a Dialogue System ( telnet terminal like ) , identified by the external system using the different ip of the sender .
      So the pfsense does pat like pc-port 5001 -> Virtual External IP-5001 -> Dialog System-5001 .
      This is working .

      In the application we can change to communication port from 5001 to something else , but the dialog system only responds to 5001

      Using a terminal server we mapped the first start of the application with outgoing nat reflection from
      application-5001 -> virtual-ip-5001 -> dialogsystem-5001
      This is working ( no surprise )

      The second start of the application is a little bit tricky :

      application-5002 -> virual-ip-5001(different from the first) -> dialogsystem-5001

      The problem is to map the outgoing request from 5002 to 5001

      Anyone who could help me , or is it not possible ?

      Regards Wolfgang

      1 Reply Last reply Reply Quote 0
      • B Offline
        blak111
        last edited by

        For the outbound NAT rule, set the source to the terminal server IP, port 5002. Then set the translation to the other Virtual IP address with a port of 5001 with the static port option.

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