Skip to content

Commit

Permalink
πŸ•Š
Browse files Browse the repository at this point in the history
πŸ•Š
  • Loading branch information
keyiflerolsun committed Aug 7, 2024
1 parent df49a33 commit b933f1c
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,24 +59,23 @@ konsol.print(modem.dsl_reset())
konsol.print(modem.get_static_routes())

konsol.print(modem.add_static_route(comment="bakalim.io", host="145.53.10.71", interface="Wireguard2"))
konsol.print(modem.del_static_route(comment="bakalim.io", host="145.53.10.71", interface="Wireguard2"))

konsol.print(modem.add_static_route(comment="bakalim.io", network="145.53.10.0", mask="255.255.255.0", interface="Wireguard2"))

konsol.print(modem.add_static_route(comment="bakalim.io", network="145.53.10.0", mask="255.255.255.0", interface="Wireguard2"))
konsol.print(modem.del_static_route(comment="bakalim.io", network="145.53.10.0", mask="255.255.255.0", interface="Wireguard2"))

konsol.print(modem.del_static_route(comment="bakalim.io", host="145.53.10.71", interface="Wireguard2"))


for route in modem.get_static_routes():
konsol.log(route)
if route.get("comment") == "bakalim.io":
konsol.print(modem.del_static_route(**route))


konsol.print(modem.add_route_with_asn(asn=32934, interface="Wireguard2"))
konsol.print(modem.add_route_with_domain(domain="x.com", interface="Wireguard2"))


konsol.print(modem.add_route_with_domain(domain="x.com", interface="Wireguard2"))
konsol.print(modem.add_route_with_asn(asn=32934, interface="Wireguard2"))
```

## πŸ’Έ Bağış Yap
Expand Down

0 comments on commit b933f1c

Please sign in to comment.