OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • Virtual private networks »
  • [SELF FIXED] How to make OpenVPN client use local OpenVPN server DNS
« previous next »
  • Print
Pages: [1]

Author Topic: [SELF FIXED] How to make OpenVPN client use local OpenVPN server DNS  (Read 634 times)

wallacam

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
    • View Profile
[SELF FIXED] How to make OpenVPN client use local OpenVPN server DNS
« on: June 30, 2024, 05:50:07 pm »
Being fairly new to home networking, this took me hours to crack... but no doubt common-sense to most of you on here :)

Requirement:  iPhone OpenVPN client to use local OPNsense DNS arrangements (Adguard etc).

Solution: set "DNS Servers" under OpenVPN Servers to "10.10.0.1" - or whatever the IP address is of the local OpenVPN server.

No other changes needed... I thought it would just work with 192.168.1.1 - and tried everything such as push-option DNS etc...

Also explains why I was getting "reply from unexpected source" response when using nslookup from my iPhone (when forcing 192.168.1.1 DNS). 


 
« Last Edit: June 30, 2024, 06:04:56 pm by wallacam »
Logged

you

  • Newbie
  • *
  • Posts: 45
  • Karma: 2
    • View Profile
Re: [SELF FIXED] How to make OpenVPN client use local OpenVPN server DNS
« Reply #1 on: July 22, 2024, 01:55:21 pm »
This helped me to get local DNS and outbound DNS working. Thanks :)
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • Virtual private networks »
  • [SELF FIXED] How to make OpenVPN client use local OpenVPN server DNS
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2