mirror of
https://github.com/kiddin9/openwrt-packages.git
synced 2025-01-07 08:36:40 +08:00
.. | ||
.img | ||
htdocs/luci-static/resources/view | ||
po | ||
root/usr | ||
.prepare.sh | ||
LICENSE | ||
Makefile | ||
README.md |
luci-app-natmap
TCP/UDP port mapping for full cone NAT
NATMap project is used to establish a TCP/UDP port mapping from ISP NAT public address to local private address. If all layers of NAT are full cones (NAT-1), any host can access internal services through the mapped public address.
Features included outside of NATMap
- NAT Type Test
- Automatically configure the Firewall
- Transparent Port forward (Forward port = 0)
- Refresh the listen port of the BT Client (Forward port = 0)
- Port update notify script
- A Record update script
- AAAA Record update script
- SRV Record update script
- HTTPS Record update script
- SVCB Record update script
Screenshots
Depends
- natmapt
- coreutils-timeout
- stuntman-client
How to install
- Go to here
- Download the latest version of ipk
- Login router and goto System --> Software
- Upload and install ipk
- Reboot if the app is not automatically added in page
- Goto Network --> NATMap
Build
Compile from OpenWrt/LEDE SDK
# Take the x86_64 platform as an example
tar xjf openwrt-sdk-21.02.3-x86-64_gcc-8.4.0_musl.Linux-x86_64.tar.xz
# Go to the SDK root dir
cd OpenWrt-sdk-*-x86_64_*
# First run to generate a .config file
make menuconfig
./scripts/feeds update -a
./scripts/feeds install -a
# Get Makefile
git clone --depth 1 --branch master --single-branch --no-checkout https://github.com/muink/luci-app-natmapt.git package/luci-app-natmapt
pushd package/luci-app-natmapt
umask 022
git checkout
popd
# Select the package LuCI -> Applications -> luci-app-natmapt
make menuconfig
# Start compiling
make package/luci-app-natmapt/compile V=99
Collaborators
License
This project is licensed under the Apache-2.0