- Access Perforce
- Access P4Web
- Setup a SOCKS5 proxy
The proxy is more so I can have some semblance of security while on open wireless networks, the rest should be self explanatory.
Anyways, straight from /usr/local/bin, here's my p4tunnel script:
#!/bin/sh
HOST="yourhost.com"
PROXY_PORT="8081"
echo "===> Creating tunnel to ${HOST} with a SOCK5 proxy on port ${PROXY_PORT}"
ssh ${HOST} -L 1666:localhost:1666 -L 8080:localhost:8080 -D ${PROXY_PORT} -C