- Setup SSH for Remote Server and add any LocalPort and RemotePort that you want to access via ssh tunneling by editing
~/.ssh/config
# --- REMOTE SERVER Internal Access ---
Host REMOTE_SERVER_NAME # Any name
Hostname REMOTE_SERVER_IP # Change it
User REMOTE_SERVER_USER # Change it
# Example
LocalForward 8080 127.0.0.1:8080 # LocalPort RemotePort
LocalForward 5555 127.0.0.1:5555 # LocalPort RemotePort
LocalForward 8882 127.0.0.1:8882 # LocalPort RemotePort