This website works better with JavaScript.
Home
Help
Sign In
LILiK
/
openwrt-packages-dist
Watch
5
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27286
Commits
1
Branch
46 MiB
Tree:
05d1265cb7
lilik-openwrt-22.03
Branches
Tags
${ item.name }
Create branch
${ searchTerm }
from '05d1265cb7'
${ noResults }
openwrt-packages-dist
/
net
/
miniupnpd
/
files
/
firewall4.include
4 lines
81 B
Raw
Normal View
History
miniupnpd: rework firewall4 integration - Bump to the latest Git version in order to increase the package version for simpler opkg upgrade of the broken version - (Re-)Introduce PKG_RELEASE into the package, omitting it may lead to opkg segmentation faults under certain circumstances - Utilize automatic include hooks to drop the isolated miniupnpd table in favor to chains within the main inet fw4 table, otherwise PCP is unreliable as the upnp table might accept traffic which is later rejected by fw4 - Install a fw4 script hook to restart miniupnpd on fw4 restarts and reloads in order to repopulate the upnp chains with forward rules - Register the used miniupnpd configuration file and the firewall uci configuration as change sources, otherwise `/etc/init.d/miniupnpd reload` has no effect if the firewall or upnpd config was changed Signed-off-by: Jo-Philipp Wich <jo@mein.io> (cherry picked from commit 3c6ff6c6c9175b53453825e47f674af4881c2bc1)
2 years ago
#!/bin/sh
/etc/init.d/miniupnpd enabled && /etc/init.d/miniupnpd restart
exit 0