jonathanholvey

network

Dec 12th, 2018
140
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 globals 'globals'
  8. option ula_prefix 'fdd7:c5cc:bac4::/48'
  9.  
  10. config interface 'lan'
  11. option type 'bridge'
  12. option ifname 'eth0.1'
  13. option proto 'static'
  14. option netmask '255.255.255.0'
  15. option ip6assign '60'
  16. option ipaddr '192.168.0.1'
  17.  
  18. config interface 'wan'
  19. option ifname 'eth1'
  20. option proto 'pppoe'
  21. option username 'username'
  22. option password 'password'
  23. option ipv6 'auto'
  24. option peerdns '0'
  25. option dns '8.8.8.8 8.8.4.4'
  26.  
  27. config interface 'wan6'
  28. option ifname 'eth1'
  29. option proto 'dhcpv6'
  30.  
  31. config switch
  32. option name 'switch0'
  33. option reset '1'
  34. option enable_vlan '1'
  35. option blinkrate '2'
  36.  
  37. config switch_vlan
  38. option device 'switch0'
  39. option vlan '1'
  40. option ports '0 1 2 3 5t'
  41.  
  42. config switch_port
  43. option device 'switch0'
  44. option port '1'
  45. option led '6'
  46.  
  47. config switch_port
  48. option device 'switch0'
  49. option port '2'
  50. option led '9'
  51.  
  52. config switch_port
  53. option device 'switch0'
  54. option port '5'
  55. option led '2'
  56.  
  57. config interface 'vpnclient'
  58. option ifname 'tun0'
  59. option proto 'none'
  60.  
  61. config interface 'vpnserver'
  62. option ifname 'tun1'
  63. option proto 'none'
  64. option auto '1'
RAW Paste Data