This is authorized. I just need to figure out how to do it.
I want to forward web traffic from the target machine to my local machine such that when something on the remote machine tries to communicate over port 443 (https), it's perspective is from my local box.
Problem I'm trying to solve is as follows:
We have docker training going on in one specific machine we built just for this task. Right now, it can't access github and we need that for the training. Our team is authorized access to github explicitly.
Having what I think is probably just a lot of trouble with the syntax.
From my desktop machine, have tried:
ssh -vnNT -R 443:[ my ip addr from remote's perspective ]:443 [ remote host name ]
What I'm seeing in the debug output is:
debug1: Authentication succeeded (publickey). Authenticated to remoteHostName ([remoteIpAddr]:22). debug1: Remote connections from LOCALHOST:443 forwarded to local address [ my ip ]:443 debug1: Requesting firstname.lastname@example.org debug1: Entering interactive session. debug1: pledge: network debug1: client_input_global_request: rtype email@example.com want_reply 0 debug1: Remote: Server has disabled port forwarding. debug1: remote forward failure for: listen 443, connect [my ip]:443 Warning: remote port forwarding failed for listen port 443 debug1: All remote forwarding requests processed
Now you would think that the above would mean that port forwarding was not configured on the server or set to 'no'. What I have set is:
AllowTcpForwarding yes GatewayPorts yes
...and I've restarted it twice. :-/