How to create a simple tap0 interface using nmcli



I was wondering how can I create a tap interface using nmcli?  Search again and again witouth luck...

Otherwise I use currently:

$ sudo openvpn --mktun --dev tap0 --user `id -un`

$ sudo ip addr add 0.0.0.0/24 dev tap0

$ sudo ip link set tap0 up promisc on


or simply:

$ sudo tunctl -d tap0


Thnx in advance!


- vin




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]