Questuion regarding Linux clients (post config - Internet to Intranet)

Hi there

Just installed UrBackup server to serve clients internally and over Internet.

Some of my Linux clients located on same subnet.
Client install performed using web interface of the server as: “Name of new Internet client/client behind NAT” option to get snapshoot options to run. Script downloaded, and install performed.

I found all of my Linux clients wanted to have connection via public IP doing hairpin connection (client => Firewall=>server) which traffic is blocked. That is mean no connection because no firewall rules to allow.

Question: Which config file should be edited and how to force my clients communicate directly to my server? (instead of hairpining)

service up and running for a while
● urbackupclientbackend.service - UrBackup Client backend
Loaded: loaded (/lib/systemd/system/urbackupclientbackend.service; enabled; vendor preset: enabled)
Active: active (running) since Sun 2022-01-23 11:12:15 CET; 2min 24s ago
Main PID: 13260 (urbackupclientb)
Tasks: 10 (limit: 4915)
CGroup: /system.slice/urbackupclientbackend.service
└─13260 /usr/local/sbin/urbackupclientbackend --config /etc/default/urbackupclient --no-consoletime

jan 23 11:12:16 urbi-HP-xw4600-Workstation urbackupclientbackend[13260]: FileSrv: Binding UDP socket at port 35622…
jan 23 11:12:16 urbi-HP-xw4600-Workstation urbackupclientbackend[13260]: Started UrBackupClient Backend…
jan 23 11:12:16 urbi-HP-xw4600-Workstation urbackupclientbackend[13260]: FileSrv: done.
jan 23 11:12:16 urbi-HP-xw4600-Workstation urbackupclientbackend[13260]: FileSrv: Binding ipv6 UDP socket at port 35622…
jan 23 11:12:16 urbi-HP-xw4600-Workstation urbackupclientbackend[13260]: FileSrv: done.
jan 23 11:12:16 urbi-HP-xw4600-Workstation urbackupclientbackend[13260]: FileSrv: Servername: -urbi-HP-xw4600-Workstation-
jan 23 11:12:16 urbi-HP-xw4600-Workstation urbackupclientbackend[13260]: FileSrv: Server started up successfully
jan 23 11:12:16 urbi-HP-xw4600-Workstation urbackupclientbackend[13260]: FileSrv: UDP Thread started
jan 23 11:12:17 urbi-HP-xw4600-Workstation urbackupclientbackend[13260]: Looking for old Sessions… 0 sessions
jan 23 11:12:17 urbi-HP-xw4600-Workstation urbackupclientbackend[13260]: Internet only mode not enabled. Waiting for local server for 3:00…

Client log:
2022-01-23 11:12:16: Started UrBackupClient Backend…
2022-01-23 11:12:16: FileSrv: done.
2022-01-23 11:12:16: FileSrv: Binding ipv6 UDP socket at port 35622…
2022-01-23 11:12:16: FileSrv: done.
2022-01-23 11:12:16: FileSrv: Servername: -urbi-HP-xw4600-Workstation-
2022-01-23 11:12:16: FileSrv: Server started up successfully
2022-01-23 11:12:16: FileSrv: UDP Thread started
2022-01-23 11:12:17: Looking for old Sessions… 0 sessions
2022-01-23 11:12:17: Internet only mode not enabled. Waiting for local server for 3:00…
2022-01-23 11:15:17: Trying to connect to internet server “xxx.xxx.xxx.xxx” at port 55415
2022-01-23 11:15:27: Connecting failed.
2022-01-23 11:20:27: Trying to connect to internet server “xxx.xxx.xxx.xxx” at port 55415
2022-01-23 11:20:37: Connecting failed.
2022-01-23 11:25:37: Trying to connect to internet server “xxx.xxx.xxx.xxx” at port 55415
2022-01-23 11:25:47: Connecting failed.
2022-01-23 11:30:47: Trying to connect to internet server “78.131.75.101” at port 55415
2022-01-23 11:30:57: Connecting failed.

Config file at /usr/local/var/urbackup/data/settings.cfg

#Initial Settings. Changes will not be respected.
#48692563-17e4-4ccb-a078-f14372fdbe20
internet_mode_enabled=true
internet_server=xxx.xxx.xxx.xxx
internet_server_port=55415
internet_server_proxy=
internet_authkey=HIDDEN
computername=urbi-HP-xw4600-Workstation

modified config at: /etc/default/urbackupclient
#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

There is a hidden feature that you can list the names it should connect to, e.g.:

192.168.0.105;urbackup.example.com

It’ll try to connect to the IP first and the hostname aftwards if that fails.

Otherwise you’ll have to resolve urbackup.example.com differently for local clients via DNS.

Sorry I don’t have your point.

Anyway what I did. Modified the following lines:
at: /usr/local/var/urbackup/data/settings.cfg changed the ip address to local IP
AND
at: /etc/default/urbackupclient
INTERNET_ONLY=true

Got an error message: timeout while waiting for server to start