mirror of
https://github.com/angolo40/mikrocata2selks.git
synced 2025-05-12 08:27:22 +00:00
Update README.md
This commit is contained in:
parent
21b084331a
commit
f4e5cde093
34
README.md
34
README.md
@ -17,20 +17,6 @@ Minimum working setup:
|
|||||||
- 10 GB of free RAM
|
- 10 GB of free RAM
|
||||||
- minimum 10 GB of free disk space (actual disk occupation will mainly depend of the number of rules and the amount of traffic on the network). 200GB+ SSD grade is recommended.
|
- minimum 10 GB of free disk space (actual disk occupation will mainly depend of the number of rules and the amount of traffic on the network). 200GB+ SSD grade is recommended.
|
||||||
|
|
||||||
## Functions
|
|
||||||
- Install Docker and Docker Compose
|
|
||||||
- Install Python
|
|
||||||
- Download and install SELKS repo (https://github.com/StamusNetworks/SELKS)
|
|
||||||
- Download and install Mikrocata
|
|
||||||
- Install TZSP interface
|
|
||||||
- Notification over Telegram when ip is blocked
|
|
||||||
|
|
||||||
## Install
|
|
||||||
|
|
||||||
```sh
|
|
||||||
./easyinstall.sh
|
|
||||||
```
|
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
- Setup a fresh Debian 11 install on a dedicated machine (server or vm)
|
- Setup a fresh Debian 11 install on a dedicated machine (server or vm)
|
||||||
@ -56,7 +42,6 @@ Minimum working setup:
|
|||||||
- - /usr/local/bin/mikrocataTZSP2.py with specific Mikrotik2 value and enable sniffer on Mikrotik2 sending data to 37010 port.
|
- - /usr/local/bin/mikrocataTZSP2.py with specific Mikrotik2 value and enable sniffer on Mikrotik2 sending data to 37010 port.
|
||||||
- - and so on...
|
- - and so on...
|
||||||
|
|
||||||
|
|
||||||
## Mikrotik setup
|
## Mikrotik setup
|
||||||
|
|
||||||
- /tool sniffer set filter-stream=yes streaming-enabled=yes streaming-server=xxx.xxx.xxx.xxx:37008 (xxx.xxx.xxx.xxx is your Debian ip addr, 37008 is default port for Mikrotik0)
|
- /tool sniffer set filter-stream=yes streaming-enabled=yes streaming-server=xxx.xxx.xxx.xxx:37008 (xxx.xxx.xxx.xxx is your Debian ip addr, 37008 is default port for Mikrotik0)
|
||||||
@ -73,6 +58,25 @@ Add Mikrotik User
|
|||||||
|
|
||||||
- /user/add name=mikrocata2selks password=xxxxxxxxxxxxx group=full (change password)
|
- /user/add name=mikrocata2selks password=xxxxxxxxxxxxx group=full (change password)
|
||||||
|
|
||||||
|
## Functions
|
||||||
|
- Install Docker and Docker Compose
|
||||||
|
- Install Python
|
||||||
|
- Download and install SELKS repo (https://github.com/StamusNetworks/SELKS)
|
||||||
|
- Download and install Mikrocata
|
||||||
|
- Install TZSP interface
|
||||||
|
- Notification over Telegram when ip is blocked
|
||||||
|
|
||||||
|
## Troubleshooting
|
||||||
|
- Check if packets are coming to VM from Mikrotik trought dummy interface
|
||||||
|
```sh
|
||||||
|
tcpdump -i tzsp0
|
||||||
|
```
|
||||||
|
- Check if microcata service on tzsp0 is up and running
|
||||||
|
```sh
|
||||||
|
systemctl status TZSPreplay37008@tzsp0.service
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
## Author
|
## Author
|
||||||
|
|
||||||
👤 **Giuseppe Trifilio**
|
👤 **Giuseppe Trifilio**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user