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

    Solved TCP/UDP: Incoming packet rejected from [AF_INET]

    Scheduled Pinned Locked Moved OpenVPN
    5 Posts 3 Posters 18.2k 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.
    • doguibnuD
      doguibnu
      last edited by doguibnu

      hello!

      After create a vpn we receive this error:

      TCP/UDP: Incoming packet rejected from [AF_INETexpected peer address: [AF_INET]public-IP(200....):1194 (allow this incoming source address/port by removing --remote or adding --float)

      Someone know how to fix this?
      What is wrong config?

      Thanks for attention and help

      Douglas

      1 Reply Last reply Reply Quote 0
      • PippinP
        Pippin
        last edited by

        Add the directive
        float
        to server and client(s) config.
        Possibly there`s a check box available in the server and/or client export package.

        I gloomily came to the ironic conclusion that if you take a highly intelligent person and give them the best possible, elite education, then you will most likely wind up with an academic who is completely impervious to reality.
        Halton Arp

        1 Reply Last reply Reply Quote 0
        • doguibnuD
          doguibnu
          last edited by

          Hello All
          The error was on Firewall-Wan-Rule Protocol for openvpn. The wizard selected the "any" protocol. So, change to "UDP"
          Now works fine

          Thanks attention and help

          Douglas

          1 Reply Last reply Reply Quote 0
          • PippinP
            Pippin
            last edited by

            That`s odd .....

            I gloomily came to the ironic conclusion that if you take a highly intelligent person and give them the best possible, elite education, then you will most likely wind up with an academic who is completely impervious to reality.
            Halton Arp

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

              what version of pfsense are you running - I thought there was a bug report about firewall rules created for openvpn being incorrect.. But that was corrected..

              https://redmine.pfsense.org/issues/8391

              But it was using tcp4 vs tcp.. I just ran through the wizard and created a new udp server and it did not create any rule.. It created correct UDP with port and ipv4

              0_1527778650571_udpopenvpnwizard.png

              Running 2.4.3p1

              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
              • First post
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.