I have a docker swarm with encrypted network and would like to use could firewall but I don’t know how to enable IP Protocol 50 and 51 (ESP, AH) on the firewall. Is it even possible?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Click below to sign up and get $100 of credit to try our products over 60 days!
The first answer to the question is faulty: Port 50 (UDP/TCP) is NOT the same as ESP Protocol 50. To allow for IPSec passthrough, the DigitalOcean Cloud Firewalls would need to support ESP Protocol 50 - which they don’t.
It is an important feature of any firewall, to allow for setting up point-to-point IPSec between two servers, and DigitalOcean should have implemented this a long time ago in my view. It’s a little embarrassing for them to not offer this feature in 2020.
If you feel the same, and want to vote for this to be supported, please vote for this idea ticket: https://ideas.digitalocean.com/ideas/DO-I-2955
Hi @milesich,
You can open any port you wish and use it to your needs. In your case to open ports 50 and 51, you’ll need to execute the following commands:
All of the provided commands will help you with openning the port and allowing traffic. It’s possible however, you wish to enable traffic only for a certain IP address. In that case, you’ll need to modify your commands a bid.
Please remember to change XXX.XXX.XXX.XXX in any of the commands with your own IP address.
Reards, KDSys