It looks like you can control the UPnP from Linux, too: https://www.howtoforge.com/administrating-your-gateway-device-via-upnp Maybe this could be way I could dynamically open bittorrent ports when I'm downloading something. (I have a semi-complex set-up at my home so I doubt that any particular bittorrent client could automatically get it to work.) > From: Robert <http://dummy.us.eu.org/robert> > Date: Thu, 09 Jun 2016 15:49:45 -0700 > > > From: Alex <http://www.gmail.com/~alex.> > > Date: Thu, 9 Jun 2016 14:55:23 -0700 > > > > And here's the non-tunneling tool I used to get my home server working > > https://github.com/kaklakariada/portmapper > > Thanks. > > I see how this works. It takes advantage of standard functionality in > most routers to essentially do dynamic port forwarding. I didn't know > much about UPnP, probably because I never play online games :-). > > It does not require an end connection, as I had thought before; it just > fiddles with stuff on the router itself using standard protocols. It's > essentially punching a hole in the firewall and forwarding to your > machine. This seems perfectly fine, I think ('tho, I wish the UPnP thing > that you found didn't require Java!).