Note, this is problematic when port forwarding through ssh. Previously this worked:
$ ssh -L 8001:192.168.64.2:80 <email address hidden>
Then hitting http://localhost:8001
Now, you have to do: ssh -L 5240:192.168.64.2:5240 -L 8001:192.168.64.2:80 ubuntu@10.245.71.134 and hit http://localhost:8001
or ssh -L 5240:192.168.64.2:5240 ubuntu@10.245.71.134 and hit http://localhost:5240
Note, that 5240:<ip>:5240 is significantly less useful than ANYPORT:<ip>:80
Note, this is problematic when port forwarding through ssh.
Previously this worked:
$ ssh -L 8001:192. 168.64. 2:80 <email address hidden>
Then hitting http:// localhost: 8001
Now, you have to do: 168.64. 2:5240 -L 8001:192. 168.64. 2:80 ubuntu@ 10.245. 71.134 localhost: 8001
ssh -L 5240:192.
and hit http://
or 168.64. 2:5240 ubuntu@ 10.245. 71.134 localhost: 5240
ssh -L 5240:192.
and hit http://
Note, that
5240:<ip>:5240 is significantly less useful than ANYPORT:<ip>:80