Page 1 of 1

Installation on OmniOS

Posted: Fri Dec 25, 2020 9:18 am
by petrocelli1966
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

Re: Installation on OmniOS

Posted: Fri Dec 25, 2020 4:22 pm
by TinCanTech
petrocelli1966 wrote:
Fri Dec 25, 2020 9:18 am
When I tried to enable the service, I get an error that /dev/tun cannot be found
That would be a packaging error by OmniOS, OpenVPN requires the tun driver.

Re: Installation on OmniOS[Solved]

Posted: Fri Dec 25, 2020 11:51 pm
by petrocelli1966
Thanks for that response. Someone on that side assisted also. I needed to install the driver separately with pkg install pkg:/driver/tuntap