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

    2.0 Site to site, routing issue?

    Scheduled Pinned Locked Moved OpenVPN
    20 Posts 3 Posters 7.5k 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.
    • S
      skorge
      last edited by

      Could this be related to iroutes?

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        If you don't have iroutes setup (or setup properly) then yes it can be related to iroutes.

        Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • S
          skorge
          last edited by

          i do have an iroute on the server with just the CN of the client and the following line:

          iroute 192.168.10.0 255.255.255.0;

          1 Reply Last reply Reply Quote 0
          • jimpJ
            jimp Rebel Alliance Developer Netgate
            last edited by

            You might be hitting this:

            http://redmine.pfsense.org/issues/1417

            Try adding this to your custom options:

            client-config-dir /var/etc/openvpn-csc;
            

            Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

            Need help fast? Netgate Global Support!

            Do not Chat/PM for help!

            1 Reply Last reply Reply Quote 0
            • S
              skorge
              last edited by

              Yes, that was probably it. Thanks!

              I think I have some other problems with my configuration but it looks much better now!

              Thanks a lot for your help.

              1 Reply Last reply Reply Quote 0
              • S
                skorge
                last edited by

                Packet captures tells me everything works fine on the server side, but remote side doesn't route between openvpn and lan interface if source is from behind serverโ€ฆ

                Do I need iroutes on the client side as well?

                1 Reply Last reply Reply Quote 0
                • jimpJ
                  jimp Rebel Alliance Developer Netgate
                  last edited by

                  No, iroutes only go on the server side. Clients just have route statements. Servers need both route and iroute. Check the doc wiki, search for iroute, there is a troubleshooting doc.

                  Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

                  Need help fast? Netgate Global Support!

                  Do not Chat/PM for help!

                  1 Reply Last reply Reply Quote 0
                  • S
                    skorge
                    last edited by

                    Thats what i thought.

                    Checked the docs and I have it set up exacly like described. Acts just like the iroute problem on the server though.

                    I had to set mode server; could that cause these types of problems?

                    1 Reply Last reply Reply Quote 0
                    • jimpJ
                      jimp Rebel Alliance Developer Netgate
                      last edited by

                      I think I've got this sorted for sure, it works for me in a Peer-to-Peer (SSL/TLS) setup with iroutes between two VM networks.

                      https://rcs.pfsense.org/projects/pfsense/repos/mainline/commits/0cc5ab42269a5aa1588ac2f862b0201917569ada

                      Either try that change or wait for the next new snapshot and then try it again.

                      Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

                      Need help fast? Netgate Global Support!

                      Do not Chat/PM for help!

                      1 Reply Last reply Reply Quote 0
                      • S
                        skorge
                        last edited by

                        Had to wait a while to be able to upgrade the remote side, but I am happy to say that it is working just fine after updating to the latest snapshot on both sides.

                        Thanks for your help jimp!

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