I am trying to SSH tunnel in a guest VM that will connect to a VPN and give access to the host to otherwise blocked urls. All access is correct regarding keys.
- Host = Connecting via the ssh tunnel (Linux)
- Guest = Connects to VPN and is being tunneled to. (OSx 10.13)
Guest has 2 network cards.
- VPN network
- IP: 192.168.238.130
- Router: 192.168.238.130
- DNS Server: 192.168.238.2
- Host Only network for the tunnel
- IP: 192.168.138.130
- Router: Empty
- DNS Server: 192.168.138.1
No connection to VPN
When I am not connected to the VPN I can connect to the guest very easily:
hutber@hutber ~ $ ssh -L 3333:github.someprivateurl.net:22 [email protected]
Password:
hutber@Jamies-Mac ~ $ //ssh access to guest
When connected to VPN
hutber@hutber ~ $ ssh -L 3333:github.someprivateurl.net:22 [email protected]
.... (hangs)