Coder Social home page Coder Social logo

luci-app-natmapt's Introduction

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

0

Depends

  1. natmapt
  2. coreutils-timeout
  3. stuntman-client

How to install

  1. Go to here
  2. Download the latest version of ipk
  3. Login router and goto System --> Software
  4. Upload and install ipk
  5. Reboot if the app is not automatically added in page
  6. 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

Richard Yu
Anya Lin

License

This project is licensed under the Apache-2.0

luci-app-natmapt's People

Contributors

muink avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

luci-app-natmapt's Issues

Nothing happened or error when clicking "check" button

I don't get anything when clicking the "check" button, stuntman-client is installed,
error logged from chrome when clicking "check" button :

Uncaught (in promise) ReferenceError: ui is not defined
    at eval (natmap.js?v=24.158.03388~a6f8361:12:424)
eval @ natmap.js?v=24.158.03388~a6f8361:12
XMLHttpRequest.send (async)
(anonymous) @ luci.js?v=24.158.03388~a6f8361:66
(anonymous) @ luci.js?v=24.158.03388~a6f8361:47
Promise.then (async)
request @ luci.js?v=24.158.03388~a6f8361:47
flushRequestQueue @ luci.js?v=24.158.03388~a6f8361:39
requestAnimationFrame (async)
(anonymous) @ luci.js?v=24.158.03388~a6f8361:50
(anonymous) @ luci.js?v=24.158.03388~a6f8361:47
Promise.then (async)
request @ luci.js?v=24.158.03388~a6f8361:47
post @ luci.js?v=24.158.03388~a6f8361:71
call @ rpc.js?v=24.158.03388~a6f8361:5
eval @ rpc.js?v=24.158.03388~a6f8361:23
eval @ rpc.js?v=24.158.03388~a6f8361:20
exec @ fs.js?v=24.158.03388~a6f8361:11
o.onclick @ natmap.js?v=24.158.03388~a6f8361:12
eval @ form.js?v=24.158.03388~a6f8361:260
eval @ ui.js?v=24.158.03388~a6f8361:360Understand this error

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.