Grande réorganisation et renommage au niveau du Gitea, d'autres

modifications à venir.
This commit is contained in:
Guillaume Emorine
2024-11-14 15:22:34 +01:00
parent d0a6791cad
commit 745f7a8537
184 changed files with 441 additions and 3 deletions

View File

@@ -0,0 +1 @@
Dossier contenant les configurations effectuées pour le proxy Squid, sixième TP.

View File

@@ -0,0 +1 @@
Files for the NAT replacement.

View File

@@ -0,0 +1,7 @@
[Unit]
Description=Running port forwarding script on startup thanks to a systemd unit.
[Service]
Type=oneshot
ExecStart=/bin/bash /root/dnsfwd.sh
[Install]
WantedBy=multi-user.target

View File

@@ -0,0 +1,7 @@
#!/bin/bash
echo "1" > /proc/sys/net/ipv4/ip_forward
nft add table dnsfwd
nft add chain dnsfwd prerouting {type nat hook prerouting priority 0 \; }
nft add chain dnsfwd postrouting {type nat hook postrouting priority 0 \; }
nft add rule dnsfwd postrouting tcp dport 53 masquerade
nft add rule dnsfwd postrouting udp dport 53 masquerade

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff