Networking - Whitelist ports does not work as expected
Solved
Support
-
@BrutalBirdie Whoops, the filename is wrong. The correct filename is
/home/yellowtent/boxdata/firewall/ports.json
.# cat /home/yellowtent/boxdata/firewall/ports.json { "allowed_tcp_ports": [ 10050 ] } # systemctl restart cloudron-firewall # iptables -L -n | grep -i 10050 ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp multiport dports 10050
-
@girish said in Networking - Whitelist ports does not work as expected:
@BrutalBirdie Whoops, the filename is wrong. The correct filename is
/home/yellowtent/boxdata/firewall/ports.json
.# cat /home/yellowtent/boxdata/firewall/ports.json { "allowed_tcp_ports": [ 10050 ] } # systemctl restart cloudron-firewall # iptables -L -n | grep -i 10050 ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp multiport dports 10050
Now it's working as intended.
I will create a PR for the docs.edit:
https://git.cloudron.io/cloudron/docs/-/commit/fd7c5d31f5fbd02e65589e06d5f9ee50322269eb
Has been done already, because it's not live yet I thought I could do that.Thanks
-
-
-