Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 140914 Details for
Bug 205738
Please update vpnc HOWTO: Enhanced Tips and Tricks
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Diff against current HEAD
vpnc.patch (text/plain), 3.06 KB, created by
Christian Faulhammer (RETIRED)
on 2008-01-14 07:13:01 UTC
(
hide
)
Description:
Diff against current HEAD
Filename:
MIME Type:
Creator:
Christian Faulhammer (RETIRED)
Created:
2008-01-14 07:13:01 UTC
Size:
3.06 KB
patch
obsolete
>--- vpnc-howto.xml.orig 2008-01-14 07:59:29.000000000 +0100 >+++ vpnc-howto.xml 2008-01-14 08:09:16.000000000 +0100 >@@ -15,6 +15,9 @@ > <author title="Contributor"> > <mail link="opfer@gentoo.org">Christian Faulhammer</mail> > </author> >+<author title="Contributor"> >+ <mail link="fischer@unix-ag.uni-kl.de">Thomas Fischer</mail> >+</author> > > <abstract> > This document details how to connect your workstation to a Cisco VPN >@@ -25,8 +28,8 @@ > <!-- See http://creativecommons.org/licenses/by-sa/2.5 --> > <license/> > >-<version>1.3</version> >-<date>2008-01-09</date> >+<version>1.4</version> >+<date>2008-01-14</date> > > <chapter> > <title>Introduction</title> >@@ -755,7 +758,9 @@ > </p> > > <note> >-The init scripts don't handle DNS separation. >+The init scripts don't handle DNS separation, but you can use the >+custom scripts to achieve that. See <uri link="#tipsscript">Tips and >+Tricks</uri>. > </note> > > </body> >@@ -765,12 +770,13 @@ > <chapter> > <title>Tips and Tricks</title> > <section> >+<title>Graphical remote access</title> > <body> > > <p> >-If you are looking for a linux application that supports RDP (Remote Desktop >-Protocol) then give <c>grdesktop</c> a try. It's a GUI app written in Gtk that >-fits in well with a gnome desktop, but doesn't require it. If you don't want >+If you are looking for a Linux application that supports RDP (Remote Desktop >+Protocol) then give <c>grdesktop</c> a try. It's a GUI app written in GTK+ that >+fits in well with a Gnome desktop, but doesn't require it. If you don't want > the GUI configuration dialogs that grdesktop provides, then just install > <c>rdesktop</c>. Ultimately, grdesktop is just a frontend for rdesktop. > </p> >@@ -806,6 +812,44 @@ > > </body> > </section> >+<section id="tipsscript"> >+<title>Custom scripts on boot</title> >+<body> >+<p> >+The custom-made scripts for the init.d file can be used to setup a >+user-defined routing for the vpnc connection. The examples below show >+how to setup the routing table so that only connections to 123.234.x.x >+are routed over the VPN and all other connections use the default >+gateway. The example uses work-preup.sh to save the current default >+gateway before starting vpnc (which resets the default gateway using >+the VPN connection). Once vpnc has been started, work-postup.sh >+deletes this new default gateway, restores the old default gateway and >+sets the route for all connections to 123.234.x.x to use the vpnc >+connection. >+</p> >+<pre caption="/etc/vpnc/scripts.d/work-preup.sh"> >+#!/bin/sh >+route -n | grep -E '^0.0.0.0 ' | cut -c 17-32 >/var/tmp/defaultgw >+</pre> >+ >+<pre caption="/etc/vpnc/scripts.d/work-postup.sh"> >+#!/bin/sh >+route del -net 0.0.0.0 netmask 0.0.0.0 dev tun1 >+route add default gw $(cat /var/tmp/defaultgw) >+route add -net 123.234.0.0 netmask 255.255.0.0 dev tun1 >+</pre> >+ >+<p> >+The example scripts assume that the vpnc connection uses tun1 as tun device. >+You can set the device name in the connection's configuration file. >+</p> >+<pre caption="/etc/vpnc/work.conf"> >+Interface name tun1 >+IPSec gateway vpn.mywork.com >+Pidfile /var/run/vpnc.work.pid >+</pre> >+</body> >+</section> > </chapter> > > <chapter>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 205738
: 140914