Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
sysdocs:sshportforward [2020/03/16 15:28] – created mckeanbs | student:utilities:sshportforward [2020/03/20 12:09] (current) – morrispj | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | If the VPN is unavailable, | + | ===== SSH Port Forwarding ===== |
- | + | If the VPN is unavailable, | |
- | These directions are for the terminal based ssh tool. You can also use tools like Putty to accomplish a similar configuration. | + | |
+ | ==== Create a SOCKS proxy ==== | ||
To create an SOCKS proxy through stu, for example, you could use the following command: | To create an SOCKS proxy through stu, for example, you could use the following command: | ||
Line 11: | Line 11: | ||
What this command is saying is to create a SOCKS proxy on the local machine at port 9001 that can be used as a SOCKS proxy. The endpoint is at stu. That is, anything that is reachable from stu itself can be reached with this proxy. Of note, you can use any port you like, just pick something that isn't in use by your machine. (On a typical desktop, most ports are going to be available. But you would want to likely pick a higher, above 1024 number so that you don't need administrative privileges.) | What this command is saying is to create a SOCKS proxy on the local machine at port 9001 that can be used as a SOCKS proxy. The endpoint is at stu. That is, anything that is reachable from stu itself can be reached with this proxy. Of note, you can use any port you like, just pick something that isn't in use by your machine. (On a typical desktop, most ports are going to be available. But you would want to likely pick a higher, above 1024 number so that you don't need administrative privileges.) | ||
- | To actually | + | ==== Configure your client to use the proxy ==== |
+ | You now need to configure your client to use the SOCKS proxy that you created. Each client will be different but a typical use case is proxying web traffic. To do this you must configure | ||
+ | |||
+ | ==== Return to your standard configuration ==== | ||
+ | You must undo any configuration changes made to the client when you're done. In this example if you fail to do this you will unable to browse the internet. You should also log out of stu and close the terminal window. |