[OpenWrt-Devel] proto 'none' overwriting tun interfaces

Adam Gensler openwrt at a.gnslr.us
Tue Oct 13 06:36:40 EDT 2015


> On Oct 13, 2015, at 4:50 AM, Roman Yeryomin <leroi.lists at gmail.com> wrote:
> 
> On 13 October 2015 at 03:16,  <openwrt at a.gnslr.us> wrote:
>> Hi all,
>> 
>> I've been compiling OpenWRT builds for my home router (Netgear WNDR3800 and now a WD MyNet N750) for a number of years. I just recently encountered a problem with the OpenVPN tun interfaces are showing up without IP addresses after a reboot. I have the following in my /etc/config/network:
>> 
>> config interface 'vpn_udp'
>>        option ifname 'tun0'
>>        option proto 'none'
>> 
>> config interface 'vpn_tcp'
>>        option ifname 'tun1'
>>        option proto 'none'
>> 
> 
> Why do you use proto=none?
> Isn't it supposed to be used to actually disable/deconfigure that interface?


I use proto=none because I don't want OpenWRT doing anything to the tun interfaces, which had been working for several years.

There's a separate "enabled" option that can be used to toggle interfaces on/off.


> 
> Regards,
> Roman
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list