Netbsd vpn gateway basic setup

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

Jump to: navigation, search

vanilla install

---

vi /root/.profile

  1. change the path for the pkgsrc repo to:

ftp://ftp.netbsd.org/pub/pkgsrc/packages/NetBSD/i386/5.0/All/

---

vi /etc/ifconfig.fxp0

192.168.0.20x netmask 255.255.255.0 media ethernet

---

vi /etc/sysctl.conf

net.inet.ip.forwarding=1

---

vi /etc/resolv.conf

nameserver 192.168.0.1

---

vi /etc/rc.conf

hostname=xxxxxxx
defaultroute=192.168.0.1

Personal tools
Namespaces

Variants
Actions
Navigation
Members
Toolbox