Message-ID: <4E2E3AC5.2030005@...1299...> Date: Tue, 26 Jul 2011 15:55:49 +1200 From: Jason Haar MIME-Version: 1.0 References: <1311649077083710500@...1315...> In-Reply-To: <1311649077083710500@...1315...> Content-Type: multipart/alternative; boundary="------------000409090800040201000002" Subject: Re: [Openvpn-devel] Windows Auto-Proxy List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: openvpn-devel@lists.sourceforge.net This is a multi-part message in MIME format. --------------000409090800040201000002 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On 26/07/11 14:57, Russell Morris wrote: > > I use OpenVPN with a Windows client, and I tend to be on one network > one minute, another the next. One time with a proxy, the next time > without ... so I really want OpenVPN to automatically detect the proxy > (if there is one), and apply it ... for every connection restart, > client open, etc. My thinking is to add a new option, say something > like "auto-proxy" (so this won't break anything that is already > working!). The idea being that if this option is enabled, then on > every connection / reconnection attempt OpenVPN will first check the > proxy, and then apply it for the actual connection back to the server. > Hopefully this makes sense so far ... J. > ...isn't that already done by "--auto-proxy"? Been part of openvpn since 2.1(ish?) BTW: I totally agree this is a big deal. For openvpn to be truly brilliant, it needs 1. one config to handle both udp and tcp-based "" profiles [sorta supported] 2. "fragment", "mss-fix" and proxy support within profiles [not currently supported - which effectively makes "1." never work in practice] 3. dynamically figure out if a proxy is available and use that for TCP-based profiles [I thought that was supported by "--auto-proxy"] With such features and a properly ordered config, you'd have a VPN client that would tunnel out over UDP if it can, TCP if it can't, and TCP-via-proxy if it has to. Basically, you'd be guaranteed a working VPN session on any network that you're meant to be able to do such things on (with one config). -- 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 --------------000409090800040201000002 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On 26/07/11 14:57, Russell Morris wrote:

I use OpenVPN with a Windows client, and I tend to be on one network one minute, another the next. One time with a proxy, the next time without … so I really want OpenVPN to automatically detect the proxy (if there is one), and apply it … for every connection restart, client open, etc. My thinking is to add a new option, say something like “auto-proxy” (so this won’t break anything that is already working!). The idea being that if this option is enabled, then on every connection / reconnection attempt OpenVPN will first check the proxy, and then apply it for the actual connection back to the server. Hopefully this makes sense so far … J.


...isn't that already done by "--auto-proxy"? Been part of openvpn since 2.1(ish?)

BTW: I totally agree this is a big deal. For openvpn to be truly brilliant, it needs

1. one config to handle both udp and tcp-based "<connection>" profiles [sorta supported]
2. "fragment", "mss-fix" and proxy support within profiles  [not currently supported - which effectively makes "1." never work in practice]
3. dynamically figure out if a proxy is available and use that for TCP-based profiles [I thought that was supported by "--auto-proxy"]

With such features and a properly ordered config, you'd have a VPN client that would tunnel out over UDP if it can, TCP if it can't, and TCP-via-proxy if it has to. Basically, you'd be guaranteed a working VPN session on any network that you're meant to be able to do such things on (with one config).


-- 
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
--------------000409090800040201000002--