Guest User

Untitled

a guest
Sep 9th, 2017
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.13 KB | None | 0 0
  1. root@Router:/etc/config# cat /proc/cpuinfo
  2. system type : Qualcomm Atheros QCA9558 ver 1 rev 0
  3. machine : TP-LINK Archer C7
  4. processor : 0
  5. cpu model : MIPS 74Kc V5.0
  6. BogoMIPS : 358.80
  7. wait instruction : yes
  8. microsecond timers : yes
  9. tlb_entries : 32
  10. extra interrupt vector : yes
  11. hardware watchpoint : yes, count: 4, address/irw mask: [0x0ffc, 0x0ffc, 0x0ffb, 0x0ffb]
  12. isa : mips1 mips2 mips32r1 mips32r2
  13. ASEs implemented : mips16 dsp dsp2
  14. shadow register sets : 1
  15. kscratch registers : 0
  16. package : 0
  17. core : 0
  18. VCED exceptions : not available
  19. VCEI exceptions : not available
  20.  
  21. root@Router:/etc/config# cat firewall
  22.  
  23. config defaults
  24. option syn_flood '1'
  25. option input 'ACCEPT'
  26. option output 'ACCEPT'
  27. option forward 'REJECT'
  28.  
  29. config zone
  30. option name 'lan'
  31. list network 'lan'
  32. option input 'ACCEPT'
  33. option output 'ACCEPT'
  34. option forward 'ACCEPT'
  35.  
  36. config zone
  37. option name 'wan'
  38. list network 'wan'
  39. list network 'wan6'
  40. option input 'REJECT'
  41. option output 'ACCEPT'
  42. option forward 'REJECT'
  43. option masq '1'
  44. option mtu_fix '1'
  45.  
  46. config forwarding
  47. option src 'lan'
  48. option dest 'wan'
  49.  
  50. config rule
  51. option name 'Allow-DHCP-Renew'
  52. option src 'wan'
  53. option proto 'udp'
  54. option dest_port '68'
  55. option target 'ACCEPT'
  56. option family 'ipv4'
  57.  
  58. config rule
  59. option name 'Allow-Ping'
  60. option src 'wan'
  61. option proto 'icmp'
  62. option icmp_type 'echo-request'
  63. option family 'ipv4'
  64. option target 'ACCEPT'
  65.  
  66. config rule
  67. option name 'Allow-IGMP'
  68. option src 'wan'
  69. option proto 'igmp'
  70. option family 'ipv4'
  71. option target 'ACCEPT'
  72.  
  73. config rule
  74. option name 'Allow-DHCPv6'
  75. option src 'wan'
  76. option proto 'udp'
  77. option src_ip 'fc00::/6'
  78. option dest_ip 'fc00::/6'
  79. option dest_port '546'
  80. option family 'ipv6'
  81. option target 'ACCEPT'
  82.  
  83. config rule
  84. option name 'Allow-MLD'
  85. option src 'wan'
  86. option proto 'icmp'
  87. option src_ip 'fe80::/10'
  88. list icmp_type '130/0'
  89. list icmp_type '131/0'
  90. list icmp_type '132/0'
  91. list icmp_type '143/0'
  92. option family 'ipv6'
  93. option target 'ACCEPT'
  94.  
  95. config rule
  96. option name 'Allow-ICMPv6-Input'
  97. option src 'wan'
  98. option proto 'icmp'
  99. list icmp_type 'echo-request'
  100. list icmp_type 'echo-reply'
  101. list icmp_type 'destination-unreachable'
  102. list icmp_type 'packet-too-big'
  103. list icmp_type 'time-exceeded'
  104. list icmp_type 'bad-header'
  105. list icmp_type 'unknown-header-type'
  106. list icmp_type 'router-solicitation'
  107. list icmp_type 'neighbour-solicitation'
  108. list icmp_type 'router-advertisement'
  109. list icmp_type 'neighbour-advertisement'
  110. option limit '1000/sec'
  111. option family 'ipv6'
  112. option target 'ACCEPT'
  113.  
  114. config rule
  115. option name 'Allow-ICMPv6-Forward'
  116. option src 'wan'
  117. option dest '*'
  118. option proto 'icmp'
  119. list icmp_type 'echo-request'
  120. list icmp_type 'echo-reply'
  121. list icmp_type 'destination-unreachable'
  122. list icmp_type 'packet-too-big'
  123. list icmp_type 'time-exceeded'
  124. list icmp_type 'bad-header'
  125. list icmp_type 'unknown-header-type'
  126. option limit '1000/sec'
  127. option family 'ipv6'
  128. option target 'ACCEPT'
  129.  
  130. config rule
  131. option name 'Allow-IPSec-ESP'
  132. option src 'wan'
  133. option dest 'lan'
  134. option proto 'esp'
  135. option target 'ACCEPT'
  136.  
  137. config rule
  138. option name 'Allow-ISAKMP'
  139. option src 'wan'
  140. option dest 'lan'
  141. option dest_port '500'
  142. option proto 'udp'
  143. option target 'ACCEPT'
  144.  
  145. config include
  146. option path '/etc/firewall.user'
  147.  
  148. root@Router:/etc/config# cat network
  149.  
  150. config interface 'loopback'
  151. option ifname 'lo'
  152. option proto 'static'
  153. option ipaddr '127.0.0.1'
  154. option netmask '255.0.0.0'
  155.  
  156. config globals 'globals'
  157. option ula_prefix 'fd78:acd3:3796::/48'
  158.  
  159. config interface 'lan'
  160. option type 'bridge'
  161. option ifname 'eth1'
  162. option proto 'static'
  163. option ipaddr '192.168.1.1'
  164. option netmask '255.255.255.0'
  165. option ip6assign '60'
  166.  
  167. config interface 'wan'
  168. option ifname 'eth0'
  169. option proto 'dhcp'
  170.  
  171. config interface 'wan6'
  172. option ifname 'eth0'
  173. option proto 'dhcpv6'
  174.  
  175. config switch
  176. option name 'switch0'
  177. option reset '1'
  178. option enable_vlan '1'
  179.  
  180. config switch_vlan
  181. option device 'switch0'
  182. option vlan '1'
  183. option ports '2 3 4 5 0'
  184.  
  185. config switch_vlan
  186. option device 'switch0'
  187. option vlan '2'
  188. option ports '1 6'
Advertisement
Add Comment
Please, Sign In to add comment