12.14. NAT gateway

User shall have ROLE_ADMIN to manage network routes.

Via the NAT gateway subtab, admin can configure network routing:
CP_NATgateway

This form displays the list of previously created routes (port forwarding map).
Each route record contains:

  • info about external resource:
    • icon with the route status
    • server name
    • IP
    • port
  • info about corresponding internal config (mapping details):
    • service name
    • service IP
    • port
    • comment field
  • button to remove the route

Add new route

To add a new route, administrator shall:

  1. Click the ADD ROUTE button:
    CP_NATgateway
  2. The pop-up to specify external server details will appear:
    CP_NATgateway
  3. Specify the external server name, e.g.:
    CP_NATgateway
  4. If you need to specify IP address of the external server - set the Specify IP address checkbox:
    CP_NATgateway
    The system will try to resolve the IP automatically.
    You can click the Resolve button to auto-detect the external server IP.
    Note: if the IP is not resolved or resolved incorrectly - you can specify it manually.
  5. Specify the port from which you wish to route, e.g.:
    CP_NATgateway
  6. Several ports for the same server can be specified simultaneously.
    To add a port - click the "+Add port" button and specify another port, e.g.:
    CP_NATgateway
    Repeat if necessary.
    To remove extra-added port from the list, click the button CP_NATgateway near the port.
  7. Optionally, you can add a comment/description for the created route, e.g.:
    CP_NATgateway
  8. Once all details are specified, click the ADD button:
    CP_NATgateway
  9. Just-added external server will appear in the list:
    CP_NATgateway
  10. We've added a temporary record in external resources list. Unsaved routes are displayed in blue color.
    Also:
    • if necessary, any other server(s) or new ports for the existing servers can be added in the same way as described. To add a new record, click the button CP_NATgateway
    • to cancel all made changes, click the button CP_NATgateway
  11. Click the SAVE button to confirm made changes:
    CP_NATgateway
  12. Until the route creation procedures will not be finished, the scheduling icon will be displayed near the corresponding record:
    CP_NATgateway
  13. The route table is updated automatically every few seconds. But if you need to refresh the table manually, use the corresponding button CP_NATgateway above the table.
  14. Once the route creation is done, the route details will appear in the INTERNAL CONFIG fields and the route status will be changed to ACTIVE:
    CP_NATgateway

Remove existing route

To remove an existing route, administrator shall:

  1. Click the remove button for the desired route, e.g.:
    CP_NATgateway
  2. The route to remove will be strikethroughed and be highlighted in gray: CP_NATgateway
  3. To permanently remove the route, click the SAVE button.
    Notes:
    • to cancel removing of the route, click the button CP_NATgateway in the route row
    • to cancel all made changes, click the button CP_NATgateway
  4. Once the SAVE button is clicked, removing procedures will be started.
    Until the route removing procedures will not be finished, the waiting icon will be displayed near the corresponding record:
    CP_NATgateway
  5. The route table is updated automatically every few seconds. But if you need to refresh the table manually, use the corresponding button CP_NATgateway above the table.
  6. Once the removing is done, the route will disappear from the table:
    CP_NATgateway