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

    Setting up IPsec VPN pfsense to dsr dlink-1000 router

    Scheduled Pinned Locked Moved IPsec
    32 Posts 5 Posters 3.0k Views
    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.
    • G
      Gap
      last edited by

      And when I'm initiating the VPN connection from dlink to pfsense this is what I get:
      0baec00e-121c-448f-b68a-1f1678193df2-image.png

      but when im initiating the vpn on pfsense to dlink this is what I only get:
      f4cec567-a5c1-4a5b-994a-3f015987e26c-image.png

      K 1 Reply Last reply Reply Quote 0
      • K
        Konstanti @Gap
        last edited by Konstanti

        @Gap
        Hi,
        try to do so

        dea73eb6-c3fc-4733-bc15-72a5a70a1dc0-image.png

        if it doesn't help , show the file
        /var/etc/ipsec/ipsec.conf

        G 1 Reply Last reply Reply Quote 0
        • G
          Gap @Konstanti
          last edited by

          @Konstanti hi thank you but still it didnt work wait ill try to get the file that you wanna see.

          1 Reply Last reply Reply Quote 0
          • kiokomanK
            kiokoman LAYER 8
            last edited by

            i don't think you need to enable nat traversal on phase 1

            ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
            Please do not use chat/PM to ask for help
            we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
            Don't forget to Upvote with the 👍 button for any post you find to be helpful.

            G 1 Reply Last reply Reply Quote 0
            • G
              Gap @kiokoman
              last edited by

              @kiokoman hi yes i just left it on but i dont think thats the problem,, here's the file that you're asking I just improvised so forgive me haha.

              b84f5eab-87df-4932-bcea-0af461491677-image.png
              b8b4e8c6-2096-4c59-8abc-792a9f7be243-image.png

              1 Reply Last reply Reply Quote 0
              • kiokomanK
                kiokoman LAYER 8
                last edited by kiokoman

                remote ip is 202.175.233.250
                why do you have 125.5.78.227 on pfsense log?

                ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
                Please do not use chat/PM to ask for help
                we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
                Don't forget to Upvote with the 👍 button for any post you find to be helpful.

                G 1 Reply Last reply Reply Quote 0
                • G
                  Gap @kiokoman
                  last edited by

                  @kiokoman sorry the first part was my first config and right now I changed it. to make it simple.

                  1 Reply Last reply Reply Quote 0
                  • kiokomanK
                    kiokoman LAYER 8
                    last edited by

                    are port udp 500 and 4500 open on 125.5.78.227 ?
                    228 is filtered but 227 result closed to me

                    ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
                    Please do not use chat/PM to ask for help
                    we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
                    Don't forget to Upvote with the 👍 button for any post you find to be helpful.

                    G 3 Replies Last reply Reply Quote 0
                    • G
                      Gap @kiokoman
                      last edited by

                      @kiokoman let me try hang on. I'm also confused about this dlink router.

                      1 Reply Last reply Reply Quote 0
                      • DerelictD
                        Derelict LAYER 8 Netgate
                        last edited by

                        Yeah from the first IPsec log it appears .227 is not receiving the traffic / allowing it in.

                        Chattanooga, Tennessee, USA
                        A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                        DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                        Do Not Chat For Help! NO_WAN_EGRESS(TM)

                        G 1 Reply Last reply Reply Quote 0
                        • G
                          Gap @kiokoman
                          last edited by

                          @kiokoman Hi sir I think I just need to open port 500 because I dont do NAT traversal and this port 4500 is for NAT traversal right?

                          1 Reply Last reply Reply Quote 0
                          • G
                            Gap @kiokoman
                            last edited by

                            @kiokoman right now I'm getting this logs from pfsense

                            09[NET] <10> received packet: from 125.5.78.227[500] to 125.5.78.228[500] (508 bytes)
                            

                            Jul 29 10:08:23 charon 09[ENC] <10> parsed IKE_SA_INIT request 0 [ SA KE No V ]

                            Jul 29 10:08:23 charon 09[CFG] <10> looking for an IKEv2 config for 125.5.78.228...125.5.78.227
                            Jul 29 10:08:23 charon 09[CFG] <10> candidate: 125.5.78.228...125.5.78.227, prio 3100
                            Jul 29 10:08:23 charon 09[CFG] <10> found matching ike config: 125.5.78.228...125.5.78.227 with prio 3100
                            Jul 29 10:08:23 charon 09[ENC] <10> received unknown vendor ID: af:ca:d7:13:68:a1:f1:c9:6b:86:96:fc:77:57:01:00
                            Jul 29 10:08:23 charon 09[IKE] <10> 125.5.78.227 is initiating an IKE_SA
                            Jul 29 10:08:23 charon 09[IKE] <10> IKE_SA (unnamed)[10] state change: CREATED => CONNECTING
                            Jul 29 10:08:23 charon 09[CFG] <10> selecting proposal:
                            Jul 29 10:08:23 charon 09[CFG] <10> proposal matches
                            Jul 29 10:08:23 charon 09[CFG] <10> received proposals: IKE:AES_CBC_256/HMAC_SHA1_96/PRF_HMAC_SHA1/MODP_3072
                            Jul 29 10:08:23 charon 09[CFG] <10> configured proposals: IKE:AES_CBC_256/HMAC_SHA1_96/PRF_HMAC_SHA1/MODP_3072
                            Jul 29 10:08:23 charon 09[CFG] <10> selected proposal: IKE:AES_CBC_256/HMAC_SHA1_96/PRF_HMAC_SHA1/MODP_3072
                            Jul 29 10:08:23 charon 09[ENC] <10> generating IKE_SA_INIT response 0 [ SA KE No N(MULT_AUTH) ]
                            Jul 29 10:08:23 charon 09[NET] <10> sending packet: from 125.5.78.228[500] to 125.5.78.227[500] (512 bytes)

                            1 Reply Last reply Reply Quote 0
                            • G
                              Gap @Derelict
                              last edited by

                              @Derelict @kiokoman

                              I'm having hard time opening the port 500 for this dsr- dlink 1000 router

                              but I think this is how to open it.

                              749b3d44-0094-4366-a163-f1d886e137e2-image.png

                              1 Reply Last reply Reply Quote 0
                              • kiokomanK
                                kiokoman LAYER 8
                                last edited by kiokoman

                                no, you opened port from 1 to 500 for outgoing and from 1 to 4500 for incoming

                                i don't known the dlink but you probably need 2 rules

                                udp
                                Outgoing
                                start port 500
                                to 500

                                Incoming
                                start port 500
                                to 500

                                another rules with

                                udp
                                outgoing
                                start port 4500
                                to 4500
                                incoming
                                start port 4500
                                to 4500

                                check if you have the latest firmware for the dlink

                                ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
                                Please do not use chat/PM to ask for help
                                we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
                                Don't forget to Upvote with the 👍 button for any post you find to be helpful.

                                G 2 Replies Last reply Reply Quote 0
                                • G
                                  Gap @kiokoman
                                  last edited by

                                  @kiokoman I already done that but it didnt help that's why i go crazy wait hang on lemme change it. and for the firmware its already up to date sadly :(

                                  1 Reply Last reply Reply Quote 0
                                  • kiokomanK
                                    kiokoman LAYER 8
                                    last edited by kiokoman

                                    2.13 ?
                                    https://tsd.dlink.com.tw/downloads2008.asp

                                    ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
                                    Please do not use chat/PM to ask for help
                                    we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
                                    Don't forget to Upvote with the 👍 button for any post you find to be helpful.

                                    G 1 Reply Last reply Reply Quote 0
                                    • G
                                      Gap @kiokoman
                                      last edited by

                                      @kiokoman 4e6bf705-883a-4faa-9db6-549223e95f46-image.png

                                      nope.
                                      52677666-cad0-4e0e-8d8a-589b58a440c2-image.png

                                      1 Reply Last reply Reply Quote 0
                                      • G
                                        Gap @kiokoman
                                        last edited by

                                        @kiokoman oh no it appears that I can upgrade the firmware up to 3.14

                                        1 Reply Last reply Reply Quote 0
                                        • kiokomanK
                                          kiokoman LAYER 8
                                          last edited by

                                          ok but i think the rules are on the wrong interface, it shoul be WAN not LAN

                                          ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
                                          Please do not use chat/PM to ask for help
                                          we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
                                          Don't forget to Upvote with the 👍 button for any post you find to be helpful.

                                          G 1 Reply Last reply Reply Quote 0
                                          • G
                                            Gap @kiokoman
                                            last edited by

                                            @kiokoman yes I agree on that but my only options are LAN and DMZ. damn this DSR is really a pain in the ass.

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.