3proxy: Difference between revisions

imported>Sjau
Created page with "== What is 3proxy == 3proxy is universal proxy server. It can be used to provide internal users wuth fully controllable access to external resources or to provide external us..."
 
imported from old wiki
 
(4 intermediate revisions by 4 users not shown)
Line 1: Line 1:
== What is 3proxy ==
== What is 3proxy ==


3proxy is universal proxy server. It can be used to provide internal users wuth fully controllable access to external resources or to provide external users with access to internal resources. 3proxy is not developed to replace squid, but it can extend functionality of existing cashing proxy. It can be used to route requests between different types of clients and proxy servers. Think about it as application level gateway with configuration like hardware router has for network layer. It can establish multiple gateways with HTTP and HTTPS proxy with FTP over HTTP support, SOCKS v4, v4.5 and v5, POP3 proxy, UDP and TCP portmappers.
<strong>3proxy</strong> is universal proxy server. It can be used to provide internal users with fully controllable access to external resources or to provide external users with access to internal resources. 3proxy is not developed to replace squid, but it can extend functionality of existing caching proxy. It can be used to route requests between different types of clients and proxy servers. Think about it as application level gateway with configuration like hardware router has for network layer. It can establish multiple gateways with HTTP and HTTPS proxy with FTP over HTTP support, SOCKS v4, v4.5 and v5, POP3 proxy, UDP and TCP portmappers.


== Sample configuration ==
== Sample configuration ==


Just add the following to your <code>configuration.nix</code> file:
Just add the following to your [[Overview_of_the_NixOS_Linux_distribution#Declarative_Configuration|NixOS configuration]] i.e. the <code>configuration.nix</code> file:
 
<syntaxhighlight lang="nix">
<syntaxhighlight lang="nix">
   services._3proxy = {
   services._3proxy = {
Line 33: Line 34:
This sample configuration runs a single instance as socks proxy with user/password auth. The password can be clear text, as indicated by the <code>CL</code> for user <code>test1</code> or it can be encrypted as indicated by the <code>CR</code> for user <code>test2</code>. You can generate md5-crypted passwords via https://unix4lyfe.org/crypt/
This sample configuration runs a single instance as socks proxy with user/password auth. The password can be clear text, as indicated by the <code>CL</code> for user <code>test1</code> or it can be encrypted as indicated by the <code>CR</code> for user <code>test2</code>. You can generate md5-crypted passwords via https://unix4lyfe.org/crypt/


'''Note''': The htpasswd tool generates incompatible md5-crypted passwords (see https://github.com/z3APA3A/3proxy/wiki/How-To-(incomplete)#USERS )
'''Note''': The <code>htpasswd</code> tool generates incompatible md5-crypted passwords (see https://github.com/z3APA3A/3proxy/wiki/How-To-(incomplete)#USERS )


== Firewall ==
== Firewall ==


If not set otherwise, open port <code>3128</code> on the firewall.
If not set otherwise, open port <code>1080</code> on the firewall.


== Firefox ==
== Firefox ==


To use in Firefox, you can install the FoxyProxy addon and create a new proxy. Give it a name, use <code>SOCKS5</code> and provide the proxy's ip address or domain name. If not set otherwise, use port <code>3128</code> and provider username and password.
To use in Firefox, you can install the FoxyProxy addon and create a new proxy. Give it a name, use <code>SOCKS5</code> and provide the proxy's ip address or domain name. If not set otherwise, use port <code>1080</code> and provider username and password.
 
[[Category: Applications]]
[[Category: Server]]
[[Category: Networking]]