I'm trying to set up a Outline VPN server on my Oracle Cloud Instance. However I keep getting the error
You won’t be able to access it externally, despite your server being correctly set up, because there's a firewall (in this machine, your router or cloud provider) that is preventing incoming connections to ports 37019 and 3029.
I tried individually opening ports using the command
firewall-cmd --zone=public --add-port=37019/tcp --permanent
However the port numbers keep changing after I open them. So is there a way to open all the TCP and UDP ports at once?