Hi,

sorry, my mistake. I found this when playing with more wan interfaces. 
I have interface wanovpn, which triggers up openvpn tap0. (my patch, not
yet committed) 

As result, I found, that:

- openvpn does not come up with normal setup, even if started without my
patch. Probably because tap device goees up AFTER openvpn tries to setup
IP. Or maybe another event breaks this functionality. I made my own up
script which waits 2 sec and after it setups IP and everything is OK.
Any suggestions ?

- Device tap0 does not generate any hotplug iface event. And this is
problem why tap0 never joins firewall zone and NAT did not work for me.
Again, I added firewall event add_if from openvpn-up.sh and it works.
Any suggestions here?

Thank you very much,
Lukas


Jo-Philipp Wich píše v Po 25. 10. 2010 v 00:16 +0200:
> Thats odd.
> 
> The up state should be set by /etc/hotplug.d/iface/00-netstate 
> regardless of the underlying protocol.
> 
> ~ Jow
> _______________________________________________
> openwrt-devel mailing list
> [email protected]
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel


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

Reply via email to