Iptables restrictions bugfix: #2: Restrict inter-host access

This commit is contained in:
2026-09-27 15:57:36 +01:00
parent 65b321f73b
commit 5560567143
2 changed files with 26 additions and 15 deletions
@@ -322,6 +322,11 @@ export default function buildHostIptablesScripts({
}
}
accept_lines.push(
`# Prevent clients from forwarding traffic back into the WireGuard network`,
`iptables -A ${forward} -o ${interface_name} -j DROP`,
);
const post_up = [
`#!/bin/bash`,
``,