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

Exported OpenVPN Tunnel client JSON file only includes first remote endpoint #1037

Closed
francio87 opened this issue Jan 20, 2025 · 2 comments
Closed
Labels
verified All test cases were verified successfully

Comments

@francio87
Copy link
Member

When exporting the OpenVPN Tunnel client configuration file (.json), only the first defined public endpoint is included as the remote. Additional remote endpoints are omitted.

Steps to reproduce

  • Create an OpenVPN Tunnel Server and configure multiple public endpoints.
  • Download the NethSecurity Client configuration file (.json).
  • Import the downloaded configuration file into another NethSecurity

Expected behavior

The OpenVPN tunnel client should include all defined public endpoints as remotes in the configuration.

Actual behavior

Only the first public endpoint is configured as the remote in the client configuration file. The additional public endpoints are omitted.

UCI server configuration :

root@NethSec:~# uci show openvpn.ns_tunsrv1.ns_public_ip
openvpn.ns_tunsrv1.ns_public_ip='8.8.8.8' '8.8.4.4'

json content :

 ~$ jq '.RemoteHost' tunsrv1.json 
"8.8.8.8"

NethSecurity 8-23.05.5-ns.1.4.1

@github-project-automation github-project-automation bot moved this to ToDo 🕐 in NethSecurity Jan 20, 2025
@Tbaile Tbaile self-assigned this Jan 28, 2025
@Tbaile Tbaile moved this from ToDo 🕐 to In Progress 🛠 in NethSecurity Jan 28, 2025
@Tbaile
Copy link
Contributor

Tbaile commented Jan 28, 2025

QA

23.05.5-ns.1.4.1-41-gb40514839

Check that the issue is not reproducible

@Tbaile Tbaile added the testing Packages are available from testing repositories label Jan 28, 2025
@Tbaile Tbaile removed their assignment Jan 28, 2025
@nethbot nethbot moved this from In Progress 🛠 to Testing in NethSecurity Jan 28, 2025
@francio87 francio87 self-assigned this Jan 29, 2025
@francio87
Copy link
Member Author

Confirm Fixed

~$ jq '.RemoteHost' test_tunn-3.json
[
  "8.8.8.8",
  "8.8.4.4",
  "9.9.9.9"
]

@francio87 francio87 added verified All test cases were verified successfully and removed testing Packages are available from testing repositories labels Jan 29, 2025
@francio87 francio87 removed their assignment Jan 29, 2025
@nethbot nethbot moved this from Testing to Verified in NethSecurity Jan 29, 2025
@Tbaile Tbaile closed this as completed Feb 10, 2025
@github-project-automation github-project-automation bot moved this from Verified to Done ✅ in NethSecurity Feb 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
verified All test cases were verified successfully
Projects
Status: Done ✅
Development

No branches or pull requests

2 participants