Changeset 32652


Ignore:
Timestamp:
2012-07-09T14:23:36+02:00 (6 years ago)
Author:
jow
Message:

[package] firewall: also set up nat reflection rules for redirects with proto all and/or no src_dport set

Location:
trunk/package/firewall
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/firewall/Makefile

    r32127 r32652  
    1010 
    1111PKG_VERSION:=2 
    12 PKG_RELEASE:=52 
     12PKG_RELEASE:=53 
    1313 
    1414include $(INCLUDE_DIR)/package.mk 
  • trunk/package/firewall/files/reflection.hotplug

    r31936 r32652  
    7070 
    7171                                local epmin epmax extport 
    72                                 config_get extport "$cfg" src_dport 
     72                                config_get extport "$cfg" src_dport "1-65535" 
    7373                                [ -n "$extport" ] || return 
    7474 
     
    8989                                [ -n "$inthost" ] || return 
    9090 
     91                                [ "$proto" = all    ] && proto="tcp udp" 
    9192                                [ "$proto" = tcpudp ] && proto="tcp udp" 
    9293 
Note: See TracChangeset for help on using the changeset viewer.