Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ADMIN@RT-AC68U-85F8:/jffs/scripts#
- ADMIN@RT-AC68U-85F8:/jffs/scripts#
- ADMIN@RT-AC68U-85F8:/jffs/scripts#
- ADMIN@RT-AC68U-85F8:/jffs/scripts#
- ADMIN@RT-AC68U-85F8:/jffs/scripts# ./Debug_VPN.sh
- (Debug_VPN.sh): 14199 VPN Client 4 route Table: 254
- 172.21.22.0/23 dev tun12 proto kernel scope link src 172.21.23.20
- 172.21.20.0/23 dev tun11 proto kernel scope link src 172.21.21.163
- default via 192.168.1.1 dev eth0
- (Debug_VPN.sh): 14199 VPN Client 1 route Table: 111
- 172.21.22.0/23 dev tun12 proto kernel scope link src 172.21.23.20
- 172.21.20.0/23 dev tun11 proto kernel scope link src 172.21.21.163
- 0.0.0.0/1 via 172.21.20.1 dev tun11
- 128.0.0.0/1 via 172.21.20.1 dev tun11
- default via 172.21.20.1 dev tun11
- (Debug_VPN.sh): 14199 ***ERROR*** RPDB rules will be misdirected for VPN Client 1
- (Debug_VPN.sh): 14199 VPN Client 2 route Table: 112
- 172.21.22.0/23 dev tun12 proto kernel scope link src 172.21.23.20
- 172.21.20.0/23 dev tun11 proto kernel scope link src 172.21.21.163
- 0.0.0.0/1 via 172.21.20.1 dev tun11
- 128.0.0.0/1 via 172.21.20.1 dev tun11
- default via 172.21.22.1 dev tun12
- (Debug_VPN.sh): 14199 ***ERROR*** RPDB rules will be misdirected for VPN Client 2
- (Debug_VPN.sh): 14199 RPDB rules:
- 0: from all lookup local
- 10101: from 192.168.2.79 lookup ovpnc1
- 10102: from 192.168.2.4 lookup ovpnc1
- 10103: from 192.168.2.15 lookup ovpnc1
- 10301: from 192.168.2.181 lookup ovpnc2
- 10302: from 192.168.2.3 lookup ovpnc2
- 32766: from all lookup main
- 32767: from all lookup default
- (Debug_VPN.sh): 14199 Count of active RPDB rules:
- 3 lookup ovpnc1
- 2 lookup ovpnc2
- ADMIN@RT-AC68U-85F8:/jffs/scripts#
- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
- ADMIN@RT-AC68U-85F8:/jffs/scripts#
- ADMIN@RT-AC68U-85F8:/jffs/scripts# ./ChkVPNConfig.sh
- (ChkVPNConfig.sh): 13387 v1.01b3 VPN Selective Routing configuration checker .....
- (ChkVPNConfig.sh): 13387 WAN (main) route Table: 254
- 172.21.22.0/23 dev tun12 proto kernel scope link src 172.21.23.20
- 172.21.20.0/23 dev tun11 proto kernel scope link src 172.21.21.163
- default via 192.168.1.1 dev eth0
- (ChkVPNConfig.sh): 13387 VPN Client 1 route Table: 111
- 172.21.22.0/23 dev tun12 proto kernel scope link src 172.21.23.20
- 172.21.20.0/23 dev tun11 proto kernel scope link src 172.21.21.163
- 0.0.0.0/1 via 172.21.20.1 dev tun11
- 128.0.0.0/1 via 172.21.20.1 dev tun11
- default via 172.21.20.1 dev tun11
- (ChkVPNConfig.sh): 13387 **Warning '0.0.0.0/1 via 172.21.20.1 dev tun11 ' found in VPN Client 1
- (ChkVPNConfig.sh): 13387 VPN Client 2 route Table: 112
- 172.21.22.0/23 dev tun12 proto kernel scope link src 172.21.23.20
- 172.21.20.0/23 dev tun11 proto kernel scope link src 172.21.21.163
- 0.0.0.0/1 via 172.21.20.1 dev tun11
- 128.0.0.0/1 via 172.21.20.1 dev tun11
- default via 172.21.22.1 dev tun12
- (ChkVPNConfig.sh): 13387 **Warning '0.0.0.0/1 via 172.21.20.1 dev tun11 ' found in VPN Client 2
- (ChkVPNConfig.sh): 13387 RPDB rules:
- 0: from all lookup local
- 10101: from 192.168.2.79 lookup ovpnc1
- 10102: from 192.168.2.4 lookup ovpnc1
- 10103: from 192.168.2.15 lookup ovpnc1
- 10301: from 192.168.2.181 lookup ovpnc2
- 10302: from 192.168.2.3 lookup ovpnc2
- 32766: from all lookup main
- 32767: from all lookup default
- (ChkVPNConfig.sh): 13387 Count of active RPDB rules:
- 3 lookup ovpnc1
- 2 lookup ovpnc2
- (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
- ADMIN@RT-AC68U-85F8:/jffs/scripts# ls -l
- -rwxr-xr-x 1 ADMIN root 7332 Feb 21 22:01 ChkVPNConfig.sh
- -rwxr-xr-x 1 ADMIN root 2920 Feb 20 21:50 Debug_VPN.sh
- ADMIN@RT-AC68U-85F8:/jffs/scripts# dos2unix Debug_VPN.sh
- ADMIN@RT-AC68U-85F8:/jffs/scripts#
- ADMIN@RT-AC68U-85F8:/jffs/scripts# ./Debug_VPN.sh
- (Debug_VPN.sh): 13619 VPN Client 4 route Table: 254
- 172.21.22.0/23 dev tun12 proto kernel scope link src 172.21.23.20
- 172.21.20.0/23 dev tun11 proto kernel scope link src 172.21.21.163
- default via 192.168.1.1 dev eth0
- (Debug_VPN.sh): 13619 VPN Client 1 route Table: 111
- 172.21.22.0/23 dev tun12 proto kernel scope link src 172.21.23.20
- 172.21.20.0/23 dev tun11 proto kernel scope link src 172.21.21.163
- 0.0.0.0/1 via 172.21.20.1 dev tun11
- 128.0.0.0/1 via 172.21.20.1 dev tun11
- default via 172.21.20.1 dev tun11
- (Debug_VPN.sh): 13619 ***ERROR*** RPDB rules will be misdirected for VPN Client 1
- (Debug_VPN.sh): 13619 VPN Client 2 route Table: 112
- 172.21.22.0/23 dev tun12 proto kernel scope link src 172.21.23.20
- 172.21.20.0/23 dev tun11 proto kernel scope link src 172.21.21.163
- 0.0.0.0/1 via 172.21.20.1 dev tun11
- 128.0.0.0/1 via 172.21.20.1 dev tun11
- default via 172.21.22.1 dev tun12
- (Debug_VPN.sh): 13619 ***ERROR*** RPDB rules will be misdirected for VPN Client 2
- (Debug_VPN.sh): 13619 RPDB rules:
- 0: from all lookup local
- 10101: from 192.168.2.79 lookup ovpnc1
- 10102: from 192.168.2.4 lookup ovpnc1
- 10103: from 192.168.2.15 lookup ovpnc1
- 10301: from 192.168.2.181 lookup ovpnc2
- 10302: from 192.168.2.3 lookup ovpnc2
- 32766: from all lookup main
- 32767: from all lookup default
- (Debug_VPN.sh): 13619 Count of active RPDB rules:
- 3 lookup ovpnc1
- 2 lookup ovpnc2
- ADMIN@RT-AC68U-85F8:/jffs/scripts#
- ADMIN@RT-AC68U-85F8:/jffs/scripts#
Advertisement
Add Comment
Please, Sign In to add comment