This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Port forwarding for a specific domain

We have a gitlab behind the Sophos UTM.
This needs a connection via ssh to port 9022, but only if gitlab.example.com is called accordingly. Not every 9022 request should be forwarded to the Gitlab.

Does anyone have any idea how to do that?
 


This thread was automatically locked due to age.
  • FormerMember
    0 FormerMember

    Hi  

    Do you know the source IP addresses that will be accessing your internal server? If yes, you could configure the DNAT rule with the source IP address. 

    If traffic source IP is one of the IPs in the DNAT rule, it will be forwarded to your internal server. 

    Thanks,

  • Hallo Christopher,

    H_Patel's solution is easier than configuring Webserver Protection, but that's what you will need to do if you can't use his trick.

    Cheers - Bob

     
    Sophos UTM Community Moderator
    Sophos Certified Architect - UTM
    Sophos Certified Engineer - XG
    Gold Solution Partner since 2005
    MediaSoft, Inc. USA