mount nas

This commit is contained in:
RootHost-Stormwind
2026-01-26 10:29:07 +01:00
parent 32f7993914
commit 949f8cf77a
3 changed files with 24 additions and 1 deletions

View File

@@ -13,7 +13,6 @@
trustedInterfaces = [ "incusbr0" ];
};
# heres the custom nftables filter ruleset for forwarded traffic:
nftables.ruleset = ''
table ip filter {
chain forward {
@@ -25,6 +24,9 @@
iifname "incusbr0" oifname "enp4s0" ct state new,established accept
iifname "incusbr1" oifname "enp4s0" ct state new,established accept
# allow vm to vm communication
iifname "tap*" oifname "tap*" accept
# allow natted replies
iifname "enp4s0" oifname "incusbr0" tcp dport 8123 ct state new,established accept
iifname "enp4s0" oifname "incusbr0" tcp dport 80 ct state new,established accept