Guest User

Untitled

a guest
Feb 21st, 2018
209
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.43 KB | None | 0 0
  1. ADMIN@RT-AC68U-85F8:/jffs/scripts#
  2. ADMIN@RT-AC68U-85F8:/jffs/scripts#
  3. ADMIN@RT-AC68U-85F8:/jffs/scripts#
  4. ADMIN@RT-AC68U-85F8:/jffs/scripts#
  5. ADMIN@RT-AC68U-85F8:/jffs/scripts# ./Debug_VPN.sh
  6.  
  7. (Debug_VPN.sh): 14199 VPN Client 4 route Table: 254
  8.  
  9. 172.21.22.0/23 dev tun12 proto kernel scope link src 172.21.23.20
  10. 172.21.20.0/23 dev tun11 proto kernel scope link src 172.21.21.163
  11. default via 192.168.1.1 dev eth0
  12.  
  13. (Debug_VPN.sh): 14199 VPN Client 1 route Table: 111
  14.  
  15. 172.21.22.0/23 dev tun12 proto kernel scope link src 172.21.23.20
  16. 172.21.20.0/23 dev tun11 proto kernel scope link src 172.21.21.163
  17. 0.0.0.0/1 via 172.21.20.1 dev tun11
  18. 128.0.0.0/1 via 172.21.20.1 dev tun11
  19. default via 172.21.20.1 dev tun11
  20.  
  21. (Debug_VPN.sh): 14199 ***ERROR*** RPDB rules will be misdirected for VPN Client 1
  22.  
  23.  
  24.  
  25. (Debug_VPN.sh): 14199 VPN Client 2 route Table: 112
  26.  
  27. 172.21.22.0/23 dev tun12 proto kernel scope link src 172.21.23.20
  28. 172.21.20.0/23 dev tun11 proto kernel scope link src 172.21.21.163
  29. 0.0.0.0/1 via 172.21.20.1 dev tun11
  30. 128.0.0.0/1 via 172.21.20.1 dev tun11
  31. default via 172.21.22.1 dev tun12
  32.  
  33. (Debug_VPN.sh): 14199 ***ERROR*** RPDB rules will be misdirected for VPN Client 2
  34.  
  35.  
  36.  
  37. (Debug_VPN.sh): 14199 RPDB rules:
  38.  
  39. 0: from all lookup local
  40. 10101: from 192.168.2.79 lookup ovpnc1
  41. 10102: from 192.168.2.4 lookup ovpnc1
  42. 10103: from 192.168.2.15 lookup ovpnc1
  43. 10301: from 192.168.2.181 lookup ovpnc2
  44. 10302: from 192.168.2.3 lookup ovpnc2
  45. 32766: from all lookup main
  46. 32767: from all lookup default
  47.  
  48. (Debug_VPN.sh): 14199 Count of active RPDB rules:
  49.  
  50. 3 lookup ovpnc1
  51. 2 lookup ovpnc2
  52.  
  53. ADMIN@RT-AC68U-85F8:/jffs/scripts#
  54.  
  55.  
  56. ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  57.  
  58. ADMIN@RT-AC68U-85F8:/jffs/scripts#
  59. ADMIN@RT-AC68U-85F8:/jffs/scripts# ./ChkVPNConfig.sh
  60.  
  61. (ChkVPNConfig.sh): 13387 v1.01b3 VPN Selective Routing configuration checker .....
  62.  
  63.  
  64. (ChkVPNConfig.sh): 13387 WAN (main) route Table: 254
  65.  
  66. 172.21.22.0/23 dev tun12 proto kernel scope link src 172.21.23.20
  67. 172.21.20.0/23 dev tun11 proto kernel scope link src 172.21.21.163
  68. default via 192.168.1.1 dev eth0
  69.  
  70. (ChkVPNConfig.sh): 13387 VPN Client 1 route Table: 111
  71.  
  72. 172.21.22.0/23 dev tun12 proto kernel scope link src 172.21.23.20
  73. 172.21.20.0/23 dev tun11 proto kernel scope link src 172.21.21.163
  74. 0.0.0.0/1 via 172.21.20.1 dev tun11
  75. 128.0.0.0/1 via 172.21.20.1 dev tun11
  76. default via 172.21.20.1 dev tun11
  77.  
  78. (ChkVPNConfig.sh): 13387 **Warning '0.0.0.0/1 via 172.21.20.1 dev tun11 ' found in VPN Client 1
  79.  
  80.  
  81. (ChkVPNConfig.sh): 13387 VPN Client 2 route Table: 112
  82.  
  83. 172.21.22.0/23 dev tun12 proto kernel scope link src 172.21.23.20
  84. 172.21.20.0/23 dev tun11 proto kernel scope link src 172.21.21.163
  85. 0.0.0.0/1 via 172.21.20.1 dev tun11
  86. 128.0.0.0/1 via 172.21.20.1 dev tun11
  87. default via 172.21.22.1 dev tun12
  88.  
  89. (ChkVPNConfig.sh): 13387 **Warning '0.0.0.0/1 via 172.21.20.1 dev tun11 ' found in VPN Client 2
  90.  
  91.  
  92. (ChkVPNConfig.sh): 13387 RPDB rules:
  93.  
  94. 0: from all lookup local
  95. 10101: from 192.168.2.79 lookup ovpnc1
  96. 10102: from 192.168.2.4 lookup ovpnc1
  97. 10103: from 192.168.2.15 lookup ovpnc1
  98. 10301: from 192.168.2.181 lookup ovpnc2
  99. 10302: from 192.168.2.3 lookup ovpnc2
  100. 32766: from all lookup main
  101. 32767: from all lookup default
  102.  
  103. (ChkVPNConfig.sh): 13387 Count of active RPDB rules:
  104.  
  105. 3 lookup ovpnc1
  106. 2 lookup ovpnc2
  107.  
  108.  
  109. (ChkVPNConfig.sh): 13387 **Warning for multiple ACTIVE concurrent VPN Clients UNIQUE ports are advised - Port 443:UDP is configured for use by several VPN Clients
  110.  
  111.  
  112. ADMIN@RT-AC68U-85F8:/jffs/scripts# ls -l
  113. -rwxr-xr-x 1 ADMIN root 7332 Feb 21 22:01 ChkVPNConfig.sh
  114. -rwxr-xr-x 1 ADMIN root 2920 Feb 20 21:50 Debug_VPN.sh
  115. ADMIN@RT-AC68U-85F8:/jffs/scripts# dos2unix Debug_VPN.sh
  116. ADMIN@RT-AC68U-85F8:/jffs/scripts#
  117. ADMIN@RT-AC68U-85F8:/jffs/scripts# ./Debug_VPN.sh
  118.  
  119. (Debug_VPN.sh): 13619 VPN Client 4 route Table: 254
  120.  
  121. 172.21.22.0/23 dev tun12 proto kernel scope link src 172.21.23.20
  122. 172.21.20.0/23 dev tun11 proto kernel scope link src 172.21.21.163
  123. default via 192.168.1.1 dev eth0
  124.  
  125. (Debug_VPN.sh): 13619 VPN Client 1 route Table: 111
  126.  
  127. 172.21.22.0/23 dev tun12 proto kernel scope link src 172.21.23.20
  128. 172.21.20.0/23 dev tun11 proto kernel scope link src 172.21.21.163
  129. 0.0.0.0/1 via 172.21.20.1 dev tun11
  130. 128.0.0.0/1 via 172.21.20.1 dev tun11
  131. default via 172.21.20.1 dev tun11
  132.  
  133. (Debug_VPN.sh): 13619 ***ERROR*** RPDB rules will be misdirected for VPN Client 1
  134.  
  135.  
  136.  
  137. (Debug_VPN.sh): 13619 VPN Client 2 route Table: 112
  138.  
  139. 172.21.22.0/23 dev tun12 proto kernel scope link src 172.21.23.20
  140. 172.21.20.0/23 dev tun11 proto kernel scope link src 172.21.21.163
  141. 0.0.0.0/1 via 172.21.20.1 dev tun11
  142. 128.0.0.0/1 via 172.21.20.1 dev tun11
  143. default via 172.21.22.1 dev tun12
  144.  
  145. (Debug_VPN.sh): 13619 ***ERROR*** RPDB rules will be misdirected for VPN Client 2
  146.  
  147.  
  148.  
  149. (Debug_VPN.sh): 13619 RPDB rules:
  150.  
  151. 0: from all lookup local
  152. 10101: from 192.168.2.79 lookup ovpnc1
  153. 10102: from 192.168.2.4 lookup ovpnc1
  154. 10103: from 192.168.2.15 lookup ovpnc1
  155. 10301: from 192.168.2.181 lookup ovpnc2
  156. 10302: from 192.168.2.3 lookup ovpnc2
  157. 32766: from all lookup main
  158. 32767: from all lookup default
  159.  
  160. (Debug_VPN.sh): 13619 Count of active RPDB rules:
  161.  
  162. 3 lookup ovpnc1
  163. 2 lookup ovpnc2
  164.  
  165. ADMIN@RT-AC68U-85F8:/jffs/scripts#
  166. ADMIN@RT-AC68U-85F8:/jffs/scripts#
Advertisement
Add Comment
Please, Sign In to add comment