Hak5 -- Cyber Security Education, Inspiration, News & Community since 2005:
____________________________________________
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.
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
address 10.73.31.152
netmask 255.255.255.0
gateway 10.73.31.1
==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==
https://10.73.31.240:943/admin
Port forward TCP 443, UDP 1194, and TCP 943 as per your router
~-~~-~~~-~~-~
Please watch: "Bash Bunny Primer - Hak5 2225"
• Bash Bunny Primer - Hak5 2225
~-~~-~~~-~~-~
____________________________________________
Founded in 2005, Hak5's mission is to advance the InfoSec industry. We do this through our award winning educational podcasts, leading pentest gear, and inclusive community – where all hackers belong.
Watch video Finalizing the OpenVPN-AS Home Server Build - Hak5 1823 online without registration, duration hours minute second in high quality. This video was added by user Hak5 23 July 2015, don't forget to share it with your friends and acquaintances, it has been viewed on our site 25,387 once and liked it 367 people.