tuto3: show wg IP
This commit is contained in:
parent
acb495dce2
commit
ad0a3eaf2b
|
@ -363,6 +363,7 @@ files:
|
||||||
- path: /etc/init.d/500-showip.sh
|
- path: /etc/init.d/500-showip.sh
|
||||||
contents: |
|
contents: |
|
||||||
#!/bin/sh
|
#!/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/router ip -c a show dev eth0
|
||||||
nsenter -n/run/netns/wks1 ip -c a show dev eth1
|
nsenter -n/run/netns/wks1 ip -c a show dev eth1
|
||||||
exit 0
|
exit 0
|
||||||
|
|
Reference in New Issue
Block a user