/opt/lthn/bin/lvmgmt --generate-sdp \
--wallet-address REDACTED \
--sdp-provider-name "REDACTED" \
--sdp-service-id 1a \
--sdp-service-name "REDACTED" \
--sdp-service-type proxy \
--sdp-service-endpoint REDACTED \
--sdp-service-port 8080 \
--sdp-service-dlspeed 10 \
--sdp-service-ulspeed 10 \
--sdp-service-cost 0.10 \
--sdp-service-prepaid-mins 60 \
--sdp-service-verifications 1
! Followed up with edits to sdp.json for fields that "--generate-sdp" did not update/add.
"nodeType": "residential", <- field updated manually, didn't come across in "--generate-sdp" process.
"terms": "REDACTED", <- field added manually, didn't come across in "--generate-sdp" process.
"proxy": [
{
"endpoints": [ "REDACTED" ], <- field added manually, didn't come across in "--generate-sdp" process.
"port": "8080/TCP"
}
],
"terms": "REDACTED", <- field added manually, didn't come across in "--generate-sdp" process.
An upload to the sdp would be the next step however wanting to test out locally before this stage and while the sdp is not yet up.
Installed additional apps - socat (as per repo instructions for use of "mgmt") and screen (for dispatcher)
! Installed socat and screen
sudo apt-get install -y socat screen
! Put across the lethean base squid config just incase not used, default config file didn't match.
sudo cp /opt/lthn/etc/squid.conf /etc/squid/squid.conf
! Squid service wasn't up at this point, and does appear to come up during step4 where the script should start it.
sudo /etc/init.d/squid start
Then ran dispatcher run script and tried using the management interface.
screen -S dispatcher
cd /
./entrypoint-lethean-vpn.sh run
Ctrl+a+d
echo "help" | socat stdio /opt/lthn/var/run/mgmt
(no output returned)
lthnvpnd is running along with the dependant processes such as rpc wallet. lthnvpnd process is running at 100% presently, a separate issue to look at.
No output returned upon execution of the command. Expect command options to output which is referenced here .
Steps to replicate issue
Have not tried outside of a docker container.
dispatcher.ini
andsdp.json
fields I believe should be updated below:dispatcher.ini
sdp.json
An upload to the sdp would be the next step however wanting to test out locally before this stage and while the sdp is not yet up.
socat
(as per repo instructions for use of "mgmt") andscreen
(for dispatcher)