Physische Maschinen können nicht über Direktverbindung hinzugefügt werden
Version: 10.11
Zuletzt geändert: 16. Juli 2024
Problem
Der Transporter ist auf dem physischen Rechner installiert, wobei die Direktverbindung aktiviert ist und die öffentliche IP-Adresse verwendet wird.
Beim Versuch, den physischen Rechner zu NAKIVO Backup & Replication hinzuzufügen, indem diesem Transporter die Option „Direktverbindung verwenden“ zugewiesen und die LAN-IP-Adresse angegeben wird, wird folgende Fehlermeldung angezeigt:
Cannot add the machine
No response was received from “X”. Make sure the provided information is correct and the connection is not blocked.
Lösung
Um das Problem zu umgehen, konfigurieren Sie die physischen Maschinen wie folgt:
Für Windows:
-
Fügen Sie [IP-Adresse 1] als „Loopback“-Adresse hinzu:
netsh int ip add address "Loopback" [IP-Adresse 1]
-
Verwenden Sie portproxy, um den Port zuzuordnen:
netsh interface portproxy add v4tov4 listenaddress=[IP 1] listenport=[Port 1] connectaddress==[IP 2] connectport=[Port 2]
Beispiel
netsh int ip add IP-Adresse "Loopback" 27.65.203.171
netsh interface portproxy add v4tov4 listenaddress=27.65.203.171 listenport=10066 connectaddress=10.10.17.69 connectport=9446
Für Ubuntu:
-
iptables -t nat -A OUTPUT -d [IP 1] -p tcp --dport [Port 1] -j DNAT --to-destination [IP 2]:[Port 2]
-
iptables -t nat -A OUTPUT -d [IP 1] -p tcp --dport [DataPortStart2]:[DataPortEnd2] -j DNAT --to-destination [IP 2]:[DataPortStart2]:[DataPortEnd2]
Beispiel
IP 1: 27.65.203.171 (öffentliche IP-Adresse)
Port 1: 10057
IP 2: 10.10.18.1 (lokale IP-Adresse)
Port 2: 9446
DataPortStart 2: 9448
DataPortEnd 2: 9450
iptables -t nat -A OUTPUT -d 27.65.203.171 -p tcp --dport 10057 -j DNAT --to-destination 10.10.18.11:9446
iptables -t nat -A OUTPUT -d 27.65.203.171 -p tcp --dport 9448:9500 -j DNAT --to-destination 10.10.18.11:9448-9500