Difference between revisions of "ChaosVPN:MacOSXHowto"

From CCCHHWiki
Jump to: navigation, search
(Created page with " 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 gi...")
 
Line 1: Line 1:
  
 +
How to install on OS X, as done on 10.9 (Mavericks)
  
 +
----
  
How to install on OS X, as done on 10.9 (Mavericks)
+
'''Install tinc and tuntap via homebrew'''
 
 
Install tinc and tuntap via homebrew
 
  
 
  brew install tinc tuntap
 
  brew install tinc tuntap
  
 +
----
  
Download and install chaosvpn from git
+
'''Download and install chaosvpn from git'''
  
 
  git clone git://github.com/ryd/chaosvpn.git
 
  git clone git://github.com/ryd/chaosvpn.git
Line 16: Line 17:
 
  sudo make appleinstall
 
  sudo make appleinstall
  
 +
----
  
Configure chaosvpn, which works mostly as described in the General Howto
+
'''Configure chaosvpn''', which works mostly as described in the [[ChaosVPN:Howto#Get_your_new_node_added_to_the_central_configuration|General Howto]]
 
 
https://wiki.hamburg.ccc.de/ChaosVPN:Howto#Get_your_new_node_added_to_the_central_configuration
 
  
 
Note that the command to generate the keys is slightly different:
 
Note that the command to generate the keys is slightly different:
  
 
  tinc --net=chaos --generate-keys=2048
 
  tinc --net=chaos --generate-keys=2048
 +
 +
----
  
 
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]].
Line 33: Line 35:
 
You've got to change $my_peerid and $my_vpn_ip.
 
You've got to change $my_peerid and $my_vpn_ip.
  
 +
----
  
 
To run it, you can try
 
To run it, you can try
Line 38: Line 41:
 
  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.