Files
quartz/content/20-29 HOBBYS/23 SECURITY/23.11 EVILGINX/basic configuration.md
Quartz Syncer 30dd2ec6c1
All checks were successful
Build and Deploy Quartz / build (push) Successful in 20s
Published multiple files
2026-01-20 13:38:56 -07:00

44 lines
701 B
Markdown

---
publish: true
title: Server bootstrapping
created: 2026-01-10T15:29:32.987-07:00
modified: 2025-06-26T12:37:33.633-06:00
tags:
- evilginx
- guide
- self_hosting
cssclasses: ""
---
## Install and configure ufw
1. Install the ufw package
```
apt install ufw
```
2. Set the default ufw policies
```
ufw default deny incoming
ufw default allow outgoing
```
3. Allow required traffic
>[!note]
>For the purpose of a basic Evilginx setup on a remote server we will allow ssh, dns, and https but add other services as necessary for your setup
```
ufw allow ssh
ufw allow 53
ufw allow https
```
4. Enable the firewall
```
ufw enable
```
At this point your server has **BASIC** protections.