[Level 2] Setup OpenVPN in OpenSolaris
Down pkgutil from Blastwave:
http://sourceforge.net/projects/pkgutil/
Prepare environment:
# unzip ./pkgutil-2.0.zip
# mkdir -p /var/opt/csw/
# ln -s `pwd` /var/opt/csw/
Install OpenVPN:
# /opt/csw/bin/pkgutil -i tun tap
# /opt/csw/bin/pkgutil -i openvpn
Modify config:
# cd /etc/csw/openvpn
# cp ./openvpn.conf.CSW ./openvpn.conf
# vi ./openvpn.conf
Setting vpn client:
client dev tun proto tcp remote vpn.server.hostname 1194 resolv-retry infinite nobind persist-key persist-tun ca ca.crt cert client1.crt key client1.key comp-lzo verb 3
Wish this helps.
regards,
Stanley Huang
Comments
Post a Comment