]> Cypherpunks.ru repositories - govpn.git/blob - doc/proxy.texi
Fix docstring splitted lines
[govpn.git] / doc / proxy.texi
1 @node Proxy
2 @subsection 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 @verbatim
19 % govpn-client [...] -proto tcp \
20     -remote "$REMOTE_ADDR":1194 \
21     -proxy 192.168.55.1:8888 \
22     -proxy-auth mylogin:password
23 @end verbatim