Hak5 1823 – Finalizing the OpenVPN-AS Home Server Build

Follow up on our quick and dirty OpenVPN guide from last week with the final setup to getting it online and accessible from outside your LAN.

Download HD  |   Download MP4
1. Setup Static IP
2. Configure Xen to start VM automatically
3. Port Forward

==Set Static IP==

#SSH Into the Ubuntu OpenVPN Server
ssh [email protected]

#Edit the network interfaces file and replace auto eth0 dhcp with static config
sudo nano /etc/network/interfaces
auto eth0
iface eth0 inet static

==Configure XenServer to automatically start the VM==

#SSH into your XenServer
ssh [email protected]

#Determine the server/pool UUID
xe pool-list

#Enable autostart on the pool
xe pool-param-set uuid=[your UUID] other-config:auto_poweron=true

#Determine the Virtual Machine UUID
xe vm-list

#Set the Virtual Machine to power on boot
xe vm-param-set uuid=[your UUID] other-config:auto_poweron=true

==Configure Port Forwarding for the OpenVPN-AS Server==
# Port forward TCP 443, UDP 1194, and TCP 943 as per your router

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>