Hallo zusammen
Ich habe zwei VPS. Auf dem VPS1 läuft ein NGINX Proxy Manager, auf VPS2 Nextcloud. VPS1 habe ich entsprechend mit der Netcup Firewall alles entsprechend gesichert.
Nun wollte ich auf VPS2 nur noch die Verbindung über Port 443 von der IP des VPS1 zulassen. Aber sobald ich die Firewall des VPS2 einschalte kann ich nicht mehr auf Nextcloud zugreifen. Ich habe schon alles probiert, sprich nur Port 443 ohne IP-Adresse, sprich beliebig. Leider auch ohne Erfolg. Hat jemand eine Idee?
Hier die Firewallregeln:
netcup Mail block [Default]
blocks outgoing SMTP (Mail) traffic
# Beschreibung Aktion Richtung Protokoll Quellen Quell-Port Ziele Ziel-Port
-- ------------------------ ------ --------- --------- ------- ---------- ------------ ---------
1 drop outgoing SMTP DROP AUSGEHEND TCP * * * 25
2 drop outgoing SMTPS DROP AUSGEHEND TCP * * * 465
3 drop outgoing submission DROP AUSGEHEND TCP * * * 587
netcup Ping allow [Default]
allow ICMP (ping) on IPv4 and IPv6
# Beschreibung Aktion Richtung Protokoll Quellen Quell-Port Ziele Ziel-Port
-- ------------------------ ------ --------- --------- ------- ---------- ------------ ---------
4 allow incoming ping ACCEPT EINGEHEND ICMP * * * *
5 allow incoming ping6 ACCEPT EINGEHEND ICMPv6 * * * *
6 allow outgoing ping ACCEPT AUSGEHEND ICMP * * * *
7 allow outgoing ping6 ACCEPT AUSGEHEND ICMPv6 * * * *
NGINX to Nextcloud
# Beschreibung Aktion Richtung Protokoll Quellen Quell-Port Ziele Ziel-Port
-- ------------------------ ------ --------- --------- ------- ---------- ------------ ---------
8 Nextcloud ACCEPT EINGEHEND TCP * 443 * 443
9 NC ACCEPT AUSGEHEND TCP * 443 * 443
Allow SSH
# Beschreibung Aktion Richtung Protokoll Quellen Quell-Port Ziele Ziel-Port
-- ------------------------ ------ --------- --------- ------- ---------- ------------ ---------
10 Allow SSH ACCEPT EINGEHEND TCP * * * 22
Implizite Regeln [System]
Wird automatisch am Ende angewendet
# Beschreibung Aktion Richtung Protokoll Quellen Quell-Port Ziele Ziel-Port
-- ------------------------ ------ --------- --------- ------- ---------- ------------ ---------
11 Drop all DROP EINGEHEND ANY * * * *
12 Drop all DROP AUSGEHEND ANY * * * *