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

offloading OpenVPN using external gateway

Scheduled Pinned Locked Moved Routing and Multi WAN
70 Posts 2 Posters 13.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.
  • C
    chrispazz @bingo600
    last edited by Jan 4, 2021, 7:19 PM

    @bingo600 latest try was with google IP as you asked....am I wrong?

    1 Reply Last reply Reply Quote 0
    • B
      bingo600 @chrispazz
      last edited by Jan 4, 2021, 7:20 PM

      @chrispazz said in offloading OpenVPN using external gateway:

      @bingo600 said in offloading OpenVPN using external gateway:

      What does as host mean (you mean you ping the raspi) ?

      HOST is the captured Host address

      We need to see the mac addresses in those packets.

      b8:27:eb:8e:00:43 is Raspi MAC Address
      02:11:32:25:4e:f9 is pfsense WAN interface

      Full detailed trace is the following:

      192.168.5.1 > 192.168.5.99: ICMP echo request, id 43267, seq 28884, length 9
      19:51:42.213831 b8:27:eb:8e:00:43 > 02:11:32:25:4e:f9, ethertype IPv4 (0x0800), length 60: (tos 0x0, ttl 64, id 59852, offset 0, flags [none], proto ICMP (1), length 29)
      192.168.5.99 > 192.168.5.1: ICMP echo reply, id 43267, seq 28884, length 9
      19:51:42.723672 02:11:32:25:4e:f9 > b8:27:eb:8e:00:43, ethertype IPv4 (0x0800), length 43: (tos 0x0, ttl 64, id 65165, offset 0, flags [none], proto ICMP (1), length 29)

      What command did you use on the iMAC to make this trace , where it goes to the Raspi (but raspi as destination)

      If you find my answer useful - Please give the post a 👍 - "thumbs up"

      pfSense+ 23.05.1 (ZFS)

      QOTOM-Q355G4 Quad Lan.
      CPU  : Core i5 5250U, Ram : 8GB Kingston DDR3LV 1600
      LAN  : 4 x Intel 211, Disk  : 240G SAMSUNG MZ7L3240HCHQ SSD

      C 1 Reply Last reply Jan 4, 2021, 7:21 PM Reply Quote 0
      • C
        chrispazz @bingo600
        last edited by Jan 4, 2021, 7:21 PM

        @bingo600 only "ping www.google.it".

        But in first trace I used the raspi as Host capture.

        C B 2 Replies Last reply Jan 4, 2021, 7:27 PM Reply Quote 0
        • C
          chrispazz @chrispazz
          last edited by chrispazz Jan 4, 2021, 7:28 PM Jan 4, 2021, 7:27 PM

          Ok this is interesting:

          I added a floating rule with no filters but "out" direction and in advanced settings with the Raspi Gateway.

          With this, the connection go correctly thru the Raspi VPN.

          So, the external gateway thur pfsense is working correctly.
          I have to understand why when using a firewall rule in a specific interface is not using Raspi gateway

          1 Reply Last reply Reply Quote 0
          • B
            bingo600 @chrispazz
            last edited by bingo600 Jan 4, 2021, 7:30 PM Jan 4, 2021, 7:28 PM

            @chrispazz
            I don't think the first capture is showing the : ping www.google.it
            I think something is pinging the Raspi ... And it's prob the gw-monitor.
            I was fooled there

            It was my mistake concluding the policy route was working, in the first trace we saw.

            A working policy route package would be like the last one you made (google ip)
            but with the RasPI MAC instead of the ISP-Router MAC

            So at the moment pfSense policy routing is NOT working as intended

            If you find my answer useful - Please give the post a 👍 - "thumbs up"

            pfSense+ 23.05.1 (ZFS)

            QOTOM-Q355G4 Quad Lan.
            CPU  : Core i5 5250U, Ram : 8GB Kingston DDR3LV 1600
            LAN  : 4 x Intel 211, Disk  : 240G SAMSUNG MZ7L3240HCHQ SSD

            C 1 Reply Last reply Jan 4, 2021, 7:31 PM Reply Quote 0
            • C
              chrispazz @bingo600
              last edited by chrispazz Jan 4, 2021, 7:35 PM Jan 4, 2021, 7:31 PM

              @bingo600 Yes but the rules is matched because it is logged in the pfsense firewall log.
              It only is ignoring the gateway in advanced settings....
              The same rule in "floating" mode is working...

              C 1 Reply Last reply Jan 4, 2021, 7:41 PM Reply Quote 0
              • C
                chrispazz @chrispazz
                last edited by Jan 4, 2021, 7:41 PM

                This is really strange, now again the floating rule is not working.
                I will try to reboot pfsense....

                B 1 Reply Last reply Jan 4, 2021, 7:45 PM Reply Quote 0
                • B
                  bingo600 @chrispazz
                  last edited by Jan 4, 2021, 7:45 PM

                  @chrispazz said in offloading OpenVPN using external gateway:

                  This is really strange, now again the floating rule is not working.
                  I will try to reboot pfsense....

                  Noooooo
                  Don't say you're using floating rules , i asked about that

                  If you find my answer useful - Please give the post a 👍 - "thumbs up"

                  pfSense+ 23.05.1 (ZFS)

                  QOTOM-Q355G4 Quad Lan.
                  CPU  : Core i5 5250U, Ram : 8GB Kingston DDR3LV 1600
                  LAN  : 4 x Intel 211, Disk  : 240G SAMSUNG MZ7L3240HCHQ SSD

                  C 1 Reply Last reply Jan 4, 2021, 7:47 PM Reply Quote 0
                  • C
                    chrispazz @bingo600
                    last edited by Jan 4, 2021, 7:47 PM

                    @bingo600
                    I was NOT using floating rules at all.

                    I tried now to see the same rule in floating mode if it works with raspi gateway or not and with floating IT IS working.....

                    Why in floating mode use the specified gateway and in normal not floating mode ignores it?

                    C B 2 Replies Last reply Jan 4, 2021, 7:53 PM Reply Quote 0
                    • C
                      chrispazz @chrispazz
                      last edited by chrispazz Jan 4, 2021, 7:53 PM Jan 4, 2021, 7:53 PM

                      This post is deleted!
                      1 Reply Last reply Reply Quote 0
                      • B
                        bingo600 @chrispazz
                        last edited by Jan 4, 2021, 7:53 PM

                        @chrispazz

                        It shouldn't
                        But AFAIK floating rules are always parsed first.

                        If you find my answer useful - Please give the post a 👍 - "thumbs up"

                        pfSense+ 23.05.1 (ZFS)

                        QOTOM-Q355G4 Quad Lan.
                        CPU  : Core i5 5250U, Ram : 8GB Kingston DDR3LV 1600
                        LAN  : 4 x Intel 211, Disk  : 240G SAMSUNG MZ7L3240HCHQ SSD

                        C 1 Reply Last reply Jan 4, 2021, 8:00 PM Reply Quote 0
                        • C
                          chrispazz @bingo600
                          last edited by Jan 4, 2021, 8:00 PM

                          @bingo600 Should I open a bug in pfsense? 😧

                          B 1 Reply Last reply Jan 4, 2021, 8:05 PM Reply Quote 0
                          • B
                            bingo600 @chrispazz
                            last edited by Jan 4, 2021, 8:05 PM

                            @chrispazz
                            Not yet

                            I think one of the mods / gurus should review this thread first.

                            @stephenw10 @johnpoz
                            Any words here

                            If you find my answer useful - Please give the post a 👍 - "thumbs up"

                            pfSense+ 23.05.1 (ZFS)

                            QOTOM-Q355G4 Quad Lan.
                            CPU  : Core i5 5250U, Ram : 8GB Kingston DDR3LV 1600
                            LAN  : 4 x Intel 211, Disk  : 240G SAMSUNG MZ7L3240HCHQ SSD

                            1 Reply Last reply Reply Quote 0
                            • B
                              bingo600
                              last edited by Jan 4, 2021, 8:24 PM

                              I don't hope we have been bitten by NAT 😰
                              The policy rule rule was on a LAN ingress interface , looking at the HOST Source IP of the iMAC. And the Logging showed a match.

                              Technically the source IP is later being set to the pfSense WAN IP, but the new gateway ought to have been set before that.

                              I'm officialy confused 🤕

                              I do hope your policy rule was the top most rule , and that you didn't have any rules before that on that interface , else we'we been chasing ghosts all night.

                              A permit ICMP any any before the policy rule would have made that "ghost"

                              /Bingo

                              If you find my answer useful - Please give the post a 👍 - "thumbs up"

                              pfSense+ 23.05.1 (ZFS)

                              QOTOM-Q355G4 Quad Lan.
                              CPU  : Core i5 5250U, Ram : 8GB Kingston DDR3LV 1600
                              LAN  : 4 x Intel 211, Disk  : 240G SAMSUNG MZ7L3240HCHQ SSD

                              C 1 Reply Last reply Jan 4, 2021, 8:26 PM Reply Quote 0
                              • C
                                chrispazz @bingo600
                                last edited by Jan 4, 2021, 8:26 PM

                                @bingo600 eheheh

                                Yes, the policy rule is the first one on that interface.

                                C 1 Reply Last reply Jan 5, 2021, 8:39 AM Reply Quote 0
                                • C
                                  chrispazz @chrispazz
                                  last edited by Jan 5, 2021, 8:39 AM

                                  I tried some other tests but no luck. I am officially unable to apply that gateway

                                  😧

                                  1 Reply Last reply Reply Quote 0
                                  64 out of 70
                                  • First post
                                    64/70
                                    Last post
                                  Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                                    This community forum collects and processes your personal information.
                                    consent.not_received