Hey Forum!
Help me a little please, because I don’t know if I’m doing it right or not. Probably not since it is not working…
- We have several VPS and developer workstations around the world we wish to backup
- We have one office with a LAN and on this LAN, we have a backup serrver.
- On this backup server, I’ve hosted a URBackup Server accessable by the internal IP:PORT in the browser
- Accessing the server from the outside world, I’ve set up a Cloudflare Tunnel to the proper internal IP:PORT and now it is accessaable via backup.mycompany.hu
- With Cloudflare Tunnel the IP address of the server (both the internal and public) are masked and given a random IP always, but the domain is always reachable.
Now I don’t know if the clients can connect to the server via the domain name if it is “just” a cloudflare tunnel domain. So I was thinking about setting up the clients to connect straight to the public IP of the office. So, on my firewall I’ve forwarded the two ports required by URBackup towards the backup server.
My questions are:
- How do I set up the clients to be internet servers? In the logs of the client I get:
internet server not configured
. - The client was installed by a bash script created by the server. I think it has the URL for connection instead of the public IP address of the server. Where can I check where does the client want’s to go?
Content of my /etc/default/urbackupsrv
is:
# Defaults for urbackupsrv initscript
# sourced by /etc/init.d/urbackupsrv and /lib/systemd/system/urbackup-server.service
# installed at /etc/default/urbackupsrv by the maintainer scripts
#
# This is parsed as a key=value file
#
#Port for FastCGI requests
FASTCGI_PORT=55413
#Enable internal HTTP server
# Required for serving web interface without FastCGI
# and for websocket connections from client
HTTP_SERVER="true"
#Port for the web interface
#(if internal HTTP server is enabled)
HTTP_PORT=55414
#Bind HTTP server to localhost only
HTTP_LOCALHOST_ONLY=false
#Bind Internet port to localhost only
INTERNET_LOCALHOST_ONLY=false
#log file name
LOGFILE="/var/log/urbackup.log"
#Either debug,warn,info or error
LOGLEVEL="warn"
#Temporary file directory
# -- this may get very large depending on the advanced settings
DAEMON_TMPDIR="/tmp"
#Tmp file directory for sqlite temporary tables.
#You might want to put the databases on another filesystem than the other temporary files.
#Default is the same as DAEMON_TMPDIR
SQLITE_TMPDIR=""
#Interfaces from which to send broadcasts. (Default: all).
#Comma separated -- e.g. "eth0,eth1"
BROADCAST_INTERFACES=""
#User the urbackupsrv process runs as
USER="urbackup"
Content of a /etc/default/urbackupclient
is:
# Defaults for urbackup_client initscript
# sourced by /etc/init.d/urbackupclientbackend
# installed at /etc/default/urbackupclient by the maintainer scripts
#
# This is parsed as a key=value file
#
#logfile name
LOGFILE="/var/log/urbackupclient.log"
#Either debug,warn,info or error
LOGLEVEL=warn
#Max size of the log file before rotation
#Disable if you are using logrotate for
#more advanced configurations (e.g. with compression)
LOG_ROTATE_FILESIZE=20971520
#Max number of log files during rotation
LOG_ROTATE_NUM=10
#Tmp file directory
DAEMON_TMPDIR="/tmp"
# Valid settings:
#
# "client-confirms": If you have the GUI component the currently active user
# will need to confirm restores from the web interface.
# If you have no GUI component this will cause restores
# from the server web interface to not work
# "server-confirms": The server will ask the user starting the restore on
# the web interface for confirmation
# "disabled": Restores via web interface are disabled.
# Restores via urbackupclientctl still work
#
RESTORE=disabled
#If true client will not bind to any external network ports (either true or false)
INTERNET_ONLY=false
Thanks for the help in advance !