• basic minimal Debian Jessie install (netinst alpha 1)
  • 10 GB logical volume - 10 GB root (discard,noatime), remaining swap
> /etc/motd
aptitude -> purge libboost-iostreams1.49.0
aptitude -> install systemd-sysv (tell it to remove sysvinit-core to resolve dependency)
reboot
aptitude -> install openssh-server (deselect xauth)
aptitude -> install psmisc screen less patch dnsutils lsof tcpdump time strace bzip2
aptitude -> install unattended-upgrades
dpkg-reconfigure -plow unattended-upgrades

aptitude -> install dnsmasq
aptitude -> install openvpn (deselect opensc)
  • files in /etc/openvpn
  • files in /etc/dnsmasq.d
  • edit /etc/network/interfaces to enable ip masquerading for eth0
  • update /etc/resolv.conf and /etc/resolv.conf-dnsmasq and /etc/hosts-dnsmasq
echo net.ipv4.ip_forward=1 > /etc/sysctl.d/ip_forward.conf && sysctl --system
systemctl enable dnsmasq && systemctl start dnsmasq
/etc/init.d/openvpn start

TODO: Get OpenVPN running using systemd instead of init.d script. See: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=700888

computer/vpn_vm_setup_notes.txt · Last modified: 2014/03/26 22:00 by tdobes
Recent changes RSS feed Driven by DokuWiki Valid XHTML 1.0 Valid CSS