github.com/dsnet/udptunnel (go): udptunnel is a daemon that sets up a point-to-point virtual private network between two hosts:  This only supports Linux.  The udptunnel is setup by running it on two different hosts, one in a server configuration, and the other in client configuration. The difference between a server or client is determined by the NetworkAddress field in the configuration. If the address has an empty host portion, then the daemon operates in server mode. Otherwise, the daemon operates in client mode and will use the host to dial the server.  Example server config:  Example client config:  See the TunnelConfig struct for more details.  TUN traffic is sent ad-verbatim between the two endpoints via unencrypted UDP traffic. The intended use case is to run a secure protocol (like SSH; see github.com/dsnet/sshtunnel) on top of this simple VPN. In order to prevent attackers from connecting to other locally binded sockets on the endpoints, a simple port filter is built-in to restrict IP traffic to only the specified ports. Users of udptunnel should also setup iptable rules as a secondary measure to restrict malicious traffic.
Keywords: nat|networking|tunnel|udp|vpn