ovpn-admin icon indicating copy to clipboard operation
ovpn-admin copied to clipboard

No Internet Connection

Open DLandDS opened this issue 2 years ago • 3 comments

as the title, the DNS docker openvpn-server may be broke or something

DLandDS avatar Sep 19 '22 15:09 DLandDS

Same. I've tried this multiple times. The client connects but there's no internet.

m4heshd avatar Oct 05 '22 01:10 m4heshd

I am actually experiencing the same problem now. DNS is not working and only the IP ping is working properly.

It's a pity that there is this problem, and that the developer seems inactive, because this software is really interesting.

Let's hope that it fixes this.

TheRemiDev avatar Oct 06 '22 00:10 TheRemiDev

the developer seems inactive

How's the dev "inactive"? I see commits from just last month.

m4heshd avatar Oct 08 '22 07:10 m4heshd

Same issue here

regbo avatar Oct 13 '22 11:10 regbo

I'm not sure why, but it seems uncommenting "redirect-gateway def1" in the client config file (.ovpn) solves the issue!

R4MT1N avatar Oct 17 '22 14:10 R4MT1N

@R4MT1N You're right. It works now with that line active. Thank you.

m4heshd avatar Oct 18 '22 05:10 m4heshd

@R4MT1N You're right. It works now with that line active. Thank you.

You're welcome. Also, you may want to make the change in client.conf.tpl and build the docker image again. Anyway, it would be nice to exclude the client config template from the build process for the inevitable, further changes.

R4MT1N avatar Oct 18 '22 06:10 R4MT1N

Also, you may want to make the change in client.conf.tpl and build the docker image again.

Already done. @pashcovich can we get some insight on this? 🤔

m4heshd avatar Oct 18 '22 06:10 m4heshd

Hi guys. you can use this option to override this file as you see fit.

  --templates.clientconfig-path=""  
  (or OVPN_TEMPLATES_CC_PATH) path to custom client.conf.tpl

e.g. with additional volume from host

pashcovich avatar Nov 01 '22 14:11 pashcovich

@pashcovich Thank you. That was much easier. Totally missed it on the documentation. 😁

m4heshd avatar Nov 04 '22 06:11 m4heshd