- Are you sure you can use a tun device? Is the server using tun or tap?
From http://openvpn.net/index.php/open-so...ap-device.html :
Quote:
A TAP device is a virtual ethernet adapter, while a TUN device is a virtual point-to-point IP link.
You cannot mix --dev tun and --dev tap on different ends of the connection. Use one or the other consistently.
|
- The message from pkg_info -M was a /etc/hostname.tun0 for the server:
Code:
up
!/usr/local/sbin/openvpn --daemon --config /etc/openvpn/server.conf
You are a client and thus need:
Code:
up
!/usr/local/sbin/openvpn --daemon --config /etc/openvpn/client.conf
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump
Last edited by J65nko; 2nd February 2011 at 03:48 AM.
Reason: Add /etc/hostname.tun0 'client.conf' remark
|