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

    Site to Site and Server-Client VPN in same Pfsense?

    Scheduled Pinned Locked Moved OpenVPN
    19 Posts 3 Posters 1.4k 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.
    • mucipM
      mucip @johnpoz
      last edited by

      Dear @johnpoz ,
      Any configuration sample or video which you can advice please?

      Regards,
      Mucip:)

      johnpozJ 1 Reply Last reply Reply Quote 0
      • johnpozJ
        johnpoz LAYER 8 Global Moderator @mucip
        last edited by johnpoz

        @mucip not sure why you would need a "video" its as simple as adding the correct remote networks to the correct places. And sure making sure your firewall rules allow, etc..

        Here is a thread with your exact question

        https://forum.netgate.com/topic/158075/combining-remote-access-vpn-with-site-to-site-vpn

        Answer given in 2nd post..

        edit: I always like a drawing for talking points.. So here is simple example setup

        drawing.jpg

        First thing is make sure you have no overlapping networks.. The RA client isn't going to be able to go down the vpn to get to remote networks, if his local network overlaps any of the networks available via the vpn.

        Now how does this remote client know to go down the vpn to get to 192.168.2? That has to be listed in the RA setup so he knows to come down the vpn to get to either 192.168.1 or 2, or this RA needs to be setup so clients use the RA as their default gateway, and send all traffic down this vpn.

        Now how does does remote site know that to get to the RA tunnel network, and the client 172.16.1 he needs to send that down the s2s vpn..

        If you understand these basic concepts, it becomes clear.. Also you need to make sure that any firewall rules allow for these other networks..

        hope that helps ;)

        An intelligent man is sometimes forced to be drunk to spend time with his fools
        If you get confused: Listen to the Music Play
        Please don't Chat/PM me for help, unless mod related
        SG-4860 24.11 | Lab VMs 2.7.2, 24.11

        mucipM 4 Replies Last reply Reply Quote 1
        • mucipM
          mucip @johnpoz
          last edited by

          @johnpoz ,
          Thanks. I lost internet connection from Branch office now unfortunatelly.
          I will check and inform.

          Regards,
          Mucip:)

          1 Reply Last reply Reply Quote 0
          • mucipM
            mucip @johnpoz
            last edited by mucip

            @johnpoz
            I added the IP block with comma but could not get result unfortunatelly. Maybe I wrong understood. :(

            Main office is 192.168.0.0/24
            Branch Office is 192.168.8.0/24

            Site to site site IPV4 Tunel network is 172.16.10.0/24
            Accress server IPV4 Tunel network is 176.100.200.0/24

            Where am I wrong?

            Edit:
            Well, I just realized your edited post.
            OK. I will check your drawing and inform you.

            Regards,
            Mucip:)

            1 Reply Last reply Reply Quote 0
            • BhadnessB
              Bhadness @mucip
              last edited by

              @mucip How can one access Bank Password Generator Device?

              mucipM 1 Reply Last reply Reply Quote 0
              • mucipM
                mucip @Bhadness
                last edited by

                @bhadness
                Sorry?... I could not understand?

                Regards,
                Mucip:)

                BhadnessB 2 Replies Last reply Reply Quote 0
                • mucipM
                  mucip @johnpoz
                  last edited by mucip

                  @johnpoz ,
                  Drawing is very clear, thanks. Well, which fileds should I change in the VPN config page?

                  Regards,
                  Mucip:)

                  1 Reply Last reply Reply Quote 0
                  • BhadnessB
                    Bhadness @mucip
                    last edited by

                    @mucip You know what is bank password generator device right?

                    mucipM 1 Reply Last reply Reply Quote 0
                    • mucipM
                      mucip @Bhadness
                      last edited by

                      @bhadness ,
                      No...

                      Regards,
                      Mucip:)

                      BhadnessB 1 Reply Last reply Reply Quote 0
                      • BhadnessB
                        Bhadness @mucip
                        last edited by

                        @mucip wish I could show you right now 🤦🏿‍♂️

                        1 Reply Last reply Reply Quote 0
                        • BhadnessB
                          Bhadness @mucip
                          last edited by

                          @mucip It's a device that generates passwords and tokens in the bank

                          mucipM 1 Reply Last reply Reply Quote 0
                          • mucipM
                            mucip @Bhadness
                            last edited by

                            @bhadness
                            OK... What is the relationship with my problem than?

                            Regards,
                            Mucip:)

                            BhadnessB 1 Reply Last reply Reply Quote 0
                            • BhadnessB
                              Bhadness @mucip
                              last edited by

                              @mucip I'm just looking for a way to access the device because it contains so many things in it

                              1 Reply Last reply Reply Quote 0
                              • mucipM
                                mucip @johnpoz
                                last edited by

                                @johnpoz
                                I've got it with your very helpfull drawing and explanation.

                                Thanks so much. :)

                                Regards,
                                Mucip:)

                                johnpozJ 1 Reply Last reply Reply Quote 0
                                • johnpozJ
                                  johnpoz LAYER 8 Global Moderator @mucip
                                  last edited by johnpoz

                                  @mucip said in Site to Site and Server-Client VPN in same Pfsense?:

                                  very helpfull drawing

                                  Your more than welcome - yeah if more people would post up drawings right off the bat, stuff would go some much quicker in figuring out the issues..

                                  I always like to have a drawing - even if just for reference on what trying to accomplish.. It helps to make sure everyone on the same page if you will ;)

                                  An intelligent man is sometimes forced to be drunk to spend time with his fools
                                  If you get confused: Listen to the Music Play
                                  Please don't Chat/PM me for help, unless mod related
                                  SG-4860 24.11 | Lab VMs 2.7.2, 24.11

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