fix firewall for bridge interface
This commit is contained in:
@@ -70,7 +70,7 @@
|
|||||||
# Allow networks to access the dns and dhcp
|
# Allow networks to access the dns and dhcp
|
||||||
iifname {
|
iifname {
|
||||||
"lan",
|
"lan",
|
||||||
"ve-gitea",
|
"vb-gitea",
|
||||||
"podman0",
|
"podman0",
|
||||||
"infrastructure",
|
"infrastructure",
|
||||||
"wg_cloonar",
|
"wg_cloonar",
|
||||||
@@ -80,7 +80,7 @@
|
|||||||
iifname {
|
iifname {
|
||||||
"lan",
|
"lan",
|
||||||
"podman0",
|
"podman0",
|
||||||
"ve-gitea",
|
"vb-gitea",
|
||||||
"infrastructure",
|
"infrastructure",
|
||||||
"wg_cloonar",
|
"wg_cloonar",
|
||||||
"smart",
|
"smart",
|
||||||
@@ -111,14 +111,14 @@
|
|||||||
|
|
||||||
# lan and vpn to any
|
# lan and vpn to any
|
||||||
# TODO: disable wan when finished
|
# TODO: disable wan when finished
|
||||||
iifname { "wan", "lan", "ve-gitea", "podman0", "wg_cloonar" } oifname { "lan", "ve-gitea", "podman0", "infrastructure", "multimedia", "smart", "wrwks", "wg_cloonar", "wg_epicenter", "wg_ghetto_at" } counter accept
|
iifname { "wan", "lan", "vb-gitea", "podman0", "wg_cloonar" } oifname { "lan", "vb-gitea", "podman0", "infrastructure", "multimedia", "smart", "wrwks", "wg_cloonar", "wg_epicenter", "wg_ghetto_at" } counter accept
|
||||||
iifname { "infrastructure" } oifname { "podman0", "ve-omada" } counter accept
|
iifname { "infrastructure" } oifname { "podman0", "vb-omada" } counter accept
|
||||||
|
|
||||||
# Allow trusted network WAN access
|
# Allow trusted network WAN access
|
||||||
iifname {
|
iifname {
|
||||||
"lan",
|
"lan",
|
||||||
"infrastructure",
|
"infrastructure",
|
||||||
"ve-gitea",
|
"vb-gitea",
|
||||||
"podman0",
|
"podman0",
|
||||||
"multimedia",
|
"multimedia",
|
||||||
"smart",
|
"smart",
|
||||||
|
|||||||
@@ -103,7 +103,6 @@ in
|
|||||||
# macvlans = [ "vserver" ];
|
# macvlans = [ "vserver" ];
|
||||||
privateNetwork = true;
|
privateNetwork = true;
|
||||||
hostBridge = "server";
|
hostBridge = "server";
|
||||||
hostAddress = "10.42.97.1";
|
|
||||||
localAddress = "10.42.97.2";
|
localAddress = "10.42.97.2";
|
||||||
bindMounts = {
|
bindMounts = {
|
||||||
"/var/lib/gitea" = {
|
"/var/lib/gitea" = {
|
||||||
|
|||||||
Reference in New Issue
Block a user