Files
quartz/content/10-19 HOBBYS/13 SECURITY/13.11 EVILGINX/basic configuration.md
2026-01-19 14:39:10 -07:00

36 lines
711 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.