From 78d3ecef569c0a5faee3bbab1fdea13f1ef56604 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Sun, 13 Oct 2013 18:26:30 +0200 Subject: [PATCH] config for MacOS X --- README.md | 7 +++++++ tinc-down | 2 +- tinc-up-template | 5 ++++- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0f3e62b..84a9dab 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,13 @@ Archlinux pacman -S openresolv git tinc +MacOS X +------- + + ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)" + brew install tuntap # WICHTIG: Befehle, welche das Programm am Ende + # ausspuckt befolgen und Rechner neustarten + brew install tinc Konfiguration ------------- diff --git a/tinc-down b/tinc-down index 3a7de53..2eb641c 100755 --- a/tinc-down +++ b/tinc-down @@ -1,3 +1,3 @@ #!/bin/sh ifconfig $INTERFACE down -printf "nameserver 10.42.16.1\ndomain vpn" | resolvconf -d "$INTERFACE.inet" +#printf "nameserver 10.42.16.1\ndomain vpn" | resolvconf -d "$INTERFACE.inet" diff --git a/tinc-up-template b/tinc-up-template index 24b070a..f58e1af 100755 --- a/tinc-up-template +++ b/tinc-up-template @@ -1,5 +1,8 @@ #!/bin/sh ifconfig $INTERFACE netmask 255.255.0.0 - # printf "nameserver 10.42.16.1\nsearch vpn" | resolvconf -a "$INTERFACE.inet" + +# MacOS X +#ifconfig $INTERFACE 10.42.0.0 mtu 1500 netmask 255.255.0.0 +#route add -net 10.42.0.0 255.255.0.0