>I don't know the openvpn data format, but if 45000054 is some sort of openvtun identifier, you/we/I could add some code that checked for 00000002 followed by 45000054 and then strip the first u_int_32 from the packet and go on. Perhaps a --remote-is-bsd or something similar?
Openvpn doesn't look at the tunnel data... it just encrypts, decrypts, forwards etc. The 45000054 is the beginning of the IP header of the packets going over the tunnel. Yeah, an option might be right thing. So --remote-is-bsd would remove the AF_INET from incoming packets and add them to outgoing packets. A bit of a kludge. >I wonder if Vtun ever did work between linux-vs-bsd ? I doubt it. I did a grep on vtun sources for AF_INET and didn't find any usage other than the usual places. James