It seems crazy to me, but I've set up a VPN and I can find no reasonable way to enable file sharing or screen sharing, etc. ONLY to the VPN interface.
What's the point of VPN if you're opening up the services to the world anyway?
What's the point of VPN if you're opening up the services to the world anyway?
I think that is what firewalls are for.
A.
Apple should make this the default scenario, or at least allow you to enable services on a specific interface only.
Except one does not generally do this, especially not on a VPN interface that may not even exist when the VPN is not in use. Consider your own example - who has a file server listening for requests for VPN users but not on the local network? I am sure someone does, but it is not like it is a common practice.
The only ports on your server that should be exposed to the Internet are the ones you require to be exposed, e.g. the ones used by the VPN. The normal way to do that is to use a firewall (and if security is truly a concern, that is a separate dedicated hardware firewall).
A.
No. If you enable VPN, then the default state IS to connect via a "local" network - through the VPN. The only service you want exposed is VPN. Everything else is accessed "locally" through the VPN
The local network is the network that you are physically connected to (or the wireless equivalent). When you use a VPN you are making your client machine part of a remote network *in addition* to the local network. Your client has access to both networks. Optionally, in some VPN clients, you can choose to have all traffic *not going to the local network* sent over the VPN rather than through the client's local next-hop router. In all cases (at least the ones I know about) the client always has full access to the local network.
You have contrived an unusual requirement, you expect it to be supported in a GUI, and are surprised when it is not. You call the vendor "crazy". Someone here might be crazy, but I am not sure that it is the vendor...
A.
I have "contrived" the only useful use case for VPN. To tunnel to the local network in a secure fashion. I don't think you understand.
It's very simple and Ive described it multiple times.