Coder Social home page Coder Social logo

Comments (4)

maZahaca avatar maZahaca commented on September 26, 2024

I have the same issue, did you find any solution how to fix it?

from docker-rancher-openvpn.

maZahaca avatar maZahaca commented on September 26, 2024

For me actually worked following:
I've replaced a line in entry.sh

push "dhcp-option DNS 8.8.8.8"
push "dhcp-option DNS 8.8.4.4"
push "dhcp-option DNS 169.254.169.250"

That helped with a internet access, but I'm still having issue about search option, so I cannot resolve internal rancher domains :(

From Tunnelblick's log:

WARNING: 'foreign_option_4' = 'dhcp-option SEARCH rancher.internal' ignored
Retrieved from OpenVPN: name server(s) [ 8.8.8.8 8.8.4.4 169.254.169.250 ], search domain(s) [  ] and SMB server(s) [  ] and using default domain name [ openvpn ]
Not aggregating ServerAddresses because running on OS X 10.6 or higher
Setting search domains to 'openvpn' because running under OS X 10.6 or higher and the search domains were not set manually and 'Prepend domain name to search domains' was not selected
Saved the DNS and SMB configurations so they can be restored
Changed DNS ServerAddresses setting from '192.168.10.1' to '8.8.8.8 8.8.4.4 169.254.169.250'
Changed DNS SearchDomains setting from '' to 'openvpn'
Changed DNS DomainName setting from '' to 'openvpn'

from docker-rancher-openvpn.

maZahaca avatar maZahaca commented on September 26, 2024

Fixed in #11

from docker-rancher-openvpn.

maZahaca avatar maZahaca commented on September 26, 2024

About this SEARCH options also fixed by adding the line:

push "dhcp-option DOMAIN rancher.internal"

@AlexisDucastel What do you think about adding this as well to the default config?
After that fixes my resolv.conf:

search rancher.internal
nameserver 169.254.169.250
nameserver 8.8.8.8
nameserver 8.8.4.4

from docker-rancher-openvpn.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.