config for MacOS X

This commit is contained in:
Jörg Thalheim 2013-10-13 18:26:30 +02:00
parent f18d10cbed
commit 78d3ecef56
3 changed files with 12 additions and 2 deletions

View File

@ -12,6 +12,13 @@ Archlinux
pacman -S openresolv git tinc 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 Konfiguration
------------- -------------

View File

@ -1,3 +1,3 @@
#!/bin/sh #!/bin/sh
ifconfig $INTERFACE down 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"

View File

@ -1,5 +1,8 @@
#!/bin/sh #!/bin/sh
ifconfig $INTERFACE <DEINE IP> netmask 255.255.0.0 ifconfig $INTERFACE <DEINE IP> netmask 255.255.0.0
# printf "nameserver 10.42.16.1\nsearch vpn" | resolvconf -a "$INTERFACE.inet" # printf "nameserver 10.42.16.1\nsearch vpn" | resolvconf -a "$INTERFACE.inet"
# MacOS X
#ifconfig $INTERFACE <DEINE IP> 10.42.0.0 mtu 1500 netmask 255.255.0.0
#route add -net <DEINE IP> 10.42.0.0 255.255.0.0