Hi David,

Thanks for taking the time to explain to me.

Below is a sample of the config file in question (some sensitive information 
such as the name and/or IP address of the remote server and the contents of the 
ca.crt have been removed):

*********************************
client
dev tun
proto udp
remote vpn.vpn.com 1194
remote-random 
auth-user-pass auth.txt
cipher AES-256-CBC
auth SHA512
resolv-retry infinite
nobind
verb 3
route-method exe
route-delay 2
comp-lzo

<ca>
-----BEGIN CERTIFICATE-----

-----END CERTIFICATE-----
</ca>

win-sys env
setenv FORWARD_COMPATIBLE 1
register-dns
http-proxy  
**************************************
I hope the above sample could help you answer why http-proxy is included in the 
config file.

Regards.

Lisa

> ----------------------------------------
> From: David Sommerseth <openvpn.l...@topphemmelig.net>
> Sent: Thu Jul 17 14:24:22 CEST 2014
> To: Lisa Minogue <lmino...@mail.be>, <openvpn-users@lists.sourceforge.net>
> Subject: Re: [Openvpn-users] What do these four lines at the bottom of an 
> ovpn file mean?
> 
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On 17/07/14 14:15, Lisa Minogue wrote:
> > Hi David,
> > 
> > Thanks for the link.
> > 
> > I have read the documentation you referred to and I think I
> > somewhat understood what win-sys env, setenv and register-dns do.
> > 
> > I have also read the documentation on http-proxy and still do not
> > understand why it is placed right at the bottom of the ovpn file
> > and its role.
> > 
> > If you have some time or someone else could explain it to me?
> 
> Where these lines are in the config file is of less importance.  If
> it's in the beginning or end, it doesn't matter.  The only thing which
> does matter is if you have multiple --remote or <connection> blocks,
> as these will be processed in the order they're configured (unless
> you've enabled --remote-random).
> 
> I don't know if you have more than just 'http-proxy' on that config
> line.  AFAIK, http-proxy requires at least a server/IP and a port
> number which is to the HTTP proxy the connection should be sent via.
> Without that information, I'd expect OpenVPN to complain loudly.
> 
> 
> - -- 
> kind regards,
> 
> David Sommerseth
> 
> 
> 
> >> ---------------------------------------- From: David Sommerseth
> >> <openvpn.l...@topphemmelig.net> Sent: Thu Jul 17 14:02:08 CEST
> >> 2014 To: Lisa Minogue <lmino...@mail.be>,
> >> <openvpn-users@lists.sourceforge.net> Subject: Re:
> >> [Openvpn-users] What do these four lines at the bottom of an ovpn
> >> file mean?
> >> 
> >> 
> > On 17/07/14 10:03, Lisa Minogue wrote:
> >>>> Hi,
> >>>> 
> >>>> Could someone explain to me briefly what the four lines at
> >>>> the bottom of the ovpn file mean? They are:
> >>>> 
> >>>> win-sys env setenv FORWARD_COMPATIBLE 1 register-dns
> >>>> http-proxy
> > 
> > These are all described in the man page.
> > 
> > <https://community.openvpn.net/openvpn/wiki/Openvpn23ManPage>
> > 
> > 
> > -- kind regards,
> > 
> > David Sommerseth
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1
> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
> 
> iEYEARECAAYFAlPHwHQACgkQDC186MBRfrpJSACfQ5JGc6T3QwtuFdqYq46+JOub
> Gc8AnRnMOVFWzyMTykxkF1z/0jlwXGHV
> =tk33
> -----END PGP SIGNATURE-----

-----------------------------------------------------
Mail.be, WebMail and Virtual Office
http://www.mail.be

------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Openvpn-users mailing list
Openvpn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-users

Reply via email to