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

SSH rule not working

I want to transfer a file from my Sophos UTM firewall to an internal Linux server with scp from the Sophos shell.

I have a rule that allows ssh traffic from 192.168.1.1 (Sophos inside int) to my internal Linux server 192.168.1.100. When I try to run my scp command as root the firewall blocks that attempt for some reason.

scp text.txt linux@192.168.1.100:/home/linux


This thread was automatically locked due to age.
Parents
  • Direct SSH with user root is not permitted by default (only with user loginuser who hasn't permissions for everything). You will have to change the settings in WebAdmin -> Management -> System -> Shell Access to "Allow root login: root access but only with ssh key" and then input the SSH key of the remote machine into the appropriate field.

    edit: Sorry, didn't read your question correctly.

    Have you used the predefined network object "Internal (address)" in your firewall rule?

    ----------
    Sophos user, admin and reseller.
    Private Setup:

    • XG: HPE DL20 Gen9 (Core i3-7300, 8GB RAM, 120GB SSD) | XG 18.0 (Home License) with: Web Protection, Site-to-Site-VPN (IPSec, RED-Tunnel), Remote Access (SSL, HTML5)
    • UTM: 2 vCPUs, 2GB RAM, 50GB vHDD, 2 vNICs on vServer (KVM) | UTM 9.7 (Home License) with: Email Protection, Webserver Protection, RED-Tunnel (server)

  • Have you used the predefined network object "Internal (address)" in your firewall rule?


    Yes I have
Reply Children
No Data