Last active
January 27, 2023 12:11
-
-
Save antoniocampos/f5faa46dfbea19bfec2daad64f15767e to your computer and use it in GitHub Desktop.
Solve problems accessing a windows domain or apply group policies on a client using OpenVpn
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; add this lines to your .ovpn | |
; replace x.x.x.x with your local dns servers (the server that "know" the domain) | |
dhcp-option DNS x.x.x.x | |
dhcp-option DNS x.x.x.x | |
; replace antoniocampos.net by your local domain | |
dhcp-option DOMAIN antoniocampos.net | |
dhcp-option ADAPTER_DOMAIN_SUFFIX antoniocampos.net | |
; more important!! | |
block-outside-dns |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment