View Single Post
Old 1st February 2011
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 4,132
Default

According to that pkg_info message, you have to create a /etc/hostname.tun0 file
with the following contents:
Code:
 up
!/usr/local/sbin/openvpn --daemon --config /etc/openvpn/server.conf
The up will start create and activate the tun0 device.
The second line starts openvpn when the network interfaces are configured, which is very early in the network setup and thus visible for pf.

It also means that upon every reboot OpenVPN is started automatically. I don't know how you start it now

RE: ifconfig output
That output is only meaningful if we also see the routing tables. Instead of route -n show I prefer netstat -rn -f inet. That will skip the IPv6 stuff

EDIT: Ok you are posting the routing tables now too
__________________
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; 1st February 2011 at 10:44 PM. Reason: routing tables remark
Reply With Quote