Sergey Ponomarev
4c4a7bd31d
treewide: use config_get_bool instead of config_get enabled
...
The config_get_bool function parses not just the 1 but on/yes, true/false or enabled/disabled.
Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
2024-05-26 03:00:50 +08:00
Ray Wang
5abbd3bcb2
natmap: add log_std{out,err} options
...
Introduce `log_stdout` and `log_stderr` options for managing logging output.
Signed-off-by: Ray Wang <r@hev.cc>
2024-04-24 17:54:03 +08:00
Richard Yu
8111d49474
natmap: fix service not stopped when disabled in luci
...
luci removes `enable` option when disabled,
fix by setting default value to 0.
Signed-off-by: Richard Yu <yurichard3839@gmail.com>
2022-12-26 12:28:52 +08:00
Richard Yu
cd51b58efd
natmap: add forward_port option
...
The bind port (-b) can be used with forward port (-p),
so expose this option in config file.
Signed-off-by: Richard Yu <yurichard3839@gmail.com>
2022-12-21 17:50:18 +08:00
Richard Yu
190e04caf6
natmap: merge "ipv4" and "ipv6" options into single "family" option
...
Signed-off-by: Richard Yu <yurichard3839@gmail.com>
2022-12-07 15:18:09 +08:00
Richard Yu
e691a25cb3
natmap: add new package
...
NATMap is a program for opening port behind full cone NAT (NAT-1),
without the need for using UPnP or another port forward settings.
More details can be found at original repo: https://github.com/heiher/natmap
Signed-off-by: Richard Yu <yurichard3839@gmail.com>
2022-12-05 16:03:51 +08:00