Difference between revisions of "Netbsd vpn gateway basic setup"

From ENTS
Jump to: navigation, search
Line 4: Line 4:
  
 
192.168.0.20x netmask 255.255.255.0 media ethernet
 
192.168.0.20x netmask 255.255.255.0 media ethernet
 +
 +
---
  
 
vi /etc/sysctl.conf  
 
vi /etc/sysctl.conf  
  
 
net.inet.ip.forwarding=1
 
net.inet.ip.forwarding=1
 +
 +
---
  
 
vi /etc/resolv.conf
 
vi /etc/resolv.conf
  
 
nameserver 192.168.0.1
 
nameserver 192.168.0.1
 +
 +
---
 +
 +
vi /etc/rc.conf
 +
 +
hostname=xxxxxxx<br />
 +
defaultroute=192.168.0.1

Revision as of 16:40, 30 July 2013

vanilla install

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