ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Unsolved EdgeRouterX - Draytek - Draytek VPN issues

    IT Discussion
    4
    36
    3.7k
    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.
    • DashrenderD
      Dashrender
      last edited by

      I haven't setup a VPN tunnel on my EdgeRouter stuff yet, but by default, when you setup tunnels, you have to explicitly say what traffic exists on the other side of the tunnel so it knows to route it over the tunnel, otherwise it routes the traffic to the internet interface.

      Your Draytek's might have some type of autoconfig that takes care of that for you, some type of routing protocol. I'm guessing you could set that up on the EdgeRouter as well, but it's probably not there by default.

      hobbit666H 1 Reply Last reply Reply Quote 0
      • hobbit666H
        hobbit666 @Dashrender
        last edited by

        @Dashrender any idea how to check the config?

        That was what I was hoping to happen when I added the subnet to the VPN on EdgeRouter like the DrayTek 🙂

        1 Reply Last reply Reply Quote 0
        • hobbit666H
          hobbit666
          last edited by hobbit666

          Downloaded the Config file of the EdgeRouter and it has this :-

          peer OFFICEIP{
                          authentication {
                              mode pre-shared-secret
                              pre-shared-secret MySecert
                          }
                          connection-type initiate
                          description LSF
                          ike-group FOO1
                          local-address WHS-IP
                          tunnel 1 {
                              allow-nat-networks disable
                              allow-public-networks disable
                              esp-group FOO1
                              local {
                                  prefix 192.168.123.0/24
                              }
                              remote {
                                  prefix 10.0.1.0/24
                              }
                          }
                          tunnel 2 {
                              allow-nat-networks disable
                              allow-public-networks disable
                              esp-group FOO1
                              local {
                                  prefix 192.168.123.0/24
                              }
                              remote {
                                  prefix 172.20.0.0/24
                              }
                          }
                      }
          
          1 Reply Last reply Reply Quote 0
          • DashrenderD
            Dashrender
            last edited by

            You should sanitize your post

            hobbit666H 1 Reply Last reply Reply Quote 1
            • hobbit666H
              hobbit666 @Dashrender
              last edited by

              @Dashrender is that better 🙂

              Mike DavisM 1 Reply Last reply Reply Quote 0
              • JaredBuschJ
                JaredBusch
                last edited by JaredBusch

                From my driving on the road point of view that configuration looks correct

                hobbit666H 1 Reply Last reply Reply Quote 1
                • hobbit666H
                  hobbit666 @JaredBusch
                  last edited by

                  @JaredBusch stop reading your phone while driving!

                  JaredBuschJ 1 Reply Last reply Reply Quote 0
                  • JaredBuschJ
                    JaredBusch @hobbit666
                    last edited by JaredBusch

                    @hobbit666 said in EdgeRouterX - Draytek - Draytek VPN issues:

                    @JaredBusch stop reading your phone while driving!

                    Why?

                    0_1487257215119_image.jpg

                    1 Reply Last reply Reply Quote 0
                    • JaredBuschJ
                      JaredBusch
                      last edited by

                      I used to read books while driving

                      1 Reply Last reply Reply Quote 0
                      • Mike DavisM
                        Mike Davis @hobbit666
                        last edited by

                        @hobbit666 He means change your pre-shared-secret in your config.

                        DashrenderD 1 Reply Last reply Reply Quote 1
                        • DashrenderD
                          Dashrender @Mike Davis
                          last edited by

                          @Mike-Davis said in EdgeRouterX - Draytek - Draytek VPN issues:

                          @hobbit666 He means change your pre-shared-secret in your config.

                          Right - you don't want the world to know the password for your VPN.

                          JaredBuschJ hobbit666H 2 Replies Last reply Reply Quote 0
                          • JaredBuschJ
                            JaredBusch @Dashrender
                            last edited by

                            @Dashrender said in EdgeRouterX - Draytek - Draytek VPN issues:

                            @Mike-Davis said in EdgeRouterX - Draytek - Draytek VPN issues:

                            @hobbit666 He means change your pre-shared-secret in your config.

                            Right - you don't want the world to know the password for your VPN.

                            12345

                            1 Reply Last reply Reply Quote 0
                            • hobbit666H
                              hobbit666 @Dashrender
                              last edited by hobbit666

                              @Dashrender @Mike-Davis oops but that's not the final one it's only while I test it'll be a random one once I got it working 🙂
                              *Changed anyway

                              DashrenderD 1 Reply Last reply Reply Quote 2
                              • DashrenderD
                                Dashrender @hobbit666
                                last edited by

                                @hobbit666 said in EdgeRouterX - Draytek - Draytek VPN issues:

                                @Dashrender @Mike-Davis oops but that's not the final one it's only while I test it'll be a random one once I got it working 🙂
                                *Changed anyway

                                Ok, at least there was an understanding to your post. 🙂

                                1 Reply Last reply Reply Quote 0
                                • DashrenderD
                                  Dashrender
                                  last edited by

                                  So what happens when you try to ping the main network VLAN? do a tracert and tell us the results.

                                  1 Reply Last reply Reply Quote 0
                                  • hobbit666H
                                    hobbit666
                                    last edited by hobbit666

                                    Ping and tracert from the working Shop site
                                    0_1487262605087_VPNPingShop.png

                                    1 Reply Last reply Reply Quote 0
                                    • hobbit666H
                                      hobbit666
                                      last edited by

                                      Ping and tracert from not working WHS Site
                                      0_1487262513180_VPNpingWHS.png

                                      1 Reply Last reply Reply Quote 0
                                      • JaredBuschJ
                                        JaredBusch
                                        last edited by

                                        Did you set up the VPN in the GUI? Did you check the box to create the firewall rules?

                                        hobbit666H 1 Reply Last reply Reply Quote 1
                                        • hobbit666H
                                          hobbit666 @JaredBusch
                                          last edited by

                                          @JaredBusch Yeah did it in the GUI and the "Automatically open firewall and exclude from NAT" was ticked. This is what i'm wondering maybe I should remove it and try adding it from the CLI instead in case something hasn't been applied correctly from the GUI.
                                          I have posted this on UBNT site but got nothing from that.

                                          1 Reply Last reply Reply Quote 0
                                          • hobbit666H
                                            hobbit666
                                            last edited by

                                            As a quick fix could I install something like OpenVPN server on a VM in the 172.20.0.X (VLAN15) Network and make a separate tunnel to that while we play 🙂

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