Installation on OmniOS
Posted: Fri Dec 25, 2020 9:18 am
I installed OpenVPN on OmniOS using the joyent packages. I seem to be stuck at the tun interface. I thought the tun driver would be installed with the OpenVPN app. When I tried to enable the service, I get an error that /dev/tun cannot be found. SO I tried setting up a tun0 interface with the commands below but still no go. I still get the error. Not sure what to do. Anyone have any ideas?
# dladm create-iptun -T ipv4 -a local=192.10.0.24,remote=10.9.0.1 tun0
# ipadm create-if tun0
# ipadm create-addr -T static -a local=10.9.0.1,remote=10.9.0.2 tun0/v4
# dladm create-iptun -T ipv4 -a local=192.10.0.24,remote=10.9.0.1 tun0
# ipadm create-if tun0
# ipadm create-addr -T static -a local=10.9.0.1,remote=10.9.0.2 tun0/v4