using chroot /etc/openvpn/jail

# creating a security jail

# add directories
sudo mkdir /etc/openvpn/jail/
sudo mkdir /etc/openvpn/jail/tmp/
sudo cp /etc/openvpn/update-resolv-conf /etc/openvpn/jail/

# in your server.conf script
# add to server script
sudo nano /etc/openvpn/server.conf

chroot /etc/openvpn/jail

# and modify in server script
status /etc/openvpn/openvpn-status.log

# test server starts
sudo /etc/init.d/openvpn restart

Advertisements
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s