]> Cypherpunks.ru repositories - govpn.git/blob - doc/proxy.texi
0e990350df2aa5c45a8ce9d20dba500e72c30369
[govpn.git] / doc / proxy.texi
1 @node Proxy
2 @section Proxy
3
4 You can proxy your requests through HTTP using CONNECT method. This can
5 help if you are only allowed to access outside world through HTTP proxy
6 server.
7
8 Server has @emph{-proxy} option allowing to listen on specified port and
9 accept HTTP request. All of them will be treated as a CONNECT method
10 switching to raw TCP mode. You can make POST request and server will
11 anyway switch to raw TCP mode. You are not forced to use this option:
12 any external HTTP proxy server can be used.
13
14 Client has @emph{-proxy} option forcing it to connect to proxy and send
15 CONNECT method. Optionally it can be authenticated on it using
16 @emph{-proxy-auth} HTTP Basic method.
17
18 @example
19 % govpn-client [...] -proto tcp \
20     -remote "$REMOTE_ADDR":1194 \
21     -proxy 192.168.55.1:8888 \
22     -proxy-auth mylogin:password
23 @end example