fplanzer

upnp

Apr 18th, 2018
460
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.21 KB | None | 0 0
  1. apt-get install miniupnpc
  2.  
  3. # basic upnp
  4. upnpc -a 192.168.1.14 4444 4444 TCP
  5.  
  6. # test
  7.  nc -lvp 4444
  8. # then check port on http://canyouseeme.org/
  9.  
  10.  
  11. # assign forward remote port to local port
  12. upnpc -r 22 TCP
Advertisement
Add Comment
Please, Sign In to add comment