View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 16 posts ] 
Go to page 1, 2  Next

Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Wed Jan 03, 2007 8:58 pm 
Offline
Joined: Mon Feb 23, 2004 5:05 pm
Posts: 77
Ok so i've read posts, and i think i have the basiscs down, but i need specific help with my DSL modem and Router. I can't get the port 10000 and port 80 (for webmin and mythweb respectively) to forward to myth box. I have in the linksys have port 80 and 10000 to the ip. What i can't find in the westell is the ability to forward it to the router? Has anyone successfully done this with a verizon modem?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 03, 2007 10:04 pm 
Offline
Site Admin
Joined: Fri Oct 31, 2003 11:40 pm
Posts: 357
Location: Irvine, Ca
Do you want to give everybody in the world the capability to delete your recordings?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 04, 2007 7:31 am 
Offline
Joined: Tue Apr 13, 2004 6:51 pm
Posts: 890
Location: Groton, MA
The modem is talking directly to the WAN side of the router, you shouldn't need to do anything there. the modem 'forwards' everything to the router.

From the internet all requests for ports 80 and 10000 (every port actually)are, by default, handled by the router.

All you need to do is to configure the router to forward the particular ports to the IP address of the myth box. some routers call this 'virtual servers'

As a side note, you may want to look into dyndns or something similar if you haven't all ready.

But as Dale says, SECURITY IS UP TO YOU. knoppmyth is initially configured with no security. Simply settng up port forwarding to a standard knoppmyth box, with no added security is not a good idea.

There must be security threads around here that will help you harded your box.

_________________
R5F1 - Dell P4 2.4Ghz 500MB - PVR250 x 2 - GeForce FX 5200 - Onboard sound/NIC 80GB ATA/250GB ATA/400GB SATA


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 04, 2007 3:52 pm 
Offline
Site Admin
Joined: Fri Oct 31, 2003 11:40 pm
Posts: 357
Location: Irvine, Ca
Often times cable internet providers will filter certain ports such as 80 for http (and 25 for smtp here) so you may also have to utilize another port number for external access. If you (for example) use 8080 externally it will need to be port forwarded to the correct internal host:port.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jan 04, 2007 7:51 pm 
Offline
Joined: Tue Apr 13, 2004 6:51 pm
Posts: 890
Location: Groton, MA
agreed, often residential quality routers will not allow forwarding WAN port 8080 to a LAN server at port 80.

so if your ISP filters port 80, you may need to move your mythweb to port 8080 and forward WAN 8080 traffic to the mythbox at 8080.

this will require you to access mythweb with:

http://<ipaddress-of-myth-box>:8080/mythweb/

or via internet

http://<dyndns-name>:8080/mythweb/

_________________
R5F1 - Dell P4 2.4Ghz 500MB - PVR250 x 2 - GeForce FX 5200 - Onboard sound/NIC 80GB ATA/250GB ATA/400GB SATA


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jan 05, 2007 5:41 am 
Offline
Joined: Mon Feb 23, 2004 5:05 pm
Posts: 77
Ok how do i change the port mythweb listens on? I've read posts but they all seem to be for before rd5e50, i can't find the /etc/http.conf or /etc/apache/http.conf file (can't remember exact directory but i know it didn't exist)

Also, knoppmyth does come with security enabled, it asks for a username and password when trying to access mythweb or webmin. And AFAIK the only password that the install choice was for VNC, mythweb and webmin i choose during install process.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jan 05, 2007 5:45 am 
Offline
Joined: Mon Feb 23, 2004 5:05 pm
Posts: 77
OK so i just tested at now it works? ANd now i'm nervous, i thought that the recent knoppmyth had security enabled. Am i completely and utterly wrong on this?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jan 05, 2007 2:07 pm 
Offline
Joined: Thu Feb 12, 2004 2:54 pm
Posts: 392
Location: Beaumont, CA
Make sure when you connect to mythweb from a browser it asks for your username and password. If not then check out the wiki to enable it. I am also with Verizon and they do block port 80, I use 8080 too.

