Navigation

    Netgate Discussion Forum
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search

    IPsec conf

    Deutsch
    2
    2
    294
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      chris_6n last edited by

      Hallo zusammen,

      ich habe zwei Standort miteinander verbunden. Der Tunnel steht soweit, aber irgendwie scheint es mir Probleme mit dem Routing zu geben.
      Von Standort A kann ich nicht auf die Webcam am Standort B zugreifen per http.
      Ein Ping auf die Webcam geht ohne Probleme.

      Dann ist mir in der conf aufgefallen, dass das leftsubnet mit dem rightsubnet gleich ist!

      
      /var/etc/ipsec: cat ipsec.conf 
      # This file is automatically generated. Do not edit
      config setup
              uniqueids = yes
      
      conn bypasslan
              leftsubnet = 192.168.23.0/24
              rightsubnet = 192.168.23.0/24
              authby = never
              type = passthrough
              auto = route
      
      conn con1
              fragmentation = yes
              keyexchange = ikev2
              reauth = yes
              forceencaps = no
              mobike = no
      
              rekey = no
              installpolicy = yes
              type = tunnel
              dpdaction = restart
              dpddelay = 10s
              dpdtimeout = 60s
              auto = route
              left = 2003:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx
              right = 2a02:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx
              leftid = 2003:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx
              ikelifetime = 28800s
              lifetime = 3600s
              ike = aes256gcm128-sha512-modp4096!
              esp = aes256gcm128-sha512,aes256gcm128-sha512!
              leftauth = psk
              rightauth = psk
              rightid = 2a02:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx
              rightsubnet = 192.168.0.0/24
              leftsubnet = 192.168.23.0/24,192.168.80.0/24
      
      

      Mir ist nur nicht klar wieso?

      Gruß
      Chris

      1 Reply Last reply Reply Quote 0
      • JeGr
        JeGr LAYER 8 Moderator last edited by

        Und warum schaust du nicht in der Oberfläche nach, was du konfiguriert hast :)

        die Sense schreibt ja nicht aus Spaß an der Freude sowas in die Konfiguration, also würde ich mal in die Phase 2 Einträge reinsehen, was du da konfiguriert hast. Da du sonst leider genau Null Infos postest, ist alles andere pure Spekulation und Kaffeesatz-Leserei…

        ...gutes Stichwort! Ich hol mir mal einen. Vielleicht klappts dann mit der Glaskugel besser :D

        Don't forget to upvote 👍 those who kindly offered their time and brainpower to help you!

        If you're interested, I'm available to discuss details of German-speaking paid support (for companies) if needed.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post