Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug] OpenVPN tunnels does not work out of the box #231

Open
pandafy opened this issue Jun 9, 2022 · 2 comments
Open

[bug] OpenVPN tunnels does not work out of the box #231

pandafy opened this issue Jun 9, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@pandafy
Copy link
Member

pandafy commented Jun 9, 2022

Steps to replicate

  1. Start the development environment
  2. Register a device to the development environment. The default VPN template should get automatically applied to the device.

Expected Outcome
An OpenVPN tunnel is established between device and the OpenVPN container. And it is possible to send traffic through it

Actual Outcome
OpenVPN on the router fails with following error

Thu Jun  9 17:23:26 2022 daemon.err openvpn(default)[9866]: TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)

@pandafy pandafy added the bug Something isn't working label Jun 9, 2022
@dberardo-com
Copy link

running the docker distribution of the openvpn container here ... i see no log, and the container is always restarting in k8s ... do you face this issue too ?

@dberardo-com
Copy link

ok , i have figured: the VPN_DOMAIN var was not set ... a debug log would be much helpful : https://github.com/openwisp/docker-openwisp/blob/master/images/common/init_command.sh#L30C13-L30C23

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants