SHARE
TWEET

/etc/config/network

AndiTails Feb 26th, 2014 204 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. config interface 'loopback'
  2.         option ifname 'lo'
  3.         option proto 'static'
  4.         option ipaddr '127.0.0.1'
  5.         option netmask '255.0.0.0'
  6.  
  7. config interface 'lan'
  8.         option type 'bridge'
  9.         option proto 'static'
  10.         option ipaddr '192.168.1.1'
  11.         option netmask '255.255.255.0'
  12.         option _orig_ifname 'eth0.1 wlan0'
  13.         option _orig_bridge 'true'
  14.         option ifname 'eth0.1 tun'
  15.  
  16. config interface 'wan'
  17.         option ifname 'eth0.2'
  18.         option proto 'dhcp'
  19.         option broadcast '1'
  20.         option peerdns '0'
  21.         option dns '208.67.220.220 208.67.222.222'
  22.         option metric '10'
  23.  
  24. config switch
  25.         option name 'rtl8366rb'
  26.         option reset '1'
  27.         option enable_vlan '1'
  28.  
  29. config switch_vlan
  30.         option device 'rtl8366rb'
  31.         option vlan '1'
  32.         option ports '1 2 3 4 5t'
  33.  
  34. config switch_vlan
  35.         option device 'rtl8366rb'
  36.         option vlan '2'
  37.         option ports '0 5t'
  38.  
  39. config interface 'vpn'
  40.         option ifname 'tun0'
  41.         option _orig_ifname 'tun0'
  42.         option _orig_bridge 'false'
  43.         option proto 'dhcp'
  44.         option metric '20'
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top