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

    Route via openvpn needs a few hits

    Scheduled Pinned Locked Moved OpenVPN
    3 Posts 2 Posters 1.1k 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.
    • L
      lsense
      last edited by

      Hello,
      I set up a tun VPN in mode "Remote Access".

      local LAN–--pfSense----[vnp link]–--remote LAN

      From an host in local LAN I can ping a host in remote LAN but not the first time I type ping in terminal.. not the second.. but the third works fine!
      The same thing with SSH, only the 3rd attempt works! I didn't check but I think port 80 behaves the same but maybe the browser hides it auto requesting the page again.

      On the pfsense box I added a firewall rule to set the gateway for traffic destined to remote LAN but  tcpdump shows the packets are not routed via the vpn link in the first and second tries.

      thanks in advance for any suggestions.

      p.s. pfSense 2.3.1

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

        makes no sense if there is route to send it down the tunnel its should always go down the tunnel.  Is the tunnel not up when you do your first ping?

        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.8, 24.11

        1 Reply Last reply Reply Quote 0
        • L
          lsense
          last edited by

          no, the tunnel keeps running fine. that's the weird thing.
          if I ping or ssh from pfSense it has no problems. But from "Local LAN" it works the 3rd try.  ???

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