# IP Whitelist & VPNs

**URL:** <https://community.traefik.io/t/ip-whitelist-vpns/6209>\
**Category:** Traefik v2\
**Tags:** middleware, docker\
**Created:** [May 25, 2020, 5:20am UTC](https://community.traefik.io/t/ip-whitelist-vpns/6209 "2020-05-25T05:20:10Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![danieljmiles](https://sea2.discourse-cdn.com/flex020/user_avatar/community.traefik.io/danieljmiles/32/2110_2.png) [@danieljmiles](https://community.traefik.io/u/danieljmiles)\
**Post date:** [May 27, 2020, 10:48pm UTC](https://community.traefik.io/t/ip-whitelist-vpns/6209/5 "2020-05-27T22:48:11Z")

</div>

You are entirely correct and whoami showed it - turns out pushing everything through openvpn didn't work the way I thought it did, and it's tunneling as expected, but as you say still using the original WAN IP of the phone. Will play around with DNS to force resolve to a local IP; thanks for your help.

---

_[View the full topic](https://community.traefik.io/t/ip-whitelist-vpns/6209)._
