I would like to set a point to point interface encapsulating packets via
UDP.

It would be like a point to point wireguard but:
 - without authentication (I can set permissions in PF on source ip)
 - without encryption (content is already encrypted by source application)

I can't use GIF or GRE interfaces because I'm behind NAT with only TCP/UDP
capabilities.

With linux it's possible with fou-gue interfaces, but I see that in OpenBSD
fou is not implemented.

So, I installed socat with pkg_add and tried to do like this:
http://www.dest-unreach.org/socat/doc/socat-tun.html

Anyway, I see this:
# socat UDP:1.2.3.4:11443 TUN:192.168.255.2/24,up
2023/11/11 14:11:27 socat[4504] E unknown device/address "TUN"

Do you think it's possible to add TUN/TAP support in socat?

Reply via email to