I've done quite a bit of searching and banging my head against the wall... Has anyone gotten open vpn setup on slackware 10.2? This is my system setup.. Slackware 10.2, kernel 2.6.15.7 running dhcpd for dhcp-server; iptables for router; asterisk for voip-pbx. I'm trying to set this up as a VPN as well so that I can access my networked windows machines at my home when I am traveling and group them with my office in another state.
I have followed the "how-to" at
http://openvpn.net/howto.html using bridged-ethernet. When I try to start with bridge-start I get the following errors:
root@homepbx:/usr/local/openvpn-2.0.7/sample-scripts# ./bridge-start
Thu Sep 7 16:08:36 2006 Note: Cannot open TUN/TAP dev /dev/net/tun: No such device (errno=19)
Thu Sep 7 16:08:36 2006 Note: Attempting fallback to kernel 2.2 TUN/TAP interface
Thu Sep 7 16:08:36 2006 Cannot open TUN/TAP dev /dev/tap0: No such device or address (errno=6)
Thu Sep 7 16:08:36 2006 Exiting
./bridge-start: line 26: /usr/sbin/brctl: cannot execute binary file
./bridge-start: line 27: /usr/sbin/brctl: cannot execute binary file
./bridge-start: line 30: /usr/sbin/brctl: cannot execute binary file
SIOCSIFADDR: No such device
tap0: unknown interface: No such device
tap0: unknown interface: No such device
tap0: unknown interface: No such device
SIOCSIFADDR: No such device
br0: unknown interface: No such device
SIOCSIFNETMASK: No such device
SIOCSIFBRDADDR: No such device
br0: unknown interface: No such device
###
Here is the config file for "bridge-start":
###
#!/bin/bash
#################################
# Set up Ethernet bridge on Linux
# Requires: bridge-utils
#################################
# Define Bridge Interface
br="br0"
# Define list of TAP interfaces to be bridged,
# for example tap="tap0 tap1 tap2".
tap="tap0"
# Define physical ethernet interface to be bridged
# with TAP interface(s) above.
eth="eth0"
eth_ip="10.77.76.1"
eth_netmask="255.255.255.0"
eth_broadcast="10.77.76.255"
for t in $tap; do
openvpn --mktun --dev $t
done
brctl addbr $br
brctl addif $br $eth
for t in $tap; do
brctl addif $br $t
done
for t in $tap; do
ifconfig $t 0.0.0.0 promisc up
done
ifconfig $eth 0.0.0.0 promisc up
ifconfig $br $eth_ip netmask $eth_netmask broadcast $eth_broadcast
#####
I'm lost and really need this to work. What am I missing??
If anyone can be of some assistance I would greatly appreciate it.
Kind Regards