Rclone WebGUI on headless Debian Server

The rclone web GUI should be provided on a Debian headless server. The following service was created for this purpose:

[Unit]
Description=start rclone WebGUI
[Service]
ExecStart=rclone rcd --rc-web-gui-no-open-browser --rc-addr=10.0.0.3:5572 --rc-user xxx --rc-pass xxx --rc-web-gui-update

And the corresponding timer:

[Unit]
Description=start rclone WebGUI
[Timer]
OnBootSec=10sec
[Install]
WantedBy=timers.target

From the command line, the command shown in the above service runs without any problems.

The service itself starts even without an error message with the note:

15:58:56 NOTICE: Serving remote control on http://10.0.0.3:5572/
15:58 Started start rclone WebGUI.

If you then call up the address http://10.0.0.3:5572/ from another machine in the LAN, the browser only shows:

"not found"

I would guess you need to open the firewall on that port on the the server.

But it´s insite the LAN.

I mean the server itself might be running a firewall.

Check with

iptables -vnL

no, there are no rules active:

root@Debian:~# iptables -vnL
Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination

Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination

Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination

Is the process running? Can you see it with ps?

Can you connect to the port locally on the server? Use telnet 10.0.0.3 5572 to test. How about remotely?

Can you see a listening socket on the server with netstat -tuanp ?

First of all: thanks again for your great support!

root@Debian:~# ps aux | egrep rclone
root 5614 0.0 0.8 741548 34672 ? Ssl Sep19 0:07 /usr/bin/rclone rcd --rc-web-gui-no-open-browser --rc-addr=10.0.0.3:5572 --rc-user xxx --rc-pass xxx --rc-web-gui-update
root 31232 0.0 0.1 31936 5572 ? S 11:40 0:00 journalctl -q --lines=10 --output=json --follow -- _SYSTEMD_UNIT=rclone-webgui-starten.timer + COREDUMP_UNIT=rclone-webgui-starten.timer + UNIT=rclone-webgui-starten.timer
root 31234 0.0 0.0 6144 820 pts/0 S+ 11:40 0:00 grep -E rclone

Telnet from local is working:
root@Debian:~# telnet 10.0.0.3 5572
Trying 10.0.0.3...
Connected to 10.0.0.3.

Telnet from remote is working on default port, but not on port 5572 (does not connect without error).

root@Debian:~# netstat -tuanp
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 10.0.0.3:5572 0.0.0.0:* LISTEN 5614/rclone

That means you have something from the destination to the source that is blocking the connection.Firewall/Virus Toool/etc.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.