[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

RE: [Openvpn-users] Http-Proxy Example


  • Subject: RE: [Openvpn-users] Http-Proxy Example
  • From: "Palic, Darko" <darko.palic@xxxxxx>
  • Date: Thu, 5 Aug 2004 09:39:56 +0200

> Hi all,
> 
> Please forgive this post, but I have spent several days searching for two
> examples and must be missing them somehow.
> 
> I have client behind a proxy server (microsoft ISA) can anyone share their
> configuration files for a tunnel through the proxy?
> 
> Just need a starting point to get going....
> 
> Ray


Hello Ray,

RTFM ;-)

But here is my configuration for a single host, there my proxy only allows
ssl-connect to 443!

Client:
openvpn --remote lansin.dyndns.org --dev tun0 --ifconfig 192.168.2.1
192.168.2.2 --verb 3 --proto tcp-client --port 443 -
-http-proxy-retry --http-proxy proxy.dnsentry proxy.port --link-mtu 1500
--secret /etc/openvpn/static.key --ping 3 --ping
-restart 120 --float --comp-lzo --route 192.168.1.0 255.255.255.0
192.168.2.2

I have to use a very short ping interval, because our proxy kills
connections if idle :-( Additionally i use the float, because the proxy is
load balanced and my server is a usual dial-in account with changing IPs.

Server:
Openvpn --dev tun0 --ifconfig 192.168.2.2 192.168.2.1 --verb 3 --proto
tcp-server --port 443 --secret /etc/openvpn/static.key --link-mtu 1500
--ping 3 --ping-restart 120 --float --comp-lzo --route 192.168.2.0
255.255.255.0 192.168.2.1 --persist-tun

Thsi configuration only works for a 1:1 connection (1 client 1 server). If
you need 1 server and many clients, you must configure a TLS in openvpn
using the --mode server!

@maintainer:
Maybe this is an example for a proxy configuration in the HowTo or man.8? If
so I could write a little more for the manpage or howto.

Best regards


____________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users