config for MacOS X
This commit is contained in:
parent
f18d10cbed
commit
78d3ecef56
@ -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
|
||||||
-------------
|
-------------
|
||||||
|
@ -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"
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user