Only add a reflexive address when we're sure it's working.
[tinc] / doc / sample-config / tinc-up
1 #!/bin/sh
2 # This file sets up the tap device.
3 # It gives you the freedom to do anything you want with it.
4 # Use the correct name for the tap device:
5 # The environment variable $INTERFACE is set to the right name
6 # on most platforms, but if it doesn't work try to set it manually.
7
8 # Give it the right ip and netmask. Remember, the subnet of the
9 # tap device must be larger than that of the individual Subnets
10 # as defined in the host configuration file!
11 ifconfig $INTERFACE 192.168.1.1 netmask 255.255.0.0