Package: openvpn
Severity: wishlist
Tags: patch

Hi,
there are quite some howtos around providing overly complex scripts
to setup a bridge for OpenVPN while the bridge-utils package provides
some nice integration for /etc/network/interfaces. Maybe it would help
to add a note about this to the README.Debian. Attached is my proposal
with a small example.

Sven

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (200, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.35-trunk-686 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
--- README.Debian.orig  2010-10-05 15:16:59.000000000 +0200
+++ README.Debian       2010-10-05 15:23:40.000000000 +0200
@@ -89,6 +89,27 @@
     in the same file
 
 
+If you'd like to use a bridged setup (utilizing a tap device) Debian provides
+some helper tools in the bridge-utils package to help you setting up your
+bridge via /etc/network/interfaces.
+
+An easy example, creating a bridge interface 'br0' from 'eth0' and 'tap0',
+can look like this:
+
+      auto lo br0 eth1
+      allow-hotplug eth0
+
+      iface br0 inet static
+      address 192.168.1.1
+      network 192.168.1.0
+      netmask 255.255.255.0
+      broadcast 192.168.1.255
+      bridge_ports eth0 tap0
+      pre-up openvpn --mktun --dev tap0
+
+It's recommended to read the manpage - man 5 bridge-utils-interfaces - aswell.
+
+
 #####################################
 # Compatibility notes on 2.x vs 1.x #
 #####################################
@@ -195,4 +216,4 @@
 
 Kudos to him, for finding out and proposing a solution.
 
- -- Alberto Gonzalez Iniesta <[email protected]>  Fri, 09 Jul 2010 12:46:30 
+0200
+ -- Sven Hoexter <[email protected]>, Tue,  5 Oct 2010 15:23:40 +0200

Reply via email to