Skip to content

Instantly share code, notes, and snippets.

@yuuichi-fujioka
Created August 17, 2015 02:51
Show Gist options
  • Save yuuichi-fujioka/6d5aa37b97c7c88460c0 to your computer and use it in GitHub Desktop.
Save yuuichi-fujioka/6d5aa37b97c7c88460c0 to your computer and use it in GitHub Desktop.
Create VPN Server with NAT
HubCreate MY_HOME
Hub MY_HOME
SecureNatEnable
SecureNatHostSet /MAC:none /IP:192.168.254.1 /MASK:255.255.255.0
NatEnable
DhcpEnable
DhcpSet /START:192.168.254.10 /END:192.168.254.200 /EXPIRE:2000000 /MASK:255.255.255.0 /GW:192.168.254.1 /DNS:8.8.8.8 /DNS2:none /DOMAIN:none /LOG:yes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment