Ok, I actually does not matter who owns the laptop. It matters if these laptops are centrally managed for example with active directory. As you are asking this question I assume you have split tunneling configured and only traffic towards your internal network is sent through the vpn tunnel. In this case you would need to block the outgoing ssh connections towards the internet locally on these laptops.
If you route everyrhing (0.0.0.0/0) into the tunnel, then simply create a rule on the firewall, but I thought this would be too easy for a question here
Are you tunneling all of the traffic through GlobalProtect or are you using split-tunnel. The question @vsys_remo mentioned is important because I'm assuming that you are using split-tunnel based off of your question.
If you are tunneling all the traffic through GlobalProtect, you would simply build out a security rulebase entry that denies all ssh traffic from your GlobalProtect zone to your untrust zone. I'm guessing you're asking the question because this isn't the case.
Thank you all for explanation! I'm very new to Palo Alto.
Yes that is the case. We are using GlobalProtect to tunneling all the traffics and having a policy to deny all ssh application from GP zones to Untrust Zone. The policy was created a week ago but we got 0 hit counts. I think there are other ways to do this or I might miss something...
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!