Local Port Forwarding
I want to access remote resources that I can’t access
The SSH server should have access to the resource that we are trying to access
Remote Port Forwarding
I want people to access local resources that they can’t have access
/etc/ssh/sshd_config
should have the following propertyGatewayPorts yes
For Remote Port forwarding the ssh server config