Difference between revisions of "Netbsd vpn gateway basic setup"

From ENTS
Jump to: navigation, search
(One intermediate revision by one user not shown)
Line 12: Line 12:
 
vi /etc/ifconfig.fxp0
 
vi /etc/ifconfig.fxp0
  
192.168.0.20x netmask 255.255.255.0 media ethernet
+
192.168.0.20x netmask 255.255.255.0  
  
 
---
 
---
Line 24: Line 24:
 
vi /etc/resolv.conf
 
vi /etc/resolv.conf
  
nameserver 192.168.0.1
+
nameserver 64.59.184.13
  
 
---
 
---
Line 30: Line 30:
 
vi /etc/rc.conf
 
vi /etc/rc.conf
  
hostname=xxxxxxx<br />
+
hostname=chaosvpn{1,2}.440bx.net<br />
 
defaultroute=192.168.0.1
 
defaultroute=192.168.0.1

Revision as of 18:05, 30 July 2013

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/

---

vi /etc/ifconfig.fxp0

192.168.0.20x 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

Personal tools
Namespaces

Variants
Actions
Navigation
Members
Toolbox