Secure Your Website with SafeLine-Configuring on a Standalone Server

Lulu - Aug 29 - - Dev Community

SafeLine operates as a reverse proxy, similar to Nginx. It intercepts incoming web traffic, filters and analyzes it, and then forwards the legitimate traffic to your original web server.

Configuration Steps

Environment Information:

  • Web Server: IP Address A (IPA), External Port 80, Domain: example.com. For this example, IPA is 192.168.117.6.
  • SafeLine Server: IP Address B (IPB).

Steps:

  1. Redirect Web Traffic: Point your original web traffic to SafeLine's IPB. This is a mandatory step. For example, modify your domain’s DNS settings to direct example.com to IPB.
  2. Configure SafeLine: Refer to the configuration settings in the image provided.
  3. Restrict Access: Block all direct access to your web server except for traffic coming from SafeLine. This can be done by configuring your firewall.

Once you've completed the setup, your configuration should look something like this:

Image description

Image description

Testing the Setup

After pointing example.com:80 to SafeLine, try accessing the site in your browser. If you receive a response from your web server, it means traffic is successfully passing through SafeLine.

Now, go back to SafeLine's dashboard and check the "Today's Requests" section in the data statistics page.

Image description

If you see the number of requests increase, it confirms that SafeLine is successfully handling your web traffic.

Image description

Advanced Protection

The latest version of SafeLine now includes advanced protection features for individual sites, allowing you to apply additional security settings per site.

Note: Custom rules are not affected by the current toggle status.

Human Verification
Enable human verification for individual sites by clicking the relevant option.

Authentication
You can also set up an additional authentication rule for specific sites by clicking the authentication option.

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Terabox Video Player