Hello, this might be answered somewhere else, but please hang with me as I have a total of three questions.
1) I have only one proxy, but I would like to turn it off whenever I am not within a certian local or global ip range of the users computer (such as 1.2.3.* would enable it and everything else would disable it). Local or global ip checks will work with me since the location I need the proxy for has a static global ip address. If that is not possible, I can also use a webpage as the proxy switch (saying "YES" or "NO"), but I would rather not go there if I do not have to.
2) I also have to use a ssh terminal command "ssh -D 9000 -N USERNAME@IP.ADD.RE.SS" in cunjuction with the proxy switch above. This is a native terminal command since the operating system is a mac. But I would like it to run as the proxy starts. The prompt also requires a password. (im fine if someone figures out how to add it on the prompt)
3) Continuation with the question above, I would also like to know how if this is possible with cygwin. Web Broswer uses: Socks v5 localhost:9000 the Terminal command recieves the Socks v5 tunnel by using "ssh -D 9000 -N USERNAME@IP.ADD.RE.SS" with a prompt for a password.
The manual way works, it just takes forever to do day after day. Automating this process will be great. Thanks!
Hi, Answer to #1: FoxyProxy
Hi,
Answer to #1: FoxyProxy Plus does precisely this
Answer to #2: This has been requested before and is in the "TODO" list
Answer to #3: Yes, it is possible. You can prevent the password prompt by using public/private keys. So when you type "ssh -D 9000 -N USERNAME@IP.ADD.RE.SS" you'll never be prompted for a password. There are many tutorials on the web for this. Just search "ssh no password private key" or similar. Let me know if you still need help.
Eric