We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4cc679 commit 5e94bdbCopy full SHA for 5e94bdb
src/aleph/vm/network/firewall.py
@@ -621,11 +621,11 @@ def add_port_redirect_rule(
621
"match": {
622
"op": "==",
623
"left": {"payload": {"protocol": protocol, "field": "dport"}},
624
- "right": host_port,
+ "right": int(host_port),
625
}
626
},
627
{
628
- "dnat": {"addr": str(interface.guest_ip.ip), "port": vm_port},
+ "dnat": {"addr": str(interface.guest_ip.ip), "port": int(vm_port)},
629
630
],
631
@@ -648,7 +648,7 @@ def add_port_redirect_rule(
648
649
650
651
- "right": vm_port,
+ "right": int(vm_port),
652
653
654
{"accept": None},
0 commit comments