- apt-get install openvpn openssl udev
- wget http://dtcsupport.gplhost.com/openvpn-setup.tar.gz
- tar -xvzf openvpn-setup.tar.gz
- cp openvpn-setup/* /etc/openvpn/
- cd /etc/openvpn
- ./setup
- cp client.ovpn client-config/
- mkdir -p /dev/net
- mknod /dev/net/tun c 10 200
- chmod 600 /dev/net/tun
- iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o venet0 -j MASQUERADE
- (if any error the solve by install iptables module)
- modprobe ipt_MASQUERADE
How to install OpenVPN on Linux? Print
- 0
Was this answer helpful?
Related Articles
How to Create Full backup for an account visa SSH
CPanel: Backup and Restore a Domain Account via SSHPlease Rate us Sometimes there is a need...
How create a backup of a MySQL database using SSH
Please Rate us
Log into your account on our server and issue the following command:...
mysql user with the name already exists. how to delete
Please Rate us Solving an issue of
Extracting tarball................... DoneExtracting...
Optimize and repair all mysql databases at once
There is a really handy MySql utility called mysqlcheck that allows you to do a number of...
How to disable SSH login for the root user?
Please Rate us
To disable root login, open the main ssh configuration file...