diff --git a/doc/html/howtoe.html b/doc/html/howtoe.html index 91c0003..0029970 100644 --- a/doc/html/howtoe.html +++ b/doc/html/howtoe.html @@ -34,7 +34,8 @@
IPv6 is supported since 0.8. Please note, some proxy protolos, e.g. SOCKSv4, do not support IPv6. SOCKSv5 supports IPv6 with special request type (must be @@ -778,6 +779,26 @@ connection to external networks to provider's proxy. Any service may be configured with -4, -46, -64, -6 options to specify decied priority for name to IPv4/IPv6 address resolution (IPv4 only, IPv4 priority, IPv6 priority, IPv6 only). +
++ In example, users needs access from external network to proxy server located + on the host 192.168.1.2. This host can not be accessed from external network, + but it has access to external network with with external address 1.1.1.1. + Also, user has access to the host 2.2.2.2 (IP address may be dynamic) with + hostname host.dyndns.example.org via external network. User needs 2 instances + of 3proxy, first one on the host 192.168.1.2 with config +
+ users user:CL:password + auth strong + allow user + proxy -rhost.dyndns.example.org:1234+ second one on the host.dyndns.example.org (2.2.2.2) with config +
+ auth iponly + allow * * 1.1.1.1 + tcppm -R0.0.0.0:1234 3128 1.1.1.1 3128+ For browser settings proxy is host.dyndns.example.org:3128. diff --git a/doc/html/howtor.html b/doc/html/howtor.html index 2192fb2..8aa200c 100644 --- a/doc/html/howtor.html +++ b/doc/html/howtor.html @@ -35,6 +35,7 @@
+ Например, пользователю нужен доступ к прокси-серверу, который расположен + на хосте 192.168.1.2 недоступном из внешней сети, но имеющем доступ во внешнюю + сеть с внешним адрес 1.1.1.1. Так же у него есть машина с именем host.dyndns.example.org + с внешним адресом 2.2.2.2. Пользователь запускает 2 экземпляра 3proxy, один на + хосте 192.168.1.2 с конфигурацией +
+ users user:CL:password + auth strong + allow user + proxy -rhost.dyndns.example.org:1234+ второй на хосте host.dyndns.example.org (2.2.2.2) с конфигурацией +
+ auth iponly + allow * * 1.1.1.1 + tcppm -R0.0.0.0:1234 3128 1.1.1.1 3128+ В настройках браузера указывается host.dyndns.example.org:3128. +
Команда dialer задает программу, которая будет запускаться при
diff --git a/man/3proxy.cfg.3 b/man/3proxy.cfg.3
index 4977740..bd626a1 100644
--- a/man/3proxy.cfg.3
+++ b/man/3proxy.cfg.3
@@ -113,19 +113,30 @@ view without ability to reset).
(for dnspr) - simple, do not use 'resolver' and 3proxy cache, always use external DNS server.
.br
(for udppm) - singlepacket, expect only one packet from both client and server
+.br
.B -a
(for proxy) - anonymous proxy (no information about client reported)
.br
.B -a1
(for proxy) - anonymous proxy (random client information reported)
+.br
.B -6
Only resolve IPv6 addresses
+.br
.B -4
Only resolve IPv4 addresses
+.br
.B -46
Resolve IPv6 addresses if IPv4 address is not resolvable
+.br
.B -64
Resolve IPv4 addresses if IPv6 address is not resolvable
+.br
+.B -RHOST:port
+listen on given local HOST:port for incoming connections instead of making remote outgoing connection. Can be used with another 3proxy service running -r option for connect back functionality. Most commonly used with tcppm. HOST can be given as IP or hostname, useful in case of dynamic DNS.
+.br
+.B -rHOST:port
+connect to given remote HOST:port instead of listening local connection on -p or default port. Can be used with another 3proxy service running -R option for connect back functionality. Most commonly used with proxy or socks. HOST can be given as IP or hostname, useful in case of dynamic DNS.
.br
Also, all options mentioned for
.BR proxy (8)
@@ -157,13 +168,9 @@ proxy on a client with FTP proxy support. Username format is one of
.br
proxyuser:proxypassword:FTPuser:FTPpassword@FTPserver
.br
- Please note, if you use FTP client interface for FTP proxy
-do not add FTPpassword and FTPServer to username, because
-FTP client does it for you. That is, if you use 3proxy with
-authentication use
-proxyuser:proxypassword:FTPuser
-as FTP username, otherwise do not change original FTP user name
+ Please note, if you use FTP client interface for FTP proxy do not add FTPpassword and FTPServer to username, because FTP client does it for you. That is, if you use 3proxy with authentication use proxyuser:proxypassword:FTPuser as FTP username, otherwise do not change original FTP user name
+.br
.B include