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