Add implementation for stop command
This adds implementation for stopping the tunnel via the `Stop` command.
This commit is contained in:
parent
29d2bfae3f
commit
c4c342dc8b
5 changed files with 81 additions and 38 deletions
3
Makefile
3
Makefile
|
|
@ -17,6 +17,9 @@ daemon:
|
|||
start:
|
||||
@$(cargo_norm) start
|
||||
|
||||
stop:
|
||||
@$(cargo_norm) stop
|
||||
|
||||
test-dns:
|
||||
@sudo route delete 8.8.8.8
|
||||
@sudo route add 8.8.8.8 -interface $(tun)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue