Add whatever is helpful
This commit is contained in:
@@ -31,15 +31,18 @@ class Routing(val upstream: String?, val downstream: String, ownerAddress: InetA
|
|||||||
"quiet while ip rule del priority 17900; do done")
|
"quiet while ip rule del priority 17900; do done")
|
||||||
|
|
||||||
fun dump() = loggerSu("""
|
fun dump() = loggerSu("""
|
||||||
|echo iptables
|
|echo logcat-su
|
||||||
|sh -c 'exec -a iptables-save iptables'
|
|logcat -d
|
||||||
|echo
|
|echo
|
||||||
|echo iptables -t nat
|
|echo iptables
|
||||||
|sh -c 'exec -a iptables-save iptables -t nat'
|
|sh -c 'exec -a iptables-save iptables'
|
||||||
|echo
|
|echo
|
||||||
|echo ip rule
|
|echo iptables -t nat
|
||||||
|ip rule
|
|sh -c 'exec -a iptables-save iptables -t nat'
|
||||||
""".trimMargin())
|
|echo
|
||||||
|
|echo ip rule
|
||||||
|
|ip rule
|
||||||
|
""".trimMargin())
|
||||||
}
|
}
|
||||||
|
|
||||||
class InterfaceNotFoundException : IOException() {
|
class InterfaceNotFoundException : IOException() {
|
||||||
|
|||||||
Reference in New Issue
Block a user