Netbsd vpn gateway basic setup

From ENTS
Revision as of 20:08, 30 July 2013 by Tim (Talk | contribs)

Jump to: navigation, search

vanilla install

---

vi /root/.profile

change the path for the pkgsrc repo to:
ftp://ftp.netbsd.org/pub/pkgsrc/packages/NetBSD/i386/5.0/All/

pkg_add lynx
pkg_add pico

---

vi /etc/ifconfig.fxp0

192.168.0.20{1,2} netmask 255.255.255.0

---

vi /etc/sysctl.conf

net.inet.ip.forwarding=1

---

vi /etc/resolv.conf

nameserver 64.59.184.13

---

vi /etc/rc.conf

hostname=chaosvpn{1,2}.440bx.net
defaultroute=192.168.0.1
sshd=yes

---

useradd -m -G wheel chaosvpn_user
passwd chaosvpn_user

Personal tools
Namespaces

Variants
Actions
Navigation
Members
Toolbox