Openwrt 14.07 роутер tp-link 4300
Openwrt при подключении usb lte как основной шлюз. не пускает через wan из вне.
Вот конфиг
config interface 'lan'
option ifname 'eth0.1'
option force_link '1'
option proto 'static'
option netmask '255.255.255.0'
option ipaddr '192.168.45.1'
config interface 'wan'
option ifname 'eth0.2'
option _orig_ifname 'eth0.2'
option _orig_bridge 'false'
option proto 'static'
option netmask '255.255.255.0'
option ipaddr '192.168.40.100'
option gateway '192.168.40.1'
option dns '192.168.40.1'
option metric '50'
config interface 'usb1'
option proto 'static'
option ifname 'usb0'
option ipaddr '192.168.0.100'
option netmask '255.255.255.0'
option gateway '192.168.0.1'
option dns '192.168.0.1'
option metric '10'
config interface 'usb2'
option proto '3g'
option device '/dev/ttyUSB0'
option metric '20'
config interface 'vpn'
option proto 'none'
option ifname 'tun0'
option metric '30'
config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'
config switch_vlan
option device 'switch0'
option vlan '1'
option ports '0t 2'
option vid '1'
config switch_vlan
option device 'switch0'
option vlan '2'
option ports '0t 1'
option vid '2'
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'