Skip Navigation
Jump
Setting my VPS to only accept connections through OpenVPN
  • I'm not sure what challenge you're facing.

    You mentioned that a firewall is configured on the VPS. So, if the firewall is configured properly, it should prevent anyone from accessing your services.

    The only problem I can foresee is if you are using Docker. This tool tends to ignore the firewall because of how it works with iptables. If you're running your container without bridge mode, just expose your port to the localhost only, and you should be good to go. Cheers

    1