Files
quartz/content/20-29 HOBBYS/23 SECURITY/23.11 EVILGINX/basic configuration.md
Quartz Syncer fe0581e423
All checks were successful
Build and Deploy Quartz / build (push) Successful in 27s
Published multiple files
2026-02-05 12:24:25 -07:00

45 lines
744 B
Markdown

---
publish: true
permalink: /security/evilginx/basic-config
title: Server bootstrapping
created: 2026-01-29T14:04:18.492-07:00
modified: 2026-02-05T12:21:58.025-07: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.