Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Topic Options
#188428 - 06/11/2003 14:52 Help needed on port forwarding
Half_Geek
member

Registered: 03/12/2002
Posts: 119
Loc: Stratdord-upon-Avon, UK
I am getting lost in routers and need some of the expert help so ably demonstrated here (is that creeping enough?)..

I have a server on my home network that I can happily access through http://192.168.0.17:12078/tags and similar queries. I would like to be able to access it from further afield through my router. I can set up port forwarding from my WAN IP address port 7777(say) to 192.168.0.17 but I don't know how to forward it to port 12078 in particular. Can anyone give me some pointers if this is possible? Hopefully, I have made sense so far!? (I did optimistically try http://myrouterip:7777:12078/tags but, not surprisingly, no joy)

My router is a Netgear DG824M if that makes any difference?

Any pointers you can give gratefully received...

Thanks

Nick

Top
#188429 - 06/11/2003 15:09 Re: Help needed on port forwarding [Re: Half_Geek]
genixia
Carpal Tunnel

Registered: 08/02/2002
Posts: 3411
From a quick glance at the pdf manual, it doesn't appear that the DG824 allows you to redirect to a different port number.

Why don't you just forward myrouterip:12078 to 192.158.0.17:12078 ?
_________________________
Mk2a 60GB Blue. Serial 030102962 sig.mp3: File Format not Valid.

Top
#188430 - 06/11/2003 15:13 Re: Help needed on port forwarding [Re: Half_Geek]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
Is there some particular reason you need to have 7777 forwarded to 12078, and can't just access router:12078 to forward to server:12078? My router (Linksys) can only do router:x -> server:x , not router:x -> server:y. I've personally never seen a router (in the "home user" category, anyway) that has that kind of flexibility.

If all else fails, you could have router:7777 forward to an Apache web server on server:7777, and use Apache's mod_proxy to "reverse proxy" to the other server on server:12078.
_________________________
- Tony C
my empeg stuff

Top
#188431 - 06/11/2003 16:11 Re: Help needed on port forwarding [Re: tonyc]
V99
member

Registered: 12/01/2002
Posts: 192
Loc: Phoenix, AZ
SMC's "home" routers can do router:x -> server:y... at least the 7004VWBR can, presumably all their modern products will too.

Top
#188432 - 06/11/2003 16:17 Re: Help needed on port forwarding [Re: genixia]
Half_Geek
member

Registered: 03/12/2002
Posts: 119
Loc: Stratdord-upon-Avon, UK
Why don't you just forward myrouterip:12078 to 192.158.0.17:12078 ?

Ah! Thanks!

It was my lack of knowledge! It occurred to me just as you must have been writing it, that I had misunderstood port forwarding. 7777 was just my random choice of port. I thought I was mapping myrouterip:7777 to 192.168.0.17 with no ports, and then had to map to port 12078 afterwards. Makes sense now! I have forwarded myrouteip:12078 to 192.168.0.17 and it seems to work fine now. I can access the server via my external IP address now as well! Music wherever I am!!

Cheers for the help!

Nick

Top
#188433 - 06/11/2003 16:35 Re: Help needed on port forwarding [Re: Half_Geek]
Half_Geek
member

Registered: 03/12/2002
Posts: 119
Loc: Stratdord-upon-Avon, UK
Actually - now I understand this bit of port forwarding, it raises another question in my mind.

If I have 2 units in my network using port 12078, I can address them with, say, 192.168.0.17:12078 and 192.168.0.18:12078. But from an external source if I forward myrouterip:12078 to 192.168.0.17:12078 is there any way I can also access 192.168.0.18:12078 externally?

Nick

Top
#188434 - 06/11/2003 17:04 Re: Help needed on port forwarding [Re: Half_Geek]
andy
carpal tunnel

Registered: 10/06/1999
Posts: 5914
Loc: Wivenhoe, Essex, UK
Not via port 12078, no.

P.S. that isn't quite true, you could use a load balancing router/switch to share the incoming traffic to port 12078 between 192.168.0.17 and 192.168.0.18, but I don't think that is what you were asking for.
_________________________
Remind me to change my signature to something more interesting someday

Top
#188435 - 06/11/2003 17:09 Re: Help needed on port forwarding [Re: Half_Geek]
djc
enthusiast

