Babushka to setup a Linux box as a VPN bastion.
$ sh -c "`curl https://raw.githubusercontent.com/quad/vpn-bastion/master/bootstrap.sh`"
Where 1.2.3.4
is the IP address for your Ubuntu VM...
laptop$ ssh [email protected] -L 5901:localhost:5901
ubuntu$ sudo tightvncserver -nolisten tcp -localhost :1
Then start a VNC client (Screen Sharing on OSX) and connect to localhost:5901
. The password is abc123
.
ubuntu$ firefox
Then login to the VPN as normal.
Add the hostname of the Jenkins box to your /etc/hosts
. Something like:
1.2.3.4 taurus.bigcorp.com
Then access http://taurus.bigcorp.com:8080/jenkins/ as normal.
Use the SOCKS via SSH proxy.
laptop$ ssh -ND 8080 [email protected]
Then change your network SOCKS proxy to localhost:8080
.