How to Setup OpenVPN on Ubuntu 14.04

Below is a setup for OpenVPN on Ubuntu 14.04. With some modifications, it should work on most flavors of Linux ┬áMuch of the setup came from https://help.ubuntu.com/14.04/serverguide/openvpn.html with a couple of modifications to work out any bugs I ran across. Keep in mind this is for a routed VPN. A good explanation of routed vs […]

Create DHCP Server in VyOS

set service dhcp-server shared-network-name <NAME-OF-NETWORK> subnet <SUBNET-ADDR/MASK> start <IP-ADDRESS-OF-START>stop <IP-ADDRESS-OF-STOP> You may want to set up static leases which you can do by using set service dhcp-server shared-network-name <NAME-OF-NETWORK> subnet <SUBNET-ADDR/MASK> static-mapping <NAME-OF-RULE> mac-address <MAC-ADDRESS-OF-MACHINE> set service dhcp-server shared-network-name <NAME-OF-NETWORK> subnet <SUBNET-ADDR/MASK> static-mapping <NAME-OF-RULE [same as above]> ip-address <IP-ADDRESS-OF-MACHINE> You can also set the default […]