Only show guides for your app
Turn on the web firewall for a site behind your reverse proxy, read its events, fix false alarms and write rules that block, check or limit visitors.
Website protection is a web application firewall (WAF) for a site you serve through the reverse proxy. It checks each request and can block attacks before they reach your app. Open Firewall under Advanced in your server's menu, choose the Protection tab and click your site's domain under Protected ports. Each reverse proxy gets its own page, on free and Premium servers alike.
Mia runs a web map of her Minecraft world at miamap.falix.org, proxied to port 25592. Proxies on Falix explains the reverse proxy itself.
The page is named after the domain, with "Website protection · proxied to port 25592" under it and a Protection link back to the firewall.
| Tab | What it holds |
|---|---|
| Overview | The Mode switch, the last 24 hours of requests as allowed, checked and blocked, and Top reasons for blocking |
| Events | Every request a rule acted on, newest first, kept for 7 days |
| Managed rules | Sensitivity and nine rule groups that Falix maintains |
| Custom rules | Your own rules |
| Settings | The visitor check, Requests per visitor and four switches |
Changes on Overview, Managed rules and Settings save as soon as you make them.
| Mode | The card says | What happens |
|---|---|---|
| Off | "The firewall is off for this site" | The rules don't run. A visitor check set to Auto still turns on during an attack |
| Log only | "Logging attacks without blocking them" | Every request goes through, and what the rules would stop shows up in Events |
| Block | "Blocking attacks on this site" | Matching requests are stopped, and visitors get a 403 page from Falix |
miamap.falix.org under Protected ports, where it reads "WAF off".R-8F2C41./search. The button names the event's own path. That one rule stops applying below it, and the rest of its group keeps working.The button appears for managed rules only. If a whole group misfires on your site, switch it off in Managed rules, or set Sensitivity to Low, which blocks only clear attacks.
Sensitivity starts on Medium, which suits most sites. High catches more attacks but can block unusual requests from real visitors. Check Events after you switch to it.
The groups are SQL injection, Cross-site scripting, Path traversal, Remote code execution, Sensitive files, Scanners and bad bots, WordPress protection, Known exploits and PHP attacks. Each has a switch, and every group starts on except WordPress protection.
| Setting | Starts on | What it does |
|---|---|---|
| Visitor check | Auto | Auto shows a short browser check only during an attack, Always checks every new visitor and Off never does |
| Requests per visitor | Balanced | Relaxed allows 300 requests per 10 seconds, Balanced 120 and Strict 40 |
| Let search engines through | On | Google, Bing and other verified crawlers skip the visitor check |
| Browser integrity check | On | Blocks requests with forged or missing browser headers |
| Hotlink protection | Off | Stops other sites from embedding your images |
| Only through the Falix proxy | Off | Drops direct visits to your server's port |
Custom rules run from the top down before the managed rules, and an Allow rule skips everything after it.
Protect admin./admin. With several conditions, Match chooses All conditions or Any condition.| Then | What happens |
|---|---|
| Block | Visitors get a 403 page from Falix |
| Check | Visitors see the browser check first |
| Allow | The request skips the visitor check, the managed rules and every later rule |
| Log | The request goes through and an event is added |
| Limit | Visitors over the limit get a 429 until the window resets |
A Limit rule takes 1 to 10000 requests per Window of 10 seconds, 1 minute, 10 minutes or 1 hour, counted per IP address or per IP address and path. A condition can test the IP address, Country, AS number, Path, Query string, Method, Host, User agent, Referer, a Header, a Cookie or Verified bot.
A site holds up to 50 custom rules, each with up to 10 conditions. A value can be 512 characters long, a list 200 values and a regex 256 characters, without lookarounds or backreferences. A site can hold up to 100 skipped rules, and a server can have up to 5 reverse proxies.
| What you see | Why | What to do |
|---|---|---|
| Your site isn't under Protected ports | It has no reverse proxy yet | Create one on the Reverse proxy tab of Network |
| A real visitor gets a 403 | A rule matched their request | Find their reference in Events and skip the rule for that path |
| Busy pages return 429 | Requests per visitor or a Limit rule is too tight | Pick Relaxed, or raise the rule's limit |
| "This setting isn't valid" and a field name | A value breaks a limit above | Fix the field it names |