Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DNS entries in server.conf in wrong order #1224

Open
scheruga opened this issue May 14, 2024 · 0 comments
Open

DNS entries in server.conf in wrong order #1224

scheruga opened this issue May 14, 2024 · 0 comments

Comments

@scheruga
Copy link

scheruga commented May 14, 2024

I have placed the openvpn-install.sh into /opt/openvpn/openvpn-install.sh
There I added the file auto-install.sh with the following content:

export AUTO_INSTALL=y
export APPROVE_INSTALL=y
export APPROVE_IP=y
export IPV6_SUPPORT=n
export PORT=13794
export PORT_CHOICE=1
if [ -n "$PORT" ]; then export PORT_CHOICE=2; fi
export PROTOCOL_CHOICE=1
export DNS=1
export COMPRESSION_ENABLED=n
export CUSTOMIZE_ENC=n
export PROTOCOL_CHOICE=2 # TCPIP

/opt/openvpn/openvpn-install.sh

the content of /etc/resolv.conf is the following:

# Generated by NetworkManager
search richter.local
nameserver 192.168.1.155
nameserver 10.25.1.1

After executing /opt/openvpn/openvpn-install.sh the file /etc/openvpn/server.conf contained the following two DNS entries:
push "dhcp-option DNS 192.168.1.155"
push "dhcp-option DNS 10.25.1.1"

So they are in the wrong order.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant