i have been written a simple example of vpn in oberon: https://github.com/norayr/xoxovpn
the encryption part is xor now but it can be changed.
let's say with rsa.