Setup port forwarding and ip addresses

Find my ip addresses

Check public ip address (same in MacOS and Linux):

curl ifconfig.me

Check ip address on MacOS

# Private address
ipconfig getifaddr en0

Check ip address on Linux

hostname -I

Setup ssh port forwarding

Router

Configuration