I want to install the uplink gateway on my QNAP did somebody try to docker it?
Any luck with this? Did you find out the right ports to open?
You should not block any outgoing traffic. The source and destination ports will be random. You does not need to open incoming traffic, unless it’s protected from the LAN too. In the last case you need to allow incoming connections from LAN to your gateway. By default it uses TCP port 7777.
You should not publish this port to the internet, because the Gateway-ST uses insecure http by default
Ah thanks! I was under the impression Docker blocks outgoing traffic by default, but that seems false.
I’m facing another problem now though, if I copy config.yaml
into docker in the build stage, when I try to use uplink I get a uplink: invalid access grant format
error. I tried automating uplink setup
with a shell script, but that results in uplink: inappropriate ioctl for device
.
The easiest way would be to
uplink import $ACCESS_GRANT
Where $ACCESS_GRANT is given on docker build --build-arg ACCESS_GRANT=1fgeeootm...
or from the env variable exposed to the build shell from outside.
I ended up automating uplink setup
with express
but your solution seems better