Skip to content

Configure VPN connection for MySQL #4556

Answered by rfay
divdax asked this question in Q&A
Discussion options

You must be logged in to vote

In most cases, VPNs will work fine from the docker network to the outside world. This doesn't really have anything to do with DDEV.

There are a couple of exceptions:

  • VPN doesn't share the host internet connection with the Docker network. This is configuration and should be solvable. It can also be solved by using a proxy tcp to the host side.
  • VPN does packet inspection and changes the certificates required for the internet. This one can be fixed with https://stackoverflow.com/a/71595428/215713 (see other answers there as well). In your case though, you'd install in .ddev/db-build/Dockerfile instead of .ddev/web-build

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@rfay
Comment options

Answer selected by rfay
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants