Skip to content

Commit 0931b32

Browse files
committed
Fix: Solve issue on an incorrect nftable rule for a different protocol from TCP.
1 parent 555d11b commit 0931b32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/aleph/vm/network/firewall.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -647,7 +647,7 @@ def add_port_redirect_rule(
647647
{
648648
"match": {
649649
"op": "==",
650-
"left": {"payload": {"protocol": "tcp", "field": "dport"}},
650+
"left": {"payload": {"protocol": protocol, "field": "dport"}},
651651
"right": vm_port,
652652
}
653653
},

0 commit comments

Comments
 (0)