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

FS#2382 - OpenVPN restart places 1-2 new protocols in config file, causing VPN to break. #7222

Closed
openwrt-bot opened this issue Jul 12, 2019 · 1 comment
Labels

Comments

@openwrt-bot
Copy link

neonknight77:

Supply the following if possible:

  • Device problem occurs on
  • Software versions of OpenWrt/LEDE release, packages, etc.
  • Steps to reproduce

Using OpenWRT .06, newest. Install the following to get OpenVPN running via Software tab:

openvpn-openssl
luci-app-openvpn
openssl-util

I go in to OpenVPN -> Advanced and fill out everything (under client to client configuration). Only authentication I use is a user/pass in addition to a CA certificate.

THE ISSUE: Any time I make a change in the GUI or the VPN goes down, it will not restart itself until I SSH in to the config file and remove sometimes both, or just one line.

Error in System Log:

Fri Jul 12 00:28:59 2019 daemon.err openvpn(Mullvad_client)[3649]: Options error: specify only one of --tls-server, --tls-client, or --secret
Fri Jul 12 00:28:59 2019 daemon.warn openvpn(Mullvad_client)[3649]: Use --help for more information.

Protocol 1 that gets added by itself each time a change is made or VPN restarts:
secret shared-secret.key

Protocol 2:
Unable to paste it due to Terminal Log exhausted and reset.

But each of the two lines are for authentication, and I am using a text file for Authentication in the openvpn folder /etc/openvpn/userpass.txt

I have done factory Resets and it is a pain each time I need to make a change or VPN goes down, I must SSH and remove a line, the same ones each time.

@openwrt-bot
Copy link
Author

neonknight77:

Proper Build:
OpenWrt 18.06.4 r7808-ef686b7292

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant