This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Sophos UTM VPN Tunnel zu Fritz!Box 7390/7490 mit zwei Subnetzen

Hallo,

ich habe jeweils ein VPN von meiner Sophos UTM zu einer Fritz!Box 7390 sowie einer 7490 aufgebaut. Beide Tunnel laufen stabil und fehlerfrei Allerdings schaffe ich es nicht meine zwei Subnetze vom LAN und VPN zeitgleich in den Tunnel zu bringen.

 

LAN (192.168.10.0/24)
                                     \                    [--------------- VPN Tunnel ------------]
                                      Sophos UTM ----- Kabelmodem ---- Internet ----- Fritz!Box ----- LAN (192.168.0.0/24)
                                     /            192.168.5.0/24
VPN (192.168.15.0/24)

 

Auf der Sophos UTM habe ich mein LAN (192.168.10.0/24) und mein SSL VPN (192.168.15.0/24). Die UTM hängt WAN-seitig an einem Kabelmodem im Subnetz 192.168.5.0/24. Von meinem LAN/VPN möchte ich nun in über das VPN in das LAN der Fritz!Box (192.168.0.0/24) und umgekehrt zugreifen. Beide Subnetze habe ich in die Konfiguration der Fritz!Box und natürlich auch in die der UTM eingetragen. Wenn der Tunnel aufgebaut wird und ich einen Dauerping aus dem LAN sowie VPN in das Netz der Fritz!Box laufen lasse, sehe ich, dass erst der Ping auf dem VPN Netz beantwortet wird, dann abbricht und zeitgleich der Ping aus dem LAN beantwortet wird und dann so bestehen bleibt. Die Site-to-Site Übersicht in der UTM zeigt an, dass die beiden SAs für das Subnetz LAN und VPN aufgebaut wurden.

Nehme ich eines der beiden Subnetze aus der Konfiguration raus funktioniert das verbleibende Subnetz einwandfrei. Daher schließe ich eine Fehlkonfiguration in der Firewall o.ä. aus.

Ich habe bereits versucht jeweils ein Tunnel für ein Subnetz aufzubauen, aber es kommt immer nur ein Tunnel hoch. Der andere wird nicht aufgebaut.

Leider habe ich keine Idee wo ich weiter suchen könnte bzw. ob die Fritz!Box oder die UTM das Problem ist. Hier Screenshots aus der UTM Config sowie im Anhang die Fritz!Box Config.

    connections {
        enabled = yes;
        conn_type = conntype_lan;
        name = "JasMan VPN";
        always_renew = yes;
        reject_not_encrypted = no;
        dont_filter_netbios = yes;
        localip = 0.0.0.0;
        local_virtualip = 0.0.0.0;
        remoteip = 0.0.0.0;                
        remote_virtualip = 0.0.0.0;
        remotehostname = "UTM_DYNDNS";
        keepalive_ip = 192.168.10.1;
        localid {
            fqdn = FRITZ!BOX_DYNDNS;
        }
        remoteid {
            fqdn = UTM_DYNDNS;
        }
        mode = phase1_mode_idp;
        phase1ss = "all/all/all";
        keytype = connkeytype_pre_shared;
        key = "A_SECURE_KEY";  
        cert_do_server_auth = no;
        use_nat_t = yes;
        use_xauth = no;
        use_cfgmode = no;
        phase2localid {
            ipnet {
                ipaddr = 192.168.0.0;
                mask = 255.255.255.0;
            }
        }
        phase2ss = "esp-all-all/ah-all/comp-all/pfs";
        accesslist = "permit ip any 192.168.10.0 255.255.255.0";
		accesslist = "permit ip any 192.168.15.0 255.255.255.0";
    }
    ike_forward_rules = "udp 0.0.0.0:500 0.0.0.0:500",
    "udp 0.0.0.0:4500 0.0.0.0:4500";

 

Ideen willkommen :)

 

Jas Man



This thread was automatically locked due to age.
Parents Reply Children
  • That was also my thought, but with one tunnel/connection for each subnet the same error occures.

    I configured two remote gateways on the UTM with the same WAN address (because it's the same Fritz!Box at the end) but different PSKs. Then I configured two connections, one for each subnet. I configured also two VPN connections on the Fritz!Box. Both connections work perfect standalone. But as soon as the other connection comes up, the first connection is not working anymore. The UTM shows both as up and OK/green. But the Fritz!Box shows only one as up. The other connection is down, and its WAN address 255.255.255.255.

    I think the Fritz!Box has a problem with the same destination IP for both tunnels.

  • Ben hatte mit seiner Vermutung recht. Die Fritz!Box scheint in Verbindung mit einer Sophos UTM nur ein Subnet pro VPN Tunnel zu können. Das hatte ich ja auch schon vermutet, aber trotzdem keine Verbindung hinbekommen.

    Der Grund dafür war, dass ich die VPN ID bei beiden Tunneln gleich benannt hatte. Da kommt die UTM durcheinander und baut nur den letzten Tunnel sauber auf. Ich habe jetzt die VPN ID beider Tunnel unterschiedlich benannt, und nun funktioniert es.

    UTM Config

    Fritz!Box Config