» Networking »

Tunneling Through A Proxy (4 posts)

Hi, the place where i use my wireless connection on my laptop utilises Cisco VPN for authentication on the network.

More 'intelligent' software like Inernet Explorer and MSN Messenger can detect my proxy settings on its own and many others can accept input for proxy settings so it can gain access to the internet. But then there are the smaller/cheaper programs that cannot do this.

I have had no luck finding a working software that can force all incoming/outgoing data from the program to be directed to a specified proxy server.

I also use this laptop at home so i would like to be able to quickly switch/disable the changes when i no longer need its service.

Suggestions would be appreciated

P.S. The network uses a standard HTTP proxy server, not HTTPS or SOCKS

Re: Tunneling Through A Proxy

Hi John,

I have a similar situation with my laptop, however I do distance education schooling, and can only access my schools server by using a Telstra proxy, however I'm on Veridas, and have the same issue.

I've found a program called Proxy Switcher Pro, and I've got it setup, so I only need to right click the icon, and select the proxy server (or no proxy) from the list, then instantally ie and everything else that uses IE settings are good to go.

You can find out more on Proxy Switcher here: http://www.proxyswitcher.com/download.html

Re: Tunneling Through A Proxy

John

I take it you are using Windows XP? Why don't you create another user? Use one for home with all of you home settings and the other for work.You can set these type of settings differently for each user. The other thing you could do is use a script to change your proxy server when you are home or at work, ie: work_on.vbs work_off.vbs. We have about 250 clients who use our proxy and also use their computers at home. This is how we get around it.

I have included 2 scripts for you below.These scripts will set your proxy or bring it back to auto detect.The first will set.

Just change the PROXY_IP to suit your proxy server. These will work with internet explorer. Make sure IE is closed before running otherwise they won't work.

Hope this is what you were after.

Regards

Nev

'#####SCRIPT_START#######PROXY_ON###### Const HKEY_CURRENT_USER = &H80000001

strComputer = "."

Set objRegistry = GetObject("winmgmts:\" & strComputer & "rootdefault:StdRegProv")

strKeyPath = "SOFTWAREMicrosoftWindowsCurrentVersionInternet Settings"

strValueName = "ProxyEnable"

dwValue = 1

objRegistry.SetDWORDValue HKEY_CURRENT_USER, strKeyPath, strValueName, dwValue

strValueName = "ProxyServer"

strValue = "PROXY_IP:8080"

objRegistry.SetStringValue HKEY_CURRENT_USER, strKeyPath, strValueName, strValue

strValueName = "ProxyOverride"

strValue = ""

objRegistry.SetStringValue HKEY_CURRENT_USER, strKeyPath, strValueName, strValue '##########SCRIPT_END##########

'###########SCRIPT_START#########PROXY_OFF######## Const HKEY_CURRENT_USER = &H80000001

strComputer = "."

Set objRegistry = GetObject("winmgmts:\" & strComputer & "rootdefault:StdRegProv")

strKeyPath = "SOFTWAREMicrosoftWindowsCurrentVersionInternet Settings"

strValueName = "ProxyEnable"

dwValue = 0

objRegistry.SetDWORDValue HKEY_CURRENT_USER, strKeyPath, strValueName, dwValue

strValueName = "ProxyServer"

strValue = "PROXY_IP:8080"

objRegistry.SetStringValue HKEY_CURRENT_USER, strKeyPath, strValueName, strValue

strValueName = "ProxyOverride"

strValue = ""

objRegistry.SetStringValue HKEY_CURRENT_USER, strKeyPath, strValueName, strValue

'############SCRIPT_END###################

Re: Tunneling Through A Proxy

Thank you Michael and Neville.

I have tried both your solutions and they both seem to be involving changing proxies. I have no problems changing proxies for the programs that can have their proxy server changed.

Both the methods supplied in the previous replies only affect programs that can support proxy servers.

An example of a program that i might want access is Spybot Search and Destroy, It does not detect Internet Explorer's proxy settings and attempts to make direct connections.

What I'm really looking for is to "force" data to be be redirected to a proxy for programs that support only direct connection to the internet. Somewhat similar to port triggering on a router except the only resources i have access to is the VPNc and full control of my laptop's settings.

Thanks John

Post a Reply

Posting as an anonymous user (Sign in if you have an account, or register to create one)