tuto3: show wg IP

This commit is contained in:
nemunaire 2019-05-03 18:44:20 +02:00 committed by Pierre-Olivier Mercier
parent acb495dce2
commit ad0a3eaf2b

View File

@ -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