Recently bought Connect-4 NIC.
Setuped server on FreeBSD 12.1 loaded drivers etc
When trying to NAT with PF some networks, got massive errors:
all udp x.x.248.6:62551 (x.x.0.134:37110) → 188.8.131.52:53 SINGLE:NO_TRAFFIC
if i change upstrean nic to re0 all working fine.
Are there any bugs or known problems with solutions on problem?
Thank you for posting your inquiry to the Mellanox Community.
To our knowledge, there are no known issues with FreeBSD 12.1 supporting Mellanox Adapters.
Likely, this is a PF configuration issue. This link is very helpful in regards to configuring PF:
Also, the FreeBSD PF mailing list is an excellent community resource available to you for troubleshooting configuration-specific questions:
Mellanox Technical Support
I solved this issue. In general problem wasnt in PF, but in routing caused by drivers.
It wasnt enough to do:
Those drivers allow NIC to work as internet clinet, without possibility to NAT, and route traffic
Problem was solved after rebuilding kernel with options below