Darren Kitchen Posted August 28, 2015 Share Posted August 28, 2015 LAN Turtle user Shad contributed the module upnp-portfwd. uPnP Port Forwarding https://github.com/ShadGIT https://forums.hak5.org/index.php?/user/51465-shad/ It's now available from modulemanager. I've created this thread for module support and discussion. Very nice module Shad! From the help: uPnP Portfwd is a service which provides automatic port forwarding when connected to some uPnP enabled routers.\nThis service is typically used to provide a convenient and persistent DIRECT shell from the outside into the LAN Turtle so that a remote "proxy" server or host is not needed.\n*IF* the router is uPnP enabled and forwards the port it would be possible to connect directly to the Turtle from any rbitrary/anonymous location, even from TOR. Remote Port - External port on the router to be forwarded to the Turtle. Local Port - The port where a local service is running in the Turtle (Tipically 22 -ssh-) Protocol - TCP or UDP (tcp for ssh) Example: Per the defaults, the router will forward its external port 45000 to the LAN Turtle port 22. In this scenario one may establish a direct connection to the LAN Turtle by ssh'ing into the router's external interface port 45000: ssh -p 45000 firstname.lastname@example.org While this won't work in many cases, it may come handy when it does, which is frequent for some telco provided SOHO routers. 1 Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.