Make sure myport is set correctly when running with Port = 0.
[tinc] / doc / sample-config / tinc-down
1 #!/bin/sh
2 # This file closes down the tap device.
3
4 ifconfig $INTERFACE down