tinc-up 506 B

1234567891011
  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. # Give it the right ip and netmask. Remember, the subnet of the
  8. # tap device must be larger than that of the individual Subnets
  9. # as defined in the host configuration file!
  10. ifconfig $INTERFACE 192.168.1.1 netmask 255.255.0.0