Comments (4)
I have the same issue, did you find any solution how to fix it?
from docker-rancher-openvpn.
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.
Fixed in #11
from docker-rancher-openvpn.
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)
- LDAP Rancher template 1.0 bombs out after succesfull connect HOT 5
- Some env vars already "baked into" entrypoint script HOT 1
- LDAP additional filters
- Please allow configuring `comp-lzo` via env vars
- AUTH_METHOD=rancherlocal when Rancher uses Github auth HOT 7
- OpenVPN config not fully working on ubuntu HOT 2
- OPENVPN_EXTRACONF parameter in README.md may should be modified
- MTU mismatch
- current version is whether support rancher 2.4.x ?
- Multiline OPENVPN_EXTRACONF HOT 4
- openvpn-rancherlocal HOT 1
- upgrading != new certs? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-rancher-openvpn.