Hi,
Just following the instructions here.
http://wiki.openwrt.org/doc/howto/vpn.openvpn

I think I do want a layer 2 bridge, as it's not likely to carry to much
data, and if there's a protocol I do need, I'd like it to be available.

Thanks for taking the time to respond,
James


On 30 May 2013 23:31, Lupe Christoph <[email protected]> wrote:

> On Thursday, 2013-05-30 at 19:26:28 +0100, James Allsopp wrote:
> > OpenVPN fails with this error;
>
> > May 30 18:14:23 Magic daemon.err openvpn(lan)[1547]: Cannot open TUN/TAP
> > dev /dev/tap0: No such file or directory (errno=2)
>
> > This is my config:
>
> > config 'openvpn' 'lan'
> >         option 'enable' '1'
> >         option 'port' '1194'
> >         option 'proto' 'udp'
> >         option 'dev' 'tap0'
> ------------------------^^^^
> >         option 'ca' '/etc/openvpn/ca.crt'
> >         option 'cert' '/etc/openvpn/server.crt'
> >         option 'key' '/etc/openvpn/server.key'
> >         option 'dh' '/etc/openvpn/dh1024.pem'
> >         option 'ifconfig_pool_persist' '/tmp/ipp.txt'
> >         option 'keepalive' '10 120'
> >         option 'comp_lzo' '1'
> >         option 'persist_key' '1'
> >         option 'persist_tun' '1'
> >         option 'status' '/tmp/openvpn-status.log'
> >         option 'verb' '3'
> >         option 'server_bridge' '192.168.1.1 255.255.255.0
> > 192.168.1.200 192.168.1.219'
>
> Do you really intend to run this as a layer 2 bridge? Your config
> suggests you want a tun interface. For an explanation, look at
> http://en.wikipedia.org/wiki/TUN/TAP
>
> HTH,
> Lupe Christoph
> --
> | It is a well-known fact in any organisation that, if you want a job    |
> | done, you should give it to someone who is already very busy.          |
> | Terry Pratchett, "Unseen Academicals"                                  |
> _______________________________________________
> openwrt-users mailing list
> [email protected]
> https://lists.openwrt.org/mailman/listinfo/openwrt-users
>
_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-users

Reply via email to