<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Best way to access vpn server localy]]></title><description><![CDATA[<p dir="auto">Hello,i try to find the best way to use my vpn server from my phone.The server is ok i can connect from my phone(ussing openvpn for android 0.7.5) but when i come home and my wifi kick in,my internet on the phone is not working,my goal is to use vpn as permanent connection so i don't need to connect and disconnect the client(yea i am lazzy)<br />
My first "fix" was to bind the vpn server using any interface option and its working,but i don't know if its the best way,i don't like the idea to bind on all interfaces.<br />
Right now when i am home my  vpn client will disconnect and search for a local ip to use as a vpn server ip.<br />
If someone know a more elegant way to do this pls give me a hint.<br />
Thanks</p>
]]></description><link>https://forum.netgate.com/topic/139786/best-way-to-access-vpn-server-localy</link><generator>RSS for Node</generator><lastBuildDate>Sun, 08 Nov 2026 17:37:02 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/139786.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 21 Jan 2019 09:32:01 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Best way to access vpn server localy on Mon, 21 Jan 2019 18:24:21 GMT]]></title><description><![CDATA[<p dir="auto">Thanks for you time,i don't need a VPN when i am at home,but i don't know how to bypass vpn just when i am at home.If my vpn is active when i am connected to my home wifi it will lose connection and he try to connect to my wan.My wish is too be always on vpn because with my work i go in many places.<br />
I will try your idea with dns override,sems more clean,right now i have on my client config my wan and my lan ip,so he will try next if one will fail.<br />
I might create 2 vpn servers one on wan and one on wifi interface.</p>
]]></description><link>https://forum.netgate.com/post/818887</link><guid isPermaLink="true">https://forum.netgate.com/post/818887</guid><dc:creator><![CDATA[lcbbcl]]></dc:creator><pubDate>Mon, 21 Jan 2019 18:24:21 GMT</pubDate></item><item><title><![CDATA[Reply to Best way to access vpn server localy on Mon, 21 Jan 2019 10:06:52 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">In your case, binding to all interfaces (WAN, of course, and LAN) is the right thing to do.<br />
Your VPN client in your phone is probably using an URL that resolves to your WAN IP.<br />
Add a host override, the same URL, in your DNS (Resolver or forwarder) so that local connections are redirected to your LAN IP (instead of relooping into your WAN).<br />
This way, your VPN client will restart the connection using the same URL from the inside and outside.</p>
<p dir="auto">edit : serious : a VPN to pfSense when connecting from the inside ?</p>
]]></description><link>https://forum.netgate.com/post/818776</link><guid isPermaLink="true">https://forum.netgate.com/post/818776</guid><dc:creator><![CDATA[Gertjan]]></dc:creator><pubDate>Mon, 21 Jan 2019 10:06:52 GMT</pubDate></item></channel></rss>