_________________
ASUS A7N266 Micro-ATX Motherboard
Athlon 2200 processor
512K Kingston PC2100 Memory
MicroAtx Case
2 PVR250's w/remote
eVGA e-GeForce mx4000 (64 Ram with Tv/Out (Svideo))
Lite-on DVD cd-rw combo
120 GB Western Digital


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jan 05, 2007 6:07 pm 
Offline
Joined: Mon Feb 23, 2004 5:05 pm
Posts: 77
It does ask for my password. I think i need to make it more robust tho, so need to change it.

I can't find the http.conf file to change the port from 80, how do i do this in e50?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jan 08, 2007 12:23 pm 
Offline
Joined: Thu Feb 12, 2004 2:54 pm
Posts: 392
Location: Beaumont, CA
You'll find it at /etc/apache/httpd.conf. About line 238 (20%) down according to vi.
Just add
Port 8080
save and restart /etc/init.d/apache restart and try to connect. of course make sure to add :8080 at end of your IP address.

_________________
ASUS A7N266 Micro-ATX Motherboard
Athlon 2200 processor
512K Kingston PC2100 Memory
MicroAtx Case
2 PVR250's w/remote
eVGA e-GeForce mx4000 (64 Ram with Tv/Out (Svideo))
Lite-on DVD cd-rw combo
120 GB Western Digital


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 30, 2008 11:21 am 
Offline
Joined: Fri Jul 29, 2005 1:22 am
Posts: 232
Location: SF East Bay, CA
I'm just figuring out how to setup a dyndns.org account now..
I have two mythboxes on my LAB.. A couple of questions:

1. should I just use a single hostname for both machines? I think the answer is "yes, use the port forwarding on the router to direct to each mythbox."

2. A don't know a port from a hole-in-a-wall.. so I'll ask the idiot question: What port should I use?

Here's the simple overview:
http://en.wikipedia.org/wiki/TCP_and_UDP_port

As a random answer (and maybe "random" is the operative), since "80" is "standard" for http .. maybe I should use 1080 for "mythbox1" and 2080 for mythbox2. Does that get all traffic on these ports to the mythbox? or just the http traffic? Do I setup other ports for ftp & ssh connections? (I said that I was unclear on this!)

Another summary of ports:
http://en.wikipedia.org/wiki/List_of_TC ... rt_numbers
adds to the confusion. Should I worry about or even care what some of these ports are used for?

Thanks!

_________________
// Brian - Hardware:
ASUS P5P800 - P4 3Ghz, 500 GB PATA HD
ASUS P5K-V - P4 Core2 Duo, 500 GB SATA HD
Hauppauge PVR-350, IR Blaster, Comcast Digital Cable
http://tech.groups.yahoo.com/group/KnoppMyth/
KnoppMyth R5F27 >> R5.5


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 30, 2008 6:56 pm 
Offline
Joined: Wed Nov 16, 2005 8:55 pm
Posts: 1381
Location: Farmington, MI USA
BluesBrian wrote:
I'm just figuring out how to setup a dyndns.org account now..
I have two mythboxes on my LAB.. A couple of questions:

1. should I just use a single hostname for both machines? I think the answer is "yes, use the port forwarding on the router to direct to each mythbox."
What exactly are you trying to accomplish? Do you need to access MythWeb on each box (eg. You have 2 BE systems)? As I'm guessing the answer is "No", and also guessing that your boxen are behind some type of NAT device (router), then my answer would be you only need 1 publicly-addressable name and only need to open/forward 1 port. Do you currently own a domain name?

BluesBrian wrote:
2. A don't know a port from a hole-in-a-wall.. so I'll ask the idiot question: What port should I use?

Here's the simple overview:
http://en.wikipedia.org/wiki/TCP_and_UDP_port
And the not-so-simple overview pointed to by that page: http://en.wikipedia.org/wiki/List_of_TC ... rt_numbers I personally use port numbers above the registered tier (1024-49151) so as to not interfere/get confused with some other service I may want to run.

Again, your options can/will depend on what you are trying to accomplish and what equipment you have. http://practicallynetworked.com/ used to be a very good starting point for those new to network setups - Don't know if it still is, but check the HowTo area for things like port-forwarding to get started. If you give an idea of what you want to accomplish, and what equipment/internet connection you have I'm sure you'll receive much more specific information.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 30, 2008 7:26 pm 
Offline
Joined: Fri Jul 29, 2005 1:22 am
Posts: 232
Location: SF East Bay, CA
slowtolearn wrote:
What exactly are you trying to accomplish? Do you need to access MythWeb on each box (eg. You have 2 BE systems)? As I'm guessing the answer is "No",

No, the answer is YES. (sorry, I just had to answer it that way!) Two Backend systems, entirely independent of eachother other than they are on the same LAN..
slowtolearn wrote:
and also guessing that your boxen are behind some type of NAT device (router), then my answer would be you only need 1 publicly-addressable name and only need to open/forward 1 port.

..LinkSys DSL/Router. and I would (1.) use mythweb to access them remotely, (2.) use SSH to telnet into them, to a lesser degree (yes, I will need to tighten up security.. there are plenty of posts here that discuss that!)
slowtolearn wrote:
Do you currently own a domain name?

Negative.. but a hostname at dyndns.org should do fine. (I think.)
BluesBrian wrote:
I don't know a port from a hole-in-a-wall.. so I'll ask the idiot question: What port should I use?

slowtolearn wrote:
Here's the simple overview:
http://en.wikipedia.org/wiki/TCP_and_UDP_port And the not-so-simple overview pointed to by that page: http://en.wikipedia.org/wiki/List_of_TC ... rt_numbers I personally use port numbers above the registered tier (1024-49151) so as to not interfere/get confused with some other service I may want to run.

Again, your options can/will depend on what you are trying to accomplish and what equipment you have. http://practicallynetworked.com/ used to be a very good starting point for those new to network setups - Don't know if it still is, but check the HowTo area for things like port-forwarding to get started. If you give an idea of what you want to accomplish, and what equipment/internet connection you have I'm sure you'll receive much more specific information.

THANKS! I'll check into it!
// Brian


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 01, 2008 10:57 am 
Offline
Joined: Wed Nov 16, 2005 8:55 pm
Posts: 1381
Location: Farmington, MI USA
BluesBrian wrote:
slowtolearn wrote:
What exactly are you trying to accomplish? Do you need to access MythWeb on each box (eg. You have 2 BE systems)? As I'm guessing the answer is "No",

No, the answer is YES. (sorry, I just had to answer it that way!) Two Backend systems, entirely independent of eachother other than they are on the same LAN..
slowtolearn wrote:
and also guessing that your boxen are behind some type of NAT device (router), then my answer would be you only need 1 publicly-addressable name and only need to open/forward 1 port.

..LinkSys DSL/Router. and I would (1.) use mythweb to access them remotely, (2.) use SSH to telnet into them, to a lesser degree (yes, I will need to tighten up security.. there are plenty of posts here that discuss that!)
OK, so in a nutshell (simple version):

* Get a hostname from dyndns.org and point it to your public IP (I don't use them so I don't know the particulars, you'll need some type of client to detect if/when your IP changes and update dyndns.org accordingly)
* Change the port apache is using on BE#1 to let's say 50180.
* On your Linksys router forward port 50180 to BE#1
* Access MythWeb on BE#1 by entering http://<your dyndns host name>:50180
* Rinse, repeat for BE#2 using a different port # (say 50280)

For SSH, you really only need to access 1 box from outside your LAN, then you can SSH into other boxen from there.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Nov 01, 2008 11:41 am 
Offline
Joined: Fri Jul 29, 2005 1:22 am
Posts: 232
Location: SF East Bay, CA
slowtolearn wrote:
* Change the port apache is using on BE#1 to let's say 50180.

OK, I think that I'm almost there... Here is where to change the port that apache is using:
Code:
/etc/apache2/ports.conf

Then, of course, restart apache:
Code:
/etc/init.d/apache2 restart


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 16 posts ] 
Go to page 1, 2  Next



All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu