# Having both VPN and local access to vaultwarden at the same time

**URL:** <https://vaultwarden.discourse.group/t/having-both-vpn-and-local-access-to-vaultwarden-at-the-same-time/3561>\
**Category:** Help\
**Created:** [April 20, 2024, 6:33am UTC](https://vaultwarden.discourse.group/t/having-both-vpn-and-local-access-to-vaultwarden-at-the-same-time/3561 "2024-04-20T06:33:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![johnw](https://avatars.discourse-cdn.com/v4/letter/j/ee59a6/32.png) [@johnw](https://vaultwarden.discourse.group/u/johnw)\
**Post date:** [April 20, 2024, 6:33am UTC](https://vaultwarden.discourse.group/t/having-both-vpn-and-local-access-to-vaultwarden-at-the-same-time/3561/1 "2024-04-20T06:33:37Z")

</div>

Hi  
I’ve been trying to setup a subdomain for vaultwarden that is available locally and also through tailscale VPN. I’ve made a DNS records on CloudFlare that points to the internal IP as per the vaultwarden guide (linked below) and it now works. However the IP address is different when I’m connected to tailscale. How can I get both local access at home and VPN access while I’m away simultaneously? Thanks
