Hi,
OpenVPN fails with this error;
May 30 18:14:23 Magic daemon.notice openvpn(lan)[1547]: OpenVPN 2.1.1
mips-openwrt-linux [SSL] [LZO2] built on Mar 19 2010
May 30 18:14:23 Magic daemon.warn openvpn(lan)[1547]: NOTE: when bridging
your LAN adapter with the TAP adapter, note that the new bridge adapter
will often take on its own IP address that is different from what the LAN
adapter was previously set to
May 30 18:14:23 Magic daemon.warn openvpn(lan)[1547]: NOTE: OpenVPN 2.1
requires '--script-security 2' or higher to call user-defined scripts or
executables
May 30 18:14:23 Magic daemon.notice openvpn(lan)[1547]: Diffie-Hellman
initialized with 1024 bit key
May 30 18:14:23 Magic daemon.notice openvpn(lan)[1547]: TLS-Auth MTU parms
[ L:1574 D:138 EF:38 EB:0 ET:0 EL:0 ]
May 30 18:14:23 Magic daemon.warn openvpn(lan)[1547]: Note: Cannot open
TUN/TAP dev /dev/net/tun: No such file or directory (errno=2)
May 30 18:14:23 Magic daemon.notice openvpn(lan)[1547]: Note: Attempting
fallback to kernel 2.2 TUN/TAP interface
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)
May 30 18:14:23 Magic daemon.notice openvpn(lan)[1547]: Exiting

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'


Can anyone help with this, I'm using  ATTITUDE ADJUSTMENT (12.09, r36088).
If you need anymore information please ask.

Thanks,

James
_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-users

Reply via email to