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

SilverShield SFTP behind XG

Hi Guys

I have a program called SilverShield which is SFTP program behind UTM and realized that it has DNAT set up on UTM. I am trying to set up DNAT on XG which has more options and tried a few it does not work. By looking at below screenshot, is there a way of saying or showing me how i could mock this DNAT rule on XG?

Change the destination to: It's the Server where i have the Silvershield sftp program installed. When I try I get winSCP saying that Access Denied. I've checked Azure all the SecurityGroups are allowing Port 22. I can SSH the XG no problem, but to this program I can not.. I think i need to set up DNAT in order to access to the server and the program?

Thanks in advance.

Regards



This thread was automatically locked due to age.
Parents Reply Children
  • Do you want to DNAT TCP/21 which is FTP or TCP/22 which is SSH ?

    On the discussion above you wanted to DNAT SSH which is Port 22, but on your Log image It's showing Port 21 as the destination.

    Since there's no DNAT Firewall or NAT Rule, the traffic to TCP/21 is being blocked. So, can you please confirm on what's the port you need to allow access, if It is Port 21 or Port 22 ?

    Thanks!

  • Port 22 that I need. When I add that Firewall Rule (above with screenshot you shared) WinSCP can't connect to the server at all. So i disable that NAT rule and i can see logs from FW.

    But it's showing Port 21 for a strange reason but in WinSCP it's port 22

    also since this is from Azure, there are two ports.

    Port A and Port B

    in the Azure Route table

    Next hop Address is the FW's Port A

    Port B: 10.10.254.4

    Port A: 10.10.1.4

    I dont understand why Port B goes to port:21.. this is strange.

    FW as follows

    prod-SFTP is the server where it has silvershield installed. (this server works fine when i remove it from the routetable of azure)

    Any ideas?

  • But then again, the notification shows me that I am trying to SSH..

    Device Information:
    Hostname: myxg.mydomain.com
    Management Interface IP: Not configured/Not available
    Date/Time: 2020-11-06 18:52:49
    Alert ID: 17507

     

    Message:
    User 'test' failed to login from '78.57.183.54' using ssh because of wrong credentials

  • Isn't SSH management at the WAN Interface for the firewall enabled by default on Azure?

    Can you check inside the Device Access Tab on the Admin Page ? And If SSH is enabled, can you disable It?

    After It, can you try login again with the NAT Rule in place?

    And since It's showing as Port 21 over the logs, I believe It's better for you to open a support case.

  • yes the WAN is enabled.

    i've disabled it and tried again, no joy... i'll create a ticket with sophos. Thanks for all the help

  • You can go to the CLI and perform a tcpdump.

    Check what your Client is actually sending.