If you tunnel your data through ssh and then still do requests against the local DNS server for the ip addresses then you have accomplished nothing. This step is totally optional, but since you are going to be proxying the web traffic over the ssh tunnel then it just makes sense to proxy the DNS requests as well. You have been warned! Optional Step: DNS proxying through SOCKS5 in Firefox browser IMPORTANT NOTE: DNS lookups will not traverse this tunnel by default, if you are trying to do this from work or a restricted network your DNS request could get you busted. You can do this manually or with many of the browser proxy extensions available (FoxyProxy for Firefox perhaps) Now you’ll need to set your internet browser proxy to localhost port 8080. This is important: Don’t close this terminal or console window, because if you do, it tears down the SSH tunnel. The -N tells ssh not to open an interactive prompt, so it will just hang there, waiting. Once you authenticate, nothing will happen. When you execute that command you’ll get prompted to enter your password. Of course, you’re going to replace username with your username and with your server domain name or IP address. Ssh -ND 8080 that command does is hand off requests to localhost, port 8080, to your server at to handle. To do so, you’re going to set up a “tunnel” which passes web traffic from your local machine to the proxy over SSH. ![]() ![]() You’ve got access to an SSH server and you want to start using it as your proxy. ![]() I am not condoning improper use of any corporate or government network, but in some instances where freedom or privacy need to be preserved this could come in handy.Īgain this is for informational purposes only. This is for people who want to browse, but not have their traffic snooped on. Tunnel web browser through an SSH tunnel! Tunnel web browser through an SSH tunnel
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |