Dieses Wiki ist ein Archiv bis 2023. Das aktuelle Wiki findet sich unter https://wiki.hamburg.ccc.de/

Difference between revisions of "ChaosVPN:GentooHowto"

From CCCHHWiki
Jump to: navigation, search
Line 1: Line 1:
 
[[ChaosVPN|Back]]
 
[[ChaosVPN|Back]]
  
<div style="border:3px solid black; text-align:center; color:red;"><b>THIS DOCUMENTATION NEEDS TO BE UPDATED FOR CHAOSVPN 2.0!</b></div>
+
= QUICK HOWTO FOR GENTOO USERS =
  
= QUICK HOWTO FUER GENTOO USER =
+
== 0. Add angelos' overlay and install the software ==
  
== 0. Noetige Perl-Module und Helper-Programme installieren ==
+
Grab the overlay:
  
  # emerge dev-perl/libwww-perl
+
  # emerge git
  # emerge dev-perl/Crypt-SSLeay
+
  # git clone git://thor.ngls.eu/gentoo-overlay.git
# emerge sys-apps/iproute2
 
  
== 1. tinc installieren ==
+
Then add the path to gentoo-overlay to PORTDIR_OVERLAY in make.conf.
 +
Now install chaosvpn:
  
  # emerge net-misc/tinc
+
  # emerge chaosvpn
  
Es ist auf die Verfuegbarkeit des tun-Treibers zu achten.
+
== 1. Execute 3-8, 10-11 from [[ChaosVPN::DebianHowto|the ChaosVPN-Debian-Howto]] ==
Gegebenenfalls das Modul kompilieren und in
 
 
 
/etc/modules.autoload.d/kernel-2.6  # oder 2.4
 
 
 
eintragen. Note: Bei mir hat das Modul /dev/tun statt
 
/dev/net/tun angelegt. Macht aber nichts, Haegars Script
 
legt das letztere dann zusaetzlich an. *schulterzuck*
 
 
 
Sollte hier noch irgendwessen Router (auszer meinem) auf
 
ppc laufen, dann folgenden Absatz beachten. Sonst ignorieren.
 
 
 
PowerPC-User:<br>
 
tinc ist aus unerfindlichen Gruenden (bisher) auf
 
ppc ausmaskiert. Man gebe statt dem oben genannten
 
Kommando
 
 
 
# emerge /usr/portage/net-misc/tinc/tinc-1.0.2.ebuild
 
 
 
ein und ignoriere das panische Gewarne.
 
 
 
== 2. Execute 2-11 aus [[ChaosVPN::DebianHowto|dem ChaosVPN-Debian-Howto]] ==
 
 
 
== 12. Peers ziehen ==
 
 
 
# /usr/local/bin/chaosvpn-client.pl
 
 
 
Tonnen von Output und "Died at ..." ignorieren.
 
/etc/tinc/chaos sollte jetzt ungefaehr so aussehen:
 
 
 
# find /etc/tinc/chaos
 
/etc/tinc/chaos
 
/etc/tinc/chaos/rsa_key.pub
 
/etc/tinc/chaos/tinc-up
 
/etc/tinc/chaos/hosts
 
/etc/tinc/chaos/hosts/packbarthome
 
/etc/tinc/chaos/hosts/haegarhome
 
[...]
 
/etc/tinc/chaos/hosts/lardass
 
/etc/tinc/chaos/hosts/alioshome
 
/etc/tinc/chaos/rsa_key.priv
 
/etc/tinc/chaos/tinc.conf
 
 
 
== 12. tincd einrichten ==
 
 
 
# cat "NETWORK: chaos" >> /etc/conf.d/tinc.networks
 
# rc-update add tincd default
 
# /etc/init.d/tincd start
 
 
 
Die Routing-Tabelle sollte jetzt einige Routen nach
 
"chaos_vpn" aufweisen.
 
 
 
== 13. Peers regelmaeszig aktualisieren. ==
 
 
 
Irgendwie funktioniert bei mir das Neustarten des tincd aus
 
Haegars Script nicht. Ich mache einfach (wenn's auch nicht
 
perfekt ist)
 
 
 
# /etc/init.d/tincd stop
 
# /usr/local/bin/chaosvpn-client.ps
 
# /etc/init.d/tincd start
 
 
 
einmal taeglich in einem cronjob. Irgendwie doof, aber naja.
 
 
 
 
 
- pesco, 2004-11-01
 

Revision as of 14:30, 6 February 2011

Back

QUICK HOWTO FOR GENTOO USERS

0. Add angelos' overlay and install the software

Grab the overlay:

# emerge git
# git clone git://thor.ngls.eu/gentoo-overlay.git

Then add the path to gentoo-overlay to PORTDIR_OVERLAY in make.conf. Now install chaosvpn:

# emerge chaosvpn

1. Execute 3-8, 10-11 from the ChaosVPN-Debian-Howto