• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
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.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.
  • D
    doguibnu
    last edited by doguibnu May 31, 2018, 2:16 PM May 29, 2018, 8:01 PM

    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
    • P
      Pippin
      last edited by May 30, 2018, 5:49 PM

      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
      • D
        doguibnu
        last edited by May 31, 2018, 2:23 PM

        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
        • P
          Pippin
          last edited by May 31, 2018, 2:30 PM

          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
          • J
            johnpoz LAYER 8 Global Moderator
            last edited by johnpoz May 31, 2018, 2:58 PM May 31, 2018, 2:57 PM

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

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