tuto3: show wg IP
This commit is contained in:
parent
acb495dce2
commit
ad0a3eaf2b
1 changed files with 1 additions and 0 deletions
|
@ -363,6 +363,7 @@ files:
|
|||
- path: /etc/init.d/500-showip.sh
|
||||
contents: |
|
||||
#!/bin/sh
|
||||
nsenter -n/run/netns/router ip -c a show dev wg0
|
||||
nsenter -n/run/netns/router ip -c a show dev eth0
|
||||
nsenter -n/run/netns/wks1 ip -c a show dev eth1
|
||||
exit 0
|
||||
|
|
Reference in a new issue