systemweakness.com Open in urlscan Pro
162.159.153.4  Public Scan

Submitted URL: https://systemweakness.com/how-to-set-up-free-reverse-proxy-with-high-security-protection-45dfc1d0cbfd
Effective URL: https://systemweakness.com/how-to-set-up-free-reverse-proxy-with-high-security-protection-45dfc1d0cbfd?gi=fe73405f7cfd
Submission: On October 29 via manual from CH — Scanned from CH

Form analysis 0 forms found in the DOM

Text Content

Open in app

Sign up

Sign in

Write


Sign up

Sign in




HOW TO SET UP FREE REVERSE PROXY WITH HIGH-SECURITY PROTECTION

Lulu

·

Follow

Published in

System Weakness

·
3 min read
·
Sep 5, 2024

21



Listen

Share

If you’re familiar with using Nginx Proxy Manager (NPM) to reverse proxy
services to your domain, you’ll love SafeLine. SafeLine is more than just a
reverse proxy tool — it’s a powerful web application firewall (WAF) that not
only proxies your traffic but also defends your site by blocking malicious
attacks. Think of it as a reverse proxy combined with advanced DDoS protection.

SafeLine dashboard:




SafeLine Official Website: https://waf.chaitin.com


INSTALLATION GUIDE

There are two main methods to install SafeLine WAF. I recommend using the
command-line method for ease of use.


METHOD 1: COMMAND LINE INSTALLATION (RECOMMENDED)

Run this single command to install SafeLine on your server:

bash -c "$(curl -fsSLk https://waf.chaitin.com/release/latest/setup.sh)"


METHOD 2: MANUAL DEPLOYMENT

If you prefer a manual setup, refer to the official documentation:

SafeLine Installation Guide

Once SafeLine is installed, you’ll receive your initial login credentials
automatically:

[SafeLine] Initial username: admin  
[SafeLine] Initial password: **********
[SafeLine] Done


ACCESSING THE DASHBOARD

To access the management page, open your browser and navigate to:

https://<your-ip>:9443. For example:https://192.168.10.1:9443



Log in with the default credentials generated during installation. If you forget
your password, you can reset it by running this command:

docker exec safeline-mgt resetadmin


CONFIGURING YOUR SITE

SafeLine Community Edition primarily functions as a reverse proxy, similar to
Nginx. All traffic to your website will first pass through SafeLine, where it is
inspected and filtered before being forwarded to your actual web server.

Here’s a step-by-step guide:

 1. Domain: Enter the domain you want to protect.
 2. Upstream Server: Input the IP and port of your website server. For instance,
    if your server is at 192.168.10.1:8989 and hosts your blog, configure the
    domain (e.g., www.zhiyin6.top) to point to the SafeLine server's IP. You can
    set the port to 80 for HTTP or 443 for HTTPS.



After configuration, your website traffic will be routed through SafeLine,
providing enhanced protection.


TESTING THE PROTECTION

You can manually or automatically test the protection to ensure SafeLine is
filtering attacks. Here are a couple of ways to simulate common attacks:

SQL Injection Simulation:

 * Visit the following URL to simulate an SQL injection attack:
 * http://<IP-or-domain>:<port>/?id=1%20AND%201=1

XSS (Cross-Site Scripting) Simulation:

 * Test XSS attacks by visiting this URL:
 * http://<IP-or-domain>:<port>/?html=<script>

Open the URLs in your browser, and you’ll see that SafeLine detects and blocks
the attack attempts, keeping your site safe.



By using SafeLine, you’re not just reverse proxying traffic — you’re adding an
extra layer of defense against SQL injection, XSS, and other malicious attacks.
Give it a try and see how this powerful WAF can protect your site!

SafeLine is open-source and free to use. Explore its GitHub repository here:
https://github.com/chaitin/SafeLine




SIGN UP TO DISCOVER HUMAN STORIES THAT DEEPEN YOUR UNDERSTANDING OF THE WORLD.


FREE



Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.


Sign up for free


MEMBERSHIP



Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app


Try for $ 5/month
Reverse Proxy
Web Security
Open Source
Cybersecurity
Nginx


21

21



Follow



WRITTEN BY LULU

43 Followers
·Writer for

System Weakness

