OpenVPN with Adguard
-
@Jenova I guess that's good news and bad news
I have to leave you on your own here, since I have no clue how Windows DNS works. See http://woshub.com/dns-resolution-via-vpn-not-working-windows/ and https://serverfault.com/questions/356115/vpn-connection-causes-dns-to-use-wrong-dns-server for maybe some ideas.
-
@girish said in OpenVPN with Adguard:
@Jenova I guess that's good news and bad news
I have to leave you on your own here, since I have no clue how Windows DNS works. See http://woshub.com/dns-resolution-via-vpn-not-working-windows/ and https://serverfault.com/questions/356115/vpn-connection-causes-dns-to-use-wrong-dns-server for maybe some ideas.
Unfortunate but I'll ask on Adguard and OpenVPN forums then. Thanks for your time.
-
@Jenova it happen to me when I didn't add my secondary Server IP(Adguard) on primary vpn server with cloudron.
So I went to my adguard server and I had go to setting on webgui->setting->dns-> allow client so I added primary IP on there and now it working.
-
@ApplegateR said in OpenVPN with Adguard:
@Jenova it happen to me when I didn't add my secondary Server IP(Adguard) on primary vpn server with cloudron.
So I went to my adguard server and I had go to setting on webgui->setting->dns-> allow client so I added primary IP on there and now it working.
I don't have a secondary IP. The VPS with which OpenVPN is hosted on is also the one Adguard is hosted on. There is only one IP for that server.
-
@Jenova said in OpenVPN with Adguard:
@ApplegateR said in OpenVPN with Adguard:
@Jenova it happen to me when I didn't add my secondary Server IP(Adguard) on primary vpn server with cloudron.
So I went to my adguard server and I had go to setting on webgui->setting->dns-> allow client so I added primary IP on there and now it working.
I don't have a secondary IP. The VPS with which OpenVPN is hosted on is also the one Adguard is hosted on. There is only one IP for that server.
Do you think I should buy another VPS, install Cloudron on it and install either my VPN or Adguard on it and try with that?
-
@Jenova said in OpenVPN with Adguard:
Do you think I should buy another VPS, install Cloudron on it and install either my VPN or Adguard on it and try with that?
Yes, I think this will work (because from our experiments using 8.8.8.8 clearly worked).
-
@girish said in OpenVPN with Adguard:
@Jenova said in OpenVPN with Adguard:
Do you think I should buy another VPS, install Cloudron on it and install either my VPN or Adguard on it and try with that?
Yes, I think this will work (because from our experiments using 8.8.8.8 clearly worked).
I'll do this. OpenVPN forums where of no help at all.
-
@Jenova
I downloaded the default openvpn file from my cloudron vpn app (I did not change any settings in the app) and then added these 3 lines to the ovpn file to force my dns server...dhcp-option DNS ~IP OF MY SERVER~ register-dns block-outside-dns
-
@BrutalBirdie said in OpenVPN with Adguard:
@Jenova
I downloaded the default openvpn file from my cloudron vpn app (I did not change any settings in the app) and then added these 3 lines to the ovpn file to force my dns server...dhcp-option DNS ~IP OF MY SERVER~ register-dns block-outside-dns
Unfortunately that didn't help. Thank you for trying though. I already bought the new VPS too so we shall see if this works. Cloudron just got installed so I'm going to attempt to install OpenVPN first and if that doesn't work, ill install AdGuard Home
-
@Jenova said in OpenVPN with Adguard:
@BrutalBirdie said in OpenVPN with Adguard:
@Jenova
I downloaded the default openvpn file from my cloudron vpn app (I did not change any settings in the app) and then added these 3 lines to the ovpn file to force my dns server...dhcp-option DNS ~IP OF MY SERVER~ register-dns block-outside-dns
Unfortunately that didn't help. Thank you for trying though. I already bought the new VPS too so we shall see if this works. Cloudron just got installed so I'm going to attempt to install OpenVPN first and if that doesn't work, ill install AdGuard Home
Having a secondary server with Adguard on it works. I assume some configuration on the original Adguard server broke because the OpenVPN on the secondary server still couldn't connect with my main server Adguard.
Thanks guys for all the help, this can be marked as resolved.
-
@BrutalBirdie said in OpenVPN with Adguard:
register-dns
block-outside-dnsGood to know these! Apparently, these are Windows only directives - https://iflorian.com/openvpn-block-outside-ds/
-