letheanVPN / lthn-app-vpn

Client/Server dVPN
https://www.lt.hn
European Union Public License 1.2
36 stars 16 forks source link

some `lvmgmt --generate-sdp` arguments not taking effect #143

Open bodane opened 2 years ago

bodane commented 2 years ago

Upon running lvmgmt with --generate-sdp, none of the below arguments would take effect and write to the sdp.json file.

--sdp-provider-type TEXT (Options are residential, commercial or government) - Tested residential and didn't take. --sdp-provider-terms TEXT --sdp-service-endpoint FQDN

Workaround

Edit sdp.json manually to update each required field.

Update the nodeType and terms values:

- delete, + add

-"nodeType": null,
+"nodeType": residential or commercial or government,
-"terms": "{providerterms}",
+"terms": "your terms",

Endpoint added above port.

"proxy": [
            {
              +"endpoints": [ "fqdn of node" ],
               "port": "<port>/TCP"
            }
         ],
         +"terms": "your terms",

No service specific “terms” argument exists, which therefore needs adding manually in sdp.json