Before creating the application, you should add a port of type
socks5_proxy to the partition where the Socks5 application is needed in the
configure partition port page.
Socks5 User Management
If the Socks5 application enabled user authentication, you need to add users and user groups within the application. The user authentication methods are common password authentication and LDAP authentication.
LDAP Authentication Configuration.
- Auto Sync: When enabled, users will be synced every 10 minutes. Users synced over have no user group by default, or you can click the sync button to sync manually.
- LDAP server: the domain name or IP of the LDAP service.
- Search DN: e.g. dc=example,dc=org
- Search method: field for login username, such as uid
- Manage DN: e.g. cn=admin,dc=example,dc=org
Socks5 Authentication Rules
After the Socks5 application is created, you need to configure authorization rules to allow its use. The rules that follow are not checked after matching one deny or permit rule.
Rule fields description.
permit (allow access) and
deny (deny access).
- Source type: cidr / user group / user name
- Source: Depend on source type, support multiple sources.
- Target type: cidr/domain
- Objectives: Depend on objective type, multiple objectives are supported.
- Target Port: Supports multiple ports
- Bandwidth: the bandwidth limit to access the target
- Start time: when the rule takes effect
- End time: Rule expiration time
Socks5 Bandwidth Rules
It is possible to limit the number of connections and/or bandwidth for the user, subsequent rules won't be checked after matching this rule.
Rule field description.
- Source Type: CIDR/User Group/Username
- Source: fill in by source type
- Connections: the maximum number of connections for the user that hit the rule.
- Bandwidth: Bandwidth limit for hit rule users, in Mbps.