Difference between revisions of "ChaosVPN:MacOSXHowto"

From CCCHHWiki
Jump to: navigation, search
Line 27: Line 27:
 
----
 
----
  
You should now [[ChaosVPN:Howto#Mail_us_your_Infos|register with the chaosvpn team]].
+
You should now [[ChaosVPN:Howto#Mail_us_your_Infos|'''register''' with the chaosvpn team]].
  
 
The configuration file for chaosvpn is located in /usr/local/etc/tinc and may be edited by
 
The configuration file for chaosvpn is located in /usr/local/etc/tinc and may be edited by
Line 37: Line 37:
 
----
 
----
  
To run it, you can try
+
To '''run it''', you can try
  
 
  sudo ./chaosvpn
 
  sudo ./chaosvpn
  
 
Or create a LaunchAgent.
 
Or create a LaunchAgent.

Revision as of 01:06, 4 December 2013

How to install on OS X, as done on 10.9 (Mavericks)


Install tinc and tuntap via homebrew

brew install tinc tuntap

Download and install chaosvpn from git

git clone git://github.com/ryd/chaosvpn.git
cd chaosvpn
make
sudo make appleinstall

Configure chaosvpn, which works mostly as described in the General Howto

Note that the command to generate the keys is slightly different:

tinc --net=chaos --generate-keys=2048

You should now register with the chaosvpn team.

The configuration file for chaosvpn is located in /usr/local/etc/tinc and may be edited by

sudo nano /usr/local/etc/tinc/chaosvpn.conf

You've got to change $my_peerid and $my_vpn_ip.


To run it, you can try

sudo ./chaosvpn

Or create a LaunchAgent.