📩 lulu.liu12345@outlook.com Feel free to reach out!

Follow




MORE FROM LULU AND SYSTEM WEAKNESS

Lulu


RECOMMENDED FREE AND OPEN-SOURCE WAF FOR 2024


WAF STANDS FOR WEB APPLICATION FIREWALL. UNLIKE TRADITIONAL FIREWALLS, WAF
OPERATES AT THE APPLICATION LAYER AND PROVIDES BETTER PROTECTION…

Jul 24
147



Karthikeyan Nagaraj

in

System Weakness


ESSENTIAL LINUX SECURITY PRACTICES


EVERYTHING YOU NEED TO KNOW — LINUX ESSENTIALS BY KARTHIKEYAN NAGARAJ


Sep 25
1K
1



Karthikeyan Nagaraj

in

System Weakness


NETWORKING BASICS IN LINUX


EVERYTHING YOU NEED TO KNOW — LINUX ESSENTIALS BY KARTHIKEYAN NAGARAJ


Sep 23
979



Lulu


HOW TO SECURE YOUR NGINX SERVER WITH FREE WAF INTEGRATION


OPENRESTY IS A FULL-FLEDGED WEB APPLICATION SERVER BASED ON NGINX AND LUAJIT. IT
OFFERS A POWERFUL AND FLEXIBLE WAY TO BUILD AND EXTEND WEB…

Aug 19
4


See all from Lulu
See all from System Weakness



RECOMMENDED FROM MEDIUM

JJ Gallego

in

OSINT Team


MY OSINT HOMESERVER (ALPHA).


I HAVE BEEN DURING THE LAST FEW WEEKS PUTTING TOGETHER A OSINT SERVER IN MY
HOMELAB. THE MAIN IDEA IS TO HAVE A SET OF TOOLS AVAILABLE AT…

Oct 9
191
4



Karthikeyan Nagaraj

in

System Weakness


ESSENTIAL LINUX SECURITY PRACTICES


EVERYTHING YOU NEED TO KNOW — LINUX ESSENTIALS BY KARTHIKEYAN NAGARAJ


Sep 25
1K
1




LISTS


TECH & TOOLS

21 stories·331 saves


DATA SCIENCE AND AI

40 stories·271 saves


ICON DESIGN

36 stories·435 saves


NATURAL LANGUAGE PROCESSING

1780 stories·1385 saves


Lorenzo Orlando | Kreyzon Custom Software


I JUST BOUGHT A RASPBERRY PI 5: HERE’S WHAT I’M GOING TO DO WITH IT AS A
SOFTWARE ENGINEER


I’VE HAD THE DESIRE TO GET MYSELF A RASPBERRY PI FOR A WHILE AND FINALLY I GOT
IT.


Jun 6
231
3



Karthick Dkk

in

devsecops-community


THE DANGEROUS LINUX COMMANDS YOU SHOULD NEVER RUN IN PRODUCTION (SERIOUSLY,
DON’T DO IT)


HEY THERE! IF YOU’RE MANAGING LINUX SYSTEMS IN PRODUCTION, YOU KNOW THINGS CAN
GO FROM “EVERYTHING IS AWESOME!” TO “WHY IS EVERYTHING ON…


Oct 10
516
8



Mr.PlanB


YOU NEED TO READ THIS IF YOU ARE PROXMOX USER, AND WHY YOU SHOULDN’T RELY SOLELY
ON PROXMOX…


PROXMOX VIRTUAL ENVIRONMENT (PVE) IS A POWERFUL PLATFORM WIDELY USED FOR
MANAGING VIRTUAL MACHINES AND CONTAINERS. ONE OF ITS USEFUL…


6d ago
3



LeStefDuSud

in

Long. Sweet. Valuable.


NMAP VIEWER: VISUALIZE YOUR NETWORK SCANS LIKE A PRO FOR FREE 🔎


WELCOME TO THIS STEP-BY-STEP TUTORIAL ON NMAP VIEWER, A FREE, SELF-HOSTED
NETWORK ANALYSIS TOOL DESIGNED TO SIMPLIFY YOUR NETWORK SCANNING…


Oct 5
141
3


See more recommendations

Help

Status

About

Careers

Press

Blog

Privacy

Terms

Text to speech

Teams