Registered: 08/08/2000
Posts: 351
Loc: chicago
not with your current router hardware, no. there are plenty of products that will do this, though. they range from free (if you're willing to devote an old PC to the project), on upwards in price.

for home use, many will advocate a particular {linux,openbsd,etc} distribution that is geared toward routing and firewalling. i am partial to a free version of a commercial firewall, gnatbox light. it works very well, is ICSA certified, and has an upgrade path to their commercial line if/when necessary. i have it running on an old pentium pro 200, and it works like a champ.

--dan.

Top
#188436 - 06/11/2003 17:34 Re: Help needed on port forwarding [Re: Half_Geek]
genixia
Carpal Tunnel

Registered: 08/02/2002
Posts: 3411
Not simply. You could probably do a port redirection on one of the internal servers to achieve the same aim though, assuming you're running a credible server OS or WinXP;

On router:
routerip:12078 -> 192.168.0.17
routerip:12079 -> 192.168.0.18

On 192.168.0.18:
192.168.0.18:12079 -> 192.168.0.18:12078

_________________________
Mk2a 60GB Blue. Serial 030102962 sig.mp3: File Format not Valid.

Top
#188437 - 07/11/2003 01:07 Re: Help needed on port forwarding [Re: tonyc]
trs24
old hand

Registered: 20/03/2002
Posts: 729
Loc: Palo Alto, CA
Tony, what model of Linksys router do you have? I have a Linksys BEFW11S4 (2 years old now) and it can translate ports from one external port to a different internal port. I also have a little mini 4-port router from NetworkEverywhere (division of Linksys) that can do the same. I assumed the entire line of Linksys routers had the same configuration capability. I guess that maybe isn't the case. - trs
_________________________
- trs

Top
#188438 - 07/11/2003 06:39 Re: Help needed on port forwarding [Re: genixia]
Half_Geek
member

Registered: 03/12/2002
Posts: 119
Loc: Stratdord-upon-Avon, UK
Thanks for the posts - I think I get the general gist, but I don't think it is quite what I am after...

The server I was talking about was just a music server for Rio Receiver/streaming rather than another PC. The firewall/NAT is the one in the router.

The multiple port question was more along these lines - my router forwards the ports that Messenger uses to my main PC's IP address, so Messenger works fine from there through the firewall. However, if I want to use Messenger fully on my webpad, the ports are now forwarded to the wrong PC. Without changing the port forwarding everytime, is there any way I can redirect to the same PC that the original request came from?

The network is the Netgear DG824M wired direct to the main PC running XP Home, and wirelessly to the Webpad running 98SE.

Am I missing something else (very likely )

Cheers

Nick

Top
#188439 - 07/11/2003 06:57 Re: Help needed on port forwarding [Re: Half_Geek]
andy
carpal tunnel

Registered: 10/06/1999
Posts: 5914
Loc: Wivenhoe, Essex, UK
Sounds like you need a router than has specific support in it's NAT code to fully support using Messenger on two different machines behind the router. The router would then analyse incoming Messenger traffic and make sure it gets to the right client machine.
_________________________
Remind me to change my signature to something more interesting someday

Top
#188440 - 07/11/2003 09:05 Re: Help needed on port forwarding [Re: trs24]
tman
carpal tunnel

Registered: 24/12/2001
Posts: 5528
Ditto for my Buffalo APs. But then again, it's actually just a very stripped down Linux install with iptables so it's just whether they put an interface in.

Top
#188441 - 07/11/2003 10:26 Re: Help needed on port forwarding [Re: andy]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5682
Loc: London, UK
If you've got a router that supports UPnP, then Messenger will negotiate a forwarded port automatically. I've not tried it with two PCs, but I see no reason why it wouldn't work.
_________________________
-- roger

Top
#188442 - 07/11/2003 14:50 Re: Help needed on port forwarding [Re: Roger]
Half_Geek
member

Registered: 03/12/2002
Posts: 119
Loc: Stratdord-upon-Avon, UK
Aha! I've enabled uPnP now (it was defaulted off), so I will have to try it from both PCs and see if it will work - thanks!

Is it me, or does uPnP slow down Internet Explorer? It seems to take longer to fire up a page with uPnP on... Messenger seems to check for my e-mails just as quick though!

Nick

Top
#188443 - 08/11/2003 03:53 Re: Help needed on port forwarding [Re: Half_Geek]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5682
Loc: London, UK
Is it me, or does uPnP slow down Internet Explorer?

Shouldn't do. I wonder if it uses UPnP to find a web cache. What have you got configured under Tools / Internet Options / Connections / LAN Settings?
_________________________
-- roger

Top
#188444 - 08/11/2003 07:42 Re: Help needed on port forwarding [Re: Roger]
Half_Geek
member

Registered: 03/12/2002
Posts: 119
Loc: Stratdord-upon-Avon, UK
What have you got configured under Tools / Internet Options / Connections / LAN Settings?

Nothing is ticked in that box at all, including "automatically detect.....". Should it be?

To clarify my comment, now I have played it for a bit, it seems to wait a bit before it puts a page up, but puts it all up in one go - overall time may be no more, it just seemed it when the initial pause is longer...

It does seem to have sorted out messenger though Haven't tried it fully though yet... Thanks for the help on that bit. I seem to have drifted slightly from my original aim!

Nick

Top
#188445 - 08/11/2003 08:39 Re: Help needed on port forwarding [Re: Half_Geek]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5682
Loc: London, UK
Nothing is ticked in that box at all, including "automatically detect.....". Should it be?

I've got nothing checked in there at all, and I've not noticed any slowdown, so it's probably OK.
_________________________
-- roger

Top
#188446 - 08/11/2003 09:50 Re: Help needed on port forwarding [Re: Roger]
Half_Geek
member

Registered: 03/12/2002
Posts: 119
Loc: Stratdord-upon-Avon, UK
It's probably in my head (it was pretty marginal anyway)! Thanks for the help...

Nick

Top