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

    Can I route internet traffic from site B through site A via Ipsec VTI?

    Scheduled Pinned Locked Moved IPsec
    34 Posts 7 Posters 3.6k 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.
    • K
      Konstanti @gabacho4
      last edited by

      @ngoehring123 said

      Very strange.
      104 the rule blocks all outgoing traffic, but it should not work
      Try to do that is a floating rule for the IPSEC or VTI interface

      0_1552806119569_d3b6c3c5-1632-4b9e-9a02-4b7f4614d0d2-image.png

      1 Reply Last reply Reply Quote 0
      • G
        gabacho4 Rebel Alliance
        last edited by

        Done. See the below screenshots just to make sure I didn't do something wrong. No advance setting changes were made.

        0_1552807401617_Screenshot_20190317-102203.png

        0_1552807415542_Screenshot_20190317-102211.png

        1 Reply Last reply Reply Quote 0
        • G
          gabacho4 Rebel Alliance
          last edited by

          Still seeing the same issue flagging on the same rule.

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

            @ngoehring123 said in Can I route internet traffic from site B through site A via Ipsec VTI?:

            Still seeing the same issue flagging on the same rule.

            And if you check QUICK ?

            0_1552815954333_a998472a-acac-417f-9f6f-dd8880051798-image.png

            1 Reply Last reply Reply Quote 0
            • G
              gabacho4 Rebel Alliance
              last edited by

              Same deal - logs are on fire. I really wonder if I'm trying something that isn't fully implemented in pfsense/freebsd. I've done a ton of web searches and haven't been able to find anything that matches. Part of me wonders if site A forgets or cannot remember/track the connection and so when something comes back from the internet the router at site A it says "what's this request for 192.168.2.2?" and then blocks it or parts of it.

              K 2 Replies Last reply Reply Quote 0
              • K
                Konstanti @gabacho4
                last edited by Konstanti

                @ngoehring123

                The first time such see
                Show me what the command shows
                pfctl -sr | grep enc0
                (WebGUI /Diagnostics/Command Prompt/)

                1 Reply Last reply Reply Quote 0
                • G
                  gabacho4 Rebel Alliance
                  last edited by

                  pass out on enc0 all flags S/SA keep state label "IPsec internal host to host"
                  pass quick on enc0 inet all flags S/SA keep state label "USER_RULE"
                  pass in quick on enc0 inet all flags S/SA keep state label "USER_RULE"

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

                    @ngoehring123
                    And still try in floating rule put option TCP Flags - ANY Flags and State type None

                    0_1552822693658_51aa4678-b306-41e0-9c4a-dff2d33933ee-image.png

                    1 Reply Last reply Reply Quote 0
                    • G
                      gabacho4 Rebel Alliance
                      last edited by

                      So firewall is still having events however now the interface has changed from ipsec to IPSEC_VTI. ???

                      0_1552823544610_Screenshot_20190317-145104.png

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

                        @ngoehring123 said in Can I route internet traffic from site B through site A via Ipsec VTI?:

                        IPSEC_VTI

                        That's the same floating rule , but for IPSEC_VTI ?
                        There will be two identical rules , one for IPSEC and the other for VTI

                        1 Reply Last reply Reply Quote 0
                        • G
                          gabacho4 Rebel Alliance
                          last edited by

                          I just have the one floating rule for ipsec. When I made those last changes you suggested the firewall errors started saying IPSEC_VTI instead of ipsec. I had to disable those last changes as they resulted in me losing access to the remote router. Thank goodness for openvpn. 😊

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

                            @ngoehring123

                            Excuse. I didn't think there would be such a result. I have no more ideas )))

                            1 Reply Last reply Reply Quote 0
                            • G
                              gabacho4 Rebel Alliance
                              last edited by

                              No worries my friend. Your time and effort is greatly appreciated. Here's to hoping this gets sorted out soon. I'll be sure to share the fix with you. Thanks again!

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

                                @ngoehring123

                                I would consider an option of the usual IPSEC tunnel, through it too it is possible to pass a traffic outside.

                                https://docs.netgate.com/pfsense/en/latest/vpn/ipsec/routing-internet-traffic-through-a-site-to-site-ipsec-vpn.html

                                1 Reply Last reply Reply Quote 0
                                • G
                                  gabacho4 Rebel Alliance
                                  last edited by

                                  I had thought of doing that as well but really like the routed option more due to its flexibility and power. Perhaps @jimp has some tips for me.

                                  K 1 Reply Last reply Reply Quote 0
                                  • G
                                    gabacho4 Rebel Alliance
                                    last edited by

                                    The really weird thing now is that my phone says I have no internet connection yet here I am writing to you and browsing the internet. Something is ascew...

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

                                      @ngoehring123

                                      That's possible. I myself use the GRE over IPSEC option and do not want to switch to VTI yet.
                                      Will wait to hear other forum members

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

                                        @ngoehring123
                                        In this forum, I read that some remove the VTI interface, re-create the tunnel , and the problems are solved

                                        1 Reply Last reply Reply Quote 0
                                        • G
                                          gabacho4 Rebel Alliance
                                          last edited by

                                          I'll give that a go. After everything else, it won't hurt!

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

                                            Hi,
                                            I have the exactly same problem, did you get find any solution?

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