LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-16-2014, 04:56 PM   #1
offplanet
Member
 
Registered: Oct 2009
Location: california
Distribution: slackware, android
Posts: 41

Rep: Reputation: 0
How to automate port open/close on a clearspot router


I want to avoid logging in to fhe router to open/close ports to run a torrent client. Are there tools to automate the process?
 
Old 07-18-2014, 01:55 AM   #2
descendant_command
Senior Member
 
Registered: Mar 2012
Posts: 1,879

Rep: Reputation: 644Reputation: 644Reputation: 644Reputation: 644Reputation: 644Reputation: 644
uPnP?
 
Old 07-18-2014, 01:41 PM   #3
offplanet
Member
 
Registered: Oct 2009
Location: california
Distribution: slackware, android
Posts: 41

Original Poster
Rep: Reputation: 0
uPnP I don't see how that moves to my goal.

uPnP is device setup protocols. The device is set up on USB0. This is not about setting up the device but telling the device to perform one of its functions. Automatically. (I don't use wireless - Two of my neighbors have routers that have a stronger signal strength in my apartment than my router.) What I am looking for is a tool/program to login to the router. Walk the web pages to open a port and set it to forward to a port on my machine. Then reverse the process when I am done. I don't expect a ready made program, but there should be a way to script it. I am looking for suggestions.
 
Old 07-18-2014, 01:58 PM   #4
sgosnell
Senior Member
 
Registered: Jan 2008
Location: Baja Oklahoma
Distribution: Debian Stable and Unstable
Posts: 1,943

Rep: Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542
You have to log in, with a password. Otherwise anyone could take over your router and manipulate your ports. It may be inconvenient, but it's essential for security.
 
Old 07-18-2014, 04:48 PM   #5
descendant_command
Senior Member
 
Registered: Mar 2012
Posts: 1,879

Rep: Reputation: 644Reputation: 644Reputation: 644Reputation: 644Reputation: 644Reputation: 644
Quote:
Originally Posted by offplanet View Post
uPnP is device setup protocols.
Ah, no. A uPnP enabled router (along with aware applications) does exactly what you are asking.

Quote:
NAT traversal

One solution for NAT traversal, called the Internet Gateway Device Protocol (IGD Protocol), is implemented via UPnP. Many routers and firewalls expose themselves as Internet Gateway Devices, allowing any local UPnP control point to perform a variety of actions, including retrieving the external IP address of the device, enumerate existing port mappings, and add or remove port mappings. By adding a port mapping, a UPnP controller behind the IGD can enable traversal of the IGD from an external address to an internal client.

Last edited by descendant_command; 07-18-2014 at 04:49 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to close a open port? prakash0106 Linux - Newbie 5 02-02-2009 02:10 AM
How to open/close a particular port ??? b0nd Linux - Networking 1 12-22-2005 02:11 AM
nmap reports port 21 (ftp) open - how to close it? shazam75 Linux - Security 3 09-23-2005 07:13 PM
Can I just leave port 80 open, close everthing else? Andknig Linux - Security 1 05-05-2005 03:59 PM
open and close network port abd_bela Linux - Security 5 08-19-2004 03:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:49 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration