Skip to contentSkip to conversation

Auto-Proxy

Openvpn-devel [email protected]... 3 participants 5 messages Apr 2, 2010 – Apr 14, 2010 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

Hi,

I have been using two different config files to connect to my OpenVPN server - as I am sometimes behind a proxy server, and sometimes not. So to fix this I tried using auto-proxy ... but it didn't work (in the proxy case) ... :-(.

I am running the client on Windows - so it should work, no?

FYI - the proxy server runs an automatic configuration script (.pac) ... could this be part of the problem?

Thanks!

#2 lore raw
In reply to a message not in the archive

Hi,

I can post it, but not sure it helps much - as it doesn't mention, or even seem to try to detect, the proxy ... :-(. If I include the proxy information in the configuration file then it works great, but if I don't do this and rather add "--auto-proxy" to the command line it just continuously tries to connect directly.

Does this make sense?

Thanks!

Quoted 1 line · Kosztyu András

Please post your log to see if there is any useful information

From: [email protected]... [mailto:[email protected]...]

Quoted 3 lines

Sent: Friday, April 02, 2010 5:31 PM
To: [email protected]; [email protected]
Subject: [Openvpn-users] Auto-Proxy

Hi,

I have been using two different config files to connect to my OpenVPN server - as I am sometimes behind a proxy server, and sometimes not. So to fix this I tried using auto-proxy ... but it didn't work (in the proxy case) ... :-(.

I am running the client on Windows - so it should work, no?

FYI - the proxy server runs an automatic configuration script (.pac) ... could this be part of the problem?

Thanks!

Quoted 1 line
#3 lore raw
In reply to [email protected]...
Quoted 5 lines · [email protected]... wrote:

Hi,

Quoted 8 lines

I have been using two different config files to connect to my OpenVPN server - as I am sometimes behind a proxy server, and sometimes not. So to fix this I tried using auto-proxy ... but it didn't work (in the proxy case) ... :-(.

I am running the client on Windows - so it should work, no?

note to the developers: all error codes when using the InternetQueryOption API are lost ... also read
http://support.microsoft.com/kb/226473
Openvpn 2.1 uses the "old" IE4 API .

cheers,

JJK

#4 lore raw
Quoted 18 lines · Jan Just Keijser
Quoted 4 lines · [email protected]... wrote:

Hi,

Quoted 12 lines

I have been using two different config files to connect to my OpenVPN server - as I am sometimes behind a proxy server, and sometimes not. So to fix this I tried using auto-proxy ... but it didn't work (in the proxy case) ... :-(.

I am running the client on Windows - so it should work, no?

Quoted 5 lines

note to the developers: all error codes when using the InternetQueryOption API are lost ... also read
http://support.microsoft.com/kb/226473
Openvpn 2.1 uses the "old" IE4 API .

Another note to developers. Can they work on enabling auto-proxy to work in configs that contain both UDP and TCP-based "<connection>" profiles? :-)

In a similar vein, the following ticket is in the bug tracking system - there seems to be a general problem with mixing TCP and UDP options (eg mssfix, nobind, fragment)

http://sourceforge.net/tracker/index.php?func=detail&aid=2945147&group_id=48978&atid=454720

Signature · 6 lines
Cheers

Jason Haar
Information Security Manager, Trimble Navigation Ltd.
Phone: +64 3 9635 377 Fax: +64 3 9635 417
PGP Fingerprint: 7A2E 0407 C9A6 CAF6 2B9F 8422 C063 5EBB FE1D 66D1
#5 lore raw

Hi,

Is this perhaps a topic that can / should be covered at the meeting this week?

Thanks,

... Russell

Quoted 1 line · Jason Haar
Quoted 53 lines · Jan Just Keijser
Quoted 18 lines
Quoted 4 lines · [email protected]... wrote:

Hi,

Quoted 12 lines

I have been using two different config files to connect to my OpenVPN server - as I am sometimes behind a proxy server, and sometimes not. So to fix this I tried using auto-proxy ... but it didn't work (in the proxy case) ... :-(.

I am running the client on Windows - so it should work, no?

Quoted 5 lines

note to the developers: all error codes when using the InternetQueryOption API are lost ... also read
http://support.microsoft.com/kb/226473
Openvpn 2.1 uses the "old" IE4 API .

Another note to developers. Can they work on enabling auto-proxy to work in configs that contain both UDP and TCP-based "<connection>" profiles? :-)

In a similar vein, the following ticket is in the bug tracking system - there seems to be a general problem with mixing TCP and UDP options (eg mssfix, nobind, fragment)

http://sourceforge.net/tracker/index.php?func=detail&aid=2945147&group_id=48978&atid=454720

--
Cheers

Jason Haar
Information Security Manager, Trimble Navigation Ltd.
Phone: +64 3 9635 377 Fax: +64 3 9635 417
PGP Fingerprint: 7A2E 0407 C9A6 CAF6 2B9F 8422 C063 5EBB FE1D 66D1

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Openvpn-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel