From a6ec8f8947e1d6e56d1c0af6b67af2e7468ef98f Mon Sep 17 00:00:00 2001 From: heqnx Date: Sun, 22 Jun 2025 20:19:31 +0300 Subject: initial commit on working deployment --- templates/rules.v4.j2 | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 templates/rules.v4.j2 (limited to 'templates/rules.v4.j2') diff --git a/templates/rules.v4.j2 b/templates/rules.v4.j2 new file mode 100644 index 0000000..6a0e54f --- /dev/null +++ b/templates/rules.v4.j2 @@ -0,0 +1,13 @@ +*filter +:INPUT ACCEPT [0:0] +:FORWARD ACCEPT [0:0] +:OUTPUT ACCEPT [0:0] +COMMIT + +*nat +:PREROUTING ACCEPT [0:0] +:INPUT ACCEPT [0:0] +:OUTPUT ACCEPT [0:0] +:POSTROUTING ACCEPT [0:0] +-A POSTROUTING -s {{ nat_subnet }} -o {{ public_interface }} -j MASQUERADE +COMMIT -- cgit v1.2.3