LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 10-13-2003, 04:40 PM   #1
mattrobbins
LQ Newbie
 
Registered: Oct 2003
Location: Bedford, Tx
Distribution: Redhat 9
Posts: 4

Rep: Reputation: 0
DHCP, webmin, and TCP/IP ports


I'm running Redhat Linux 9 on a system behind a Linksys 4-port DSL router. Furthermore, I'm on dynamic IP rather than static from my ISP, so my router gets a new IP address via the DHCP server at random intervals from my ISP.

So far I've gotten Apache webserver and SSH working fine with this scenario by installing ddclient and registering at dyndns.org. Every time my ISP changes the DHCP certificate on my router ddclient notices the change and registers the change with dyndns.org. When requests on port 80 or 22 hit my router they get physically routed to my linux box. My life would've been easier if I'd gone the static IP route, but I got a pervese amount of enjoyment from getting this to work

My current problem is with webmin. What is the path/file for webmin configuration? I want to change the hostname and port that webmin listens on, but I have been unable to find it. I've poked around in /etc/webmin and there's a config file there, but none of the fields pertain to what I want to change, same for /var/webmin

Another thing, webmin by default listens on port 10000, and my DSL router only allows a port range between 0 and 9999 for forwarding. I want to change the port for webmin, but I don't want it to interfere with any other networking services. Can anyone point me in the right direction to read about what ports are for what services with TCP/IP?

Thanks,
Matt Robbins
 
Old 10-13-2003, 04:45 PM   #2
Muddy
Member
 
Registered: May 2002
Location: Ohio
Distribution: Mandrake 9.2 Custom Kernel & Mythtv!
Posts: 256

Rep: Reputation: 30
yes, the file is actually in /etc see the file called services, it lists all ports and what is supposed to run on them.

also..

when logging into webmin click on webmin configuration and then ports/address and change the port there.

Last edited by Muddy; 10-13-2003 at 04:46 PM.
 
Old 10-13-2003, 04:50 PM   #3
mattrobbins
LQ Newbie
 
Registered: Oct 2003
Location: Bedford, Tx
Distribution: Redhat 9
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks, Muddy.

Now when I find the config files for webmin I'll be set...

-Matt
 
Old 10-13-2003, 08:37 PM   #4
Muddy
Member
 
Registered: May 2002
Location: Ohio
Distribution: Mandrake 9.2 Custom Kernel & Mythtv!
Posts: 256

Rep: Reputation: 30
have you logged into webmin ever?

if not then go to https://localhost:1000
 
Old 10-13-2003, 10:42 PM   #5
mattrobbins
LQ Newbie
 
Registered: Oct 2003
Location: Bedford, Tx
Distribution: Redhat 9
Posts: 4

Original Poster
Rep: Reputation: 0
Yeah, actually I had, and for some reason it would refuse the connection.

However, I did get it to work tonight though I don't understand why what I did works.

I was dorking around basically, I went into the UPnP forwarding tab on my Linksys DSL router admin page and tried entering the configuration for port 10000 there. On the Port Range Forwarding page whenever I'd enter the data and click on apply my entry would disapear, but on the UPnP page the entry stayed.

After that, I tried starting an https session to mattrobbins.dyndns.org (fully qualified host name for my DSL router) on port 10000, and everything came up kosher.

However, it still refuses the connection if I try to connect via IP address, whether I try on my linux system or windows system on the internal network. On both systems when I use the fully qualified host name for my DSL router (which is now forwarding port 10000) my system properly gives me a webmin session.

Now, going back to the situation up top, let's say I couldn't get into webmin via https and could only log into my system via SSH, is there a list of files for webmin cross referencing them with their purpose?

Thanks,
Matt

P.S.: Anyone know why my Linksys DSL router BEFSR41 v2 is blanking out my manual entry for port 10000 on the Port Range Forwarding page but keeps the manual entry on the UPnP (Universal Plug n Play) Forwarding page? On the PRF page it keeps the entries for port 22 and 80, but blanks out an entry for 10000 whenever I enter it. Is this a bug or is it intended to do this?
 
Old 10-14-2003, 03:16 AM   #6
Muddy
Member
 
Registered: May 2002
Location: Ohio
Distribution: Mandrake 9.2 Custom Kernel & Mythtv!
Posts: 256

Rep: Reputation: 30
are you on the box that webmin is on or are you trying to access it from another box on your network?
 
  


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
Mandrake 10.0, webmin, ports amentajs Linux - Security 1 08-16-2005 10:07 AM
TCP Ports mm1977 Linux - Networking 1 01-31-2005 01:34 AM
Woody 3.0 Open Ports 1470/tcp/uaiact 1518/tcp/vpvd What for?How can I remove them? alexxxis Debian 5 07-05-2004 05:18 PM
Webmin On TCP port 443...but with Apache Mod_ssl installed... ech310n Linux - Networking 6 01-27-2004 04:10 PM
how to open TCP/UDP ports RH9 franky Linux - Networking 3 07-18-2003 10:03 PM


All times are GMT -5. The time now is 06:50 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration