flant / ovpn-admin

Simple web UI to manage OpenVPN users.
Apache License 2.0
1.39k stars 261 forks source link

No Internet Connection #148

Closed DLandDS closed 1 year ago

DLandDS commented 2 years ago

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

m4heshd commented 2 years ago

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

TheRemiDev commented 2 years ago

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.

m4heshd commented 2 years ago

the developer seems inactive

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

regbo commented 2 years ago

Same issue here

R4MT1N commented 1 year ago

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

m4heshd commented 1 year ago

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

R4MT1N commented 1 year ago

@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.

m4heshd commented 1 year ago

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? 🤔

pashcovich commented 1 year ago

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

m4heshd commented 1 year ago

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