So, I've been trying to understand networks a little better and I'm playing around with
ssh. I've learned how to set up port forwarding from my AirPort Express directly to my computer, but I am confused on how I am supposed to change the port that is used to accept
ssh traffic by the router.
When I set up the port forwarding to my static IP address, I also wanted to change which port the router uses to accept ssh traffic. However, each time I change the public and private TCP ports on the base station and try to connect with
ssh by specifying the router port-something like
ssh Kyle@123.45.678 -p 1234-I get a connection refused.
Here is my question. How do I change the port that accepts ssh traffic for the AirPort Express router, and if I change that port and the port accepted on my computer, how do I specify the particular port for the router and the particular port accepted by my computer in the
Both the AirPort Express and my computer are currently accepting
ssh traffic on port 22 (when I have remote login activated, that is). I am trying to change each of these to a different port.