Changes

From SME Server
Jump to navigationJump to search
313 bytes removed ,  13:50, 8 September 2008
m
no edit summary
Line 57: Line 57:  
  cd /etc/openvpn
 
  cd /etc/openvpn
 
  mkdir -p /var/log/openvpn
 
  mkdir -p /var/log/openvpn
  wget -N http://sme.swerts-knudsen.com/downloads/OpenVPN/server.conf
+
  wget http://sme.swerts-knudsen.dk/downloads/OpenVPN/OpenVPN.tgz
wget -N http://sme.swerts-knudsen.com/downloads/OpenVPN/logoff.sh
+
  tar xzf OpenVPN.tgz
  wget -N http://sme.swerts-knudsen.com/downloads/OpenVPN/logoff_user.pl
  −
wget -N http://sme.swerts-knudsen.com/downloads/OpenVPN/validate.sh
  −
wget -N http://sme.swerts-knudsen.com/downloads/OpenVPN/validate_user.pl
  −
wget -N http://sme.swerts-knudsen.com/downloads/OpenVPN/openvpn.up
   
  chmod 755 *.pl
 
  chmod 755 *.pl
 
  chmod 755 *.sh
 
  chmod 755 *.sh
 
  chmod 700 *.up
 
  chmod 700 *.up
 +
rm -rf OpenVPN.tgz
    
Now you need to make a few changes to the /etc/openvpn/server.conf. Change the domain name listed as ''yourdomain.com'', ensure that the DNS server pushed to the clients is correct (dhcp-option DNS 192.168.1.1) and lastly the route net pushed (route 192.168.1.0).
 
Now you need to make a few changes to the /etc/openvpn/server.conf. Change the domain name listed as ''yourdomain.com'', ensure that the DNS server pushed to the clients is correct (dhcp-option DNS 192.168.1.1) and lastly the route net pushed (route 192.168.1.0).
177

edits

Navigation menu