Here is an example set of configuration files for OpenBSD. VPN locked to rdomain 1. Virtual machine as a client on the network. Gateway host over ethernet. See https://man.openbsd.org/.