Guest User

Untitled

a guest
Jan 21st, 2018
611
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /etc/config/vpn-policy-routing:
  2.  
  3. config vpn-policy-routing 'config'
  4. option enabled '1'
  5. option verbosity '2'
  6. option ipv6_enabled '0'
  7. option dnsmasq_enabled '1'
  8. option strict_enforcement '1'
  9. option udp_proto_enabled '0'
  10. option forward_chain_enabled '0'
  11. option input_chain_enabled '0'
  12. option output_chain_enabled '0'
  13. option ipset_enabled '1'
  14.  
  15. config policy
  16. option comment 'Xubuntu15'
  17. option local_addresses '7.22.4.8'
  18. option interface 'wan'
  19.  
  20. Output of /etc/init.d/vpn-policy-routing reload:
  21.  
  22. Creating table 'lan/br-lan/7.22.4.1' []
  23. Creating table 'vpn0/tun0/10.4.0.1' []
  24. Routing 'Xubuntu15' via wan []
  25. vpn-policy-routing 0.0.1-14 started on lan/br-lan/7.22.4.1 vpn0/tun0/10.4.0.1 with errors []
  26. ERROR: policy 'Xubuntu15' has an unknown interface: wan!
  27.  
  28. Section of system log (shows name of wan interface):
  29.  
  30. Sun Jan 21 14:54:35 2018 daemon.notice netifd: Interface 'wan' is now up
  31. Sun Jan 21 14:54:36 2018 daemon.info odhcpd[1309]: Using a RA lifetime of 0 seconds on br-lan
  32. Sun Jan 21 14:54:36 2018 kern.info kernel: [ 16.857046] br-lan: port 1(eth0) entered forwarding state
  33. Sun Jan 21 14:54:36 2018 kern.info kernel: [ 16.927479] br-lan: port 2(wlan0) entered forwarding state
  34. Sun Jan 21 14:54:38 2018 user.notice vpn-policy-routing [1382]: Creating table 'vpn0//7.22.4.1' [✓]
  35. Sun Jan 21 14:54:38 2018 user.notice vpn-policy-routing [1382]: Routing 'Xubuntu15' via wan [✗]
  36. Sun Jan 21 14:54:38 2018 user.notice vpn-policy-routing [1382]: service started on lan/br-lan/7.22.4.1 vpn0//7.22.4.1 with errors [✗]
  37. Sun Jan 21 14:54:38 2018 user.notice vpn-policy-routing [1382]: ERROR: policy 'Xubuntu15' has an unknown interface: wan!
  38. Sun Jan 21 14:54:38 2018 user.notice vpn-policy-routing [1382]: service monitoring interfaces: lan vpn0 [✓]
RAW Paste Data