Skip to content

Instantly share code, notes, and snippets.

View escalopa's full-sized avatar
🎯
Focusing

Ahmad Helaly escalopa

🎯
Focusing
View GitHub Profile
@escalopa
escalopa / docker-ubuntu.sh
Last active December 14, 2022 08:13
Install docker linux
#
# To run this script on your machine use
# curl https://gist.githubusercontent.com/escalopa/a21b2f79016ffea7825b14fd43f4d60c/raw/aeffa969a2e98b3f8f85727b2783fa2cafc76004/docker-ubuntu.sh | bash
#
set -e
sudo apt update -y
sudo apt install -y \
@escalopa
escalopa / iptables.md
Last active May 9, 2024 16:28
Iptables simple explanation with exapmles

iptables practice

Check iptables rules

iptables -t {mangle|filter|nat} -L

You can also add the --line-number option to print rules numbers

Delete a rule

@escalopa
escalopa / dynamic-routing-config.md
Last active July 25, 2023 04:02
dynamic-routing-config

Install FRR

curl "https://raw.githubusercontent.com/escalopa/script-installer/main/scripts/frr.sh"  | bash

{ID}=1.1.1.1

{ENP0S8}=192.168.X.0

{ENP0S9}=192.168.Y.0