Working with SSH on VYOS - jwells24/Tech-Journal GitHub Wiki

Allowing SSH through firewalls

  • In order to allow your computers to SSH to each other, we need to work on a few things. First, we need to add a listening address to the ssh service so that each router is looking for ssh packets. This can be done using this command.

setSSHListen

  • Once you have set the listen address, you also need to set rules in each firewall to allow ssh packets. This can be done by creating a simple firewall rule that allows destination port 22, protocol tcp in the correct places.