Ansuel / tch-nginx-gui

Modified file to apply to a stock technicolor GUI
GNU General Public License v3.0
344 stars 52 forks source link

Firewall Warnings on service restart #578

Closed kevdagoat closed 5 years ago

kevdagoat commented 5 years ago

NB: Before submitting an issue, check if there is one already open that suits the problem you are having!

Device Model: TG799vac Gui Version: 8.11.49 (yes I know! Shouldnt affect it though)

Description of problem: Multiple warnings and issues when restarting firewall

How to reproduce (if possible): /etc/init.d/firewall restart

Media/Photos (if possible):

Warning: Option @zone[1].wan is unknown
Warning: Section @zone[1] (Guest1) cannot resolve device of network 'Guest1'
Warning: Option @zone[2].wan is unknown
Warning: Section @zone[2] (Guest1_5GHz) cannot resolve device of network 'Guest1_5GHz'
Warning: Option @zone[3].wan is unknown
Warning: Section @zone[3] (wan) cannot resolve device of network 'wwan'
Warning: Section @zone[3] (wan) cannot resolve device of network 'wwan_4'
Warning: Section @zone[3] (wan) cannot resolve device of network 'wwan_6'
Warning: Option 'userredirectA6B7'.dest_mac is unknown
Warning: Option 'userredirectF9F1'.dest_mac is unknown
Warning: Option 'userredirectCED1'.dest_mac is unknown
Warning: Option 'userredirect08F1'.dest_mac is unknown
Warning: Section @forwarding[1] refers to not existing zone 'wb'
Warning: Section @zone[1] (Guest1) has no device, network, subnet or extra options
Warning: Section @zone[2] (Guest1_5GHz) has no device, network, subnet or extra options
kevdagoat commented 5 years ago
Warning: Option 'userredirectF9F1'.dest_mac is unknown
Warning: Option 'userredirectCED1'.dest_mac is unknown
Warning: Option 'userredirect08F1'.dest_mac is unknown

Are custom port forwards

kevdagoat commented 5 years ago

Oh and:

* Running script '/lib/functions/firewall-wol.sh'
   ! Skipping due to path error: No such file or directory

WoL is not installed on a TG799 by default. Same as dosprotect

kevdagoat commented 5 years ago

Also my port forward wont work if I have

config userredirect 'userredirectCED1'
        option src_dport 'xxx'
        option family 'ipv4'
        option dest_mac 'xxxx'
        option dest 'lan'
        option enabled '1'
        option dest_port 'xxx'
        option name 'xxxxx'
        option src 'wan'
        option target 'DNAT'
        list proto 'tcpudp'

It will only work with:

config userredirect 'userredirectCED1'
        option src_dport 'xxx'
        option family 'ipv4'
        #option dest_mac 'xxxx'
        option dest 'lan'
        option enabled '1'
        option dest_port 'xxxx'
        option name 'xxxx'
        option src 'wan'
        option target 'DNAT'
        option dest_ip '10.0.0.126'
        list proto 'tcpudp'
Ansuel commented 5 years ago

i don't think this is that important...