Home
CLI Edition
Web Edition
Products
Shield
Firewall

Active/Binding Steps

BindingMachine Code

  1. Install firstly if not installed
  2. Execute proxy-admin without any parameters and wait for the program to exit by itself. Do not end the program manually. Then the id.txt file will be generated in the current directory and the following path. Linux is located at: /etc/gpa/ id.txt, Windows is located at: C:\gpa\id.txt. The content inside is the machine code of the current machine. In addition, the command line will also display the machine code after code:. Be careful not to include spaces.
  3. input the machine code you got into the auth website machine code modify page, save it, wait it worked after 5 minutes
  4. Firstly stop the service, execute proxy-admin stop. Then execute proxy-admin, wait a moment, if it output logging like verfiy success means binding succeed

Use Auth Code

  1. Install firstly if not installed
  2. After installation, execute: proxy-admin. Depending on the system type, an empty authcode.txt file will be generated in the path below. You only need to write the purchased authorization code into the file, and then execute proxy-admin restart to restart the program.
    • Linux:/etc/gpa/authcode.txt
    • Windows:C:\gpa\authcode.txt
    • macOS:/etc/gpa/authcode.txt
  3. Execute proxy-admin again. If you wait for a while, the log output will be: verify success, indicating successful authentication.

Solution to access auth server fail

The commercial edition must be accessible for online authorization before it can be used. If you are using proxy-admin and it appears that the server can access the Internet, but proxy-admin prompts that access authorization information failed. It can be solved by the following methods.

1. If your proxy-admin machine can access the Internet, because the machine DNS may not be able to correctly resolve and update the domain name, you can specify DNS to start proxy-admin.

Linux run example

LIC_DNS=8.8.4.4:53 proxy-admin"

Windows run example

set LIC_DNS=8.8.4.4:53

.\proxy-admin.exe

2. If proxy-admin cannot directly access the Internet in an intranet environment, you can start an http proxy on a machine that can access the Internet, and then use it for proxy-admin.

For example: proxy-admin is at 192.168.1.10 and cannot directly access the Internet.

The machine 192.168.1.200 can access network, and you can run a http proxies in the machine. ./proxy http -p :8080 -q 8.8.4.4:53

Execute the run command before in machine 192.168.1.10. LIC_PROXY=http://192.168.1.200:8080 proxy-admin

3. If there is a ready-made http proxy in the intranet, then there is no need to start a proxy in step 2. system environment LIC_PROXY can directly use the ready-made http proxy.