Advertisement
Guest User

Untitled

a guest
Feb 16th, 2019
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.08 KB | None | 0 0
  1. {
  2. "interfaces":{
  3. "pseudo-ethernet":{
  4. "peth0":{
  5. "address":[
  6. "192.168.1.10/24"
  7. ],
  8. "description":"Access to Vigor Modem",
  9. "link":[
  10. "eth0"
  11. ]
  12. }
  13. }
  14. },
  15. "openvpn":{
  16. "vtun0":{
  17. "firewall":{
  18. "in":{
  19. "name":"LAN_IN"
  20. },
  21. "local":{
  22. "name":"LAN_LOCAL"
  23. },
  24. "out":{
  25. "name":"LAN_OUT"
  26. }
  27. }
  28. }
  29. },
  30. "service":{
  31. "nat":{
  32. "rule":{
  33. "6000":{
  34. "destination":{
  35. "address":"192.168.1.0/24"
  36. },
  37. "outbound-interface":"peth0",
  38. "protocol":"all",
  39. "type":"masquerade"
  40. }
  41. }
  42. }
  43. },
  44. "system":{
  45. "task-scheduler":{
  46. "task":{
  47. "postprovision":{
  48. "executable":{
  49. "path":"/config/scripts/postprovision.sh"
  50. },
  51. "interval":"3m"
  52. }
  53. }
  54. }
  55. },
  56. "firewall":{
  57. "name":{
  58. "LAN_IN":{
  59. "default-action":"accept",
  60. "description":"packets from intranet",
  61. "rule":{
  62. "2001":{
  63. "action":"drop",
  64. "description":"Philipp Tab3",
  65. "protocol":"all",
  66. "source":{
  67. "mac-address":"1c:af:05:29:ca:94"
  68. },
  69. "time":{
  70. "starttime":"21:30:00",
  71. "stoptime":"06:00:00",
  72. "weekdays":"Mon,Tue,Wed,Thu,Sun"
  73. }
  74. },
  75. "2002":{
  76. "action":"drop",
  77. "description":"Amelie A3",
  78. "protocol":"all",
  79. "source":{
  80. "mac-address":"60:a4:d0:4a:43:5f"
  81. },
  82. "time":{
  83. "starttime":"22:30:00",
  84. "stoptime":"06:00:00",
  85. "weekdays":"Mon,Tue,Wed,Thu,Sun"
  86. }
  87. },
  88. "2003":{
  89. "action":"drop",
  90. "description":"Amelie S4",
  91. "protocol":"all",
  92. "source":{
  93. "mac-address":"cc:3a:61:5d:ac:01"
  94. },
  95. "time":{
  96. "starttime":"21:30:00",
  97. "stoptime":"06:00:00",
  98. "weekdays":"Mon,Tue,Wed,Thu,Sun"
  99. }
  100. },
  101. "2004":{
  102. "action":"drop",
  103. "description":"LG NB",
  104. "protocol":"all",
  105. "source":{
  106. "mac-address":"00:24:2b:1c:0d:48"
  107. },
  108. "time":{
  109. "starttime":"21:00:00",
  110. "stoptime":"06:00:00",
  111. "weekdays":"Mon,Tue,Wed,Thu,Sun"
  112. }
  113. },
  114. "2005":{
  115. "action":"drop",
  116. "description":"Sony NB Lan",
  117. "protocol":"all",
  118. "source":{
  119. "mac-address":"f0:bf:97:60:23:8c"
  120. },
  121. "time":{
  122. "starttime":"21:00:00",
  123. "stoptime":"06:00:00",
  124. "weekdays":"Mon,Tue,Wed,Thu,Sun"
  125. }
  126. },
  127. "2006":{
  128. "action":"drop",
  129. "description":"Sony NB Wlan",
  130. "protocol":"all",
  131. "source":{
  132. "mac-address":"a0:88:b4:11:85:5c"
  133. },
  134. "time":{
  135. "starttime":"21:00:00",
  136. "stoptime":"06:00:00",
  137. "weekdays":"Mon,Tue,Wed,Thu,Sun"
  138. }
  139. },
  140. "2007":{
  141. "action":"drop",
  142. "description":"S8 Amelie",
  143. "protocol":"all",
  144. "source":{
  145. "mac-address":"04:d6:aa:eb:fa:7b"
  146. },
  147. "time":{
  148. "starttime":"21:30:00",
  149. "stoptime":"06:00:00",
  150. "weekdays":"Mon,Tue,Wed,Thu,Sun"
  151. }
  152. },
  153. "2008":{
  154. "action":"drop",
  155. "description":"S8 Philipp",
  156. "protocol":"all",
  157. "source":{
  158. "mac-address":"30:07:4d:a5:8c:ae"
  159. },
  160. "time":{
  161. "starttime":"21:30:00",
  162. "stoptime":"06:00:00",
  163. "weekdays":"Mon,Tue,Wed,Thu,Sun"
  164. }
  165. },
  166. "4001":{
  167. "action":"drop",
  168. "description":"Philipp Tab3",
  169. "protocol":"all",
  170. "source":{
  171. "mac-address":"1c:af:05:29:ca:94"
  172. },
  173. "time":{
  174. "starttime":"23:00:00",
  175. "stoptime":"06:00:00",
  176. "weekdays":"Fri,Sat"
  177. }
  178. },
  179. "4002":{
  180. "action":"drop",
  181. "description":"Amelie A3",
  182. "protocol":"all",
  183. "source":{
  184. "mac-address":"60:a4:d0:4a:43:5f"
  185. },
  186. "time":{
  187. "starttime":"23:00:00",
  188. "stoptime":"06:00:00",
  189. "weekdays":"Fri,Sat"
  190. }
  191. },
  192. "4003":{
  193. "action":"drop",
  194. "description":"Amelie S4",
  195. "protocol":"all",
  196. "source":{
  197. "mac-address":"cc:3a:61:5d:ac:01"
  198. },
  199. "time":{
  200. "starttime":"23:00:00",
  201. "stoptime":"06:00:00",
  202. "weekdays":"Fri,Sat"
  203. }
  204. },
  205. "4004":{
  206. "action":"drop",
  207. "description":"LG NB",
  208. "protocol":"all",
  209. "source":{
  210. "mac-address":"00:24:2b:1c:0d:48"
  211. },
  212. "time":{
  213. "starttime":"23:00:00",
  214. "stoptime":"06:00:00",
  215. "weekdays":"Fri,Sat"
  216. }
  217. },
  218. "4005":{
  219. "action":"drop",
  220. "description":"Sony NB Lan",
  221. "protocol":"all",
  222. "source":{
  223. "mac-address":"f0:bf:97:60:23:8c"
  224. },
  225. "time":{
  226. "starttime":"23:00:00",
  227. "stoptime":"06:00:00",
  228. "weekdays":"Fri,Sat"
  229. }
  230. },
  231. "4006":{
  232. "action":"drop",
  233. "description":"Sony NB WLan",
  234. "protocol":"all",
  235. "source":{
  236. "mac-address":"a0:88:b4:11:85:5c"
  237. },
  238. "time":{
  239. "starttime":"23:00:00",
  240. "stoptime":"06:00:00",
  241. "weekdays":"Fri,Sat"
  242. }
  243. },
  244. "4007":{
  245. "action":"drop",
  246. "description":"S8 Amelie",
  247. "protocol":"all",
  248. "source":{
  249. "mac-address":"04:d6:aa:eb:fa:7b"
  250. },
  251. "time":{
  252. "starttime":"23:00:00",
  253. "stoptime":"06:00:00",
  254. "weekdays":"Fri,Sat"
  255. }
  256. },
  257. "4008":{
  258. "action":"drop",
  259. "description":"S8 Philipp",
  260. "protocol":"all",
  261. "source":{
  262. "mac-address":"30:07:4d:a5:8c:ae"
  263. },
  264. "time":{
  265. "starttime":"23:00:00",
  266. "stoptime":"06:00:00",
  267. "weekdays":"Fri,Sat"
  268. }
  269. }
  270. }
  271. }
  272. }
  273. }
  274. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement