How to only access through VPN?

Hi, I would like to know if is possible to only access (http, ssh) specific machines, IF ur using a vpn in flyio?

If that is possible, how can I achieve this?

thanks

May be.

  1. Remove all public ip/port declaration from fly.toml.

  2. And then connect to app vms from your Mac/PC with flyctl wireguard or connect among app vms over 6pn.

Hi,
did someone test it? I am trying to configure such connection but till now with no luck. Or maybe there is some other way to make VPN the only connection to app from outside?
Kind regards

This should work, can you open a new thread with details on what you’re doing so we can help?