Next: tinc top, Previous: tinc commands, Up: Controlling tinc [Contents][Index]

### 6.4 tinc examples

Examples of some commands:

    tinc -n vpn dump graph | circo -Txlib
    tinc -n vpn pcap | tcpdump -r -
    tinc -n vpn top

Example of configuring tinc using the tinc command:

    tinc -n vpn init foo
    tinc -n vpn add Subnet 192.168.1.0/24
    tinc -n vpn add bar.Address bar.example.com
    tinc -n vpn add ConnectTo bar
    tinc -n vpn export | gpg --clearsign | mail -s "My config" vpnmaster@example.com