LinuxQuestions.org
Review your favorite Linux distribution.
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 01-23-2010, 03:23 PM   #1
Broeders
LQ Newbie
 
Registered: May 2008
Posts: 4

Rep: Reputation: 0
forwarding problem with speedport w503v C and MANDRIVA2009.1; http works, ssh not


Objective: access from internet to http and ssh service on LINUX PC with MANDRIVA2009.1 OS in small home net.
Home net: Telekom DSL router w503v version C with direct connections to WindowsXP system, MANDRIVA2009.1 system and Dlink wlan access point.
wlan of w503v not active. MANDRIVA PC has running ssh and http servive, working well in intranet, using fixed IP addresses in same area as w503v (192.168.2.xx).
Did several trials to enable access to MANDRIVA PC from outside via DSL router. Last trial is as follows:
1) http forwarding (Weitereitung) on port 80 to proper 192.168.2.xx
2) ssh redirection (Umleitung) on port 24 to same IP address.
Here it should be noted that http is using predefined web-server in the router and that "ssh" is specified in an empty input box (offer is only second web-server).
For DNS the DynDNS support is successfully applied with manual adjustment of provider IP address.
Result:
- In intranet, i.e. clients with IP address 192.168.2.xx both http and ssh work with resolved DynDNS name.
- In internet http works without observed problems, shh is not responding on port 24. Also ping does not work.
Any hints how to proceed to get ssh working? Does somebody have a working environment for access from internet to intranet with speedport w503v-C?
Thanks in advance for any hint
 
Old 01-23-2010, 03:39 PM   #2
nimnull22
Senior Member
 
Registered: Jul 2009
Distribution: OpenSuse 11.1, Fedora 14, Ubuntu 12.04/12.10, FreeBSD 9.0
Posts: 1,571

Rep: Reputation: 92
Do you realise that port forward is "service independent". It doesn't matter for router what and how you are going to use port. Only one thing you should state - TCP or UDP.

Therefore, you can forward any ports at all, for example
for http TCP ext_IP:2345 - to - int_IP:80
for ssh TCP ext_IP:2400 - to - int_IP:23 (or any, depends on client configuration)

Last edited by nimnull22; 01-23-2010 at 04:12 PM.
 
Old 01-24-2010, 04:31 AM   #3
Broeders
LQ Newbie
 
Registered: May 2008
Posts: 4

Original Poster
Rep: Reputation: 0
Thank you for this explanation. It is additional information for me, but does not solve my problem. I changed the incoming port address from 24 to 4024. This works for ssh in intranet, i.e. from 192.168.2.xx, but not from outside. The same ip-address outside has access to the port 80 for http on my home computer. Is there any information about bugs of the speedport w503v-C router?
 
Old 01-24-2010, 10:48 AM   #4
nimnull22
Senior Member
 
Registered: Jul 2009
Distribution: OpenSuse 11.1, Fedora 14, Ubuntu 12.04/12.10, FreeBSD 9.0
Posts: 1,571

Rep: Reputation: 92
Please try to forward like this:

TCP ext_IP:55000 forward to int_IP:4024

Then try to connect to port 55000 of your router.
 
Old 01-25-2010, 02:49 PM   #5
Broeders
LQ Newbie
 
Registered: May 2008
Posts: 4

Original Poster
Rep: Reputation: 0
After my previous trials I am not too surprised that this does not solve my problem
 
  


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
ssh X11 Forwarding works, but I cannot view webcam through it. - testing with spcagui Anithen Linux - Software 4 06-13-2008 03:47 AM
ssh tricks for http forwarding.. assasukasse Linux - Security 4 09-30-2007 07:35 AM
ssh port forwarding problem. jcombs_31 Linux - Networking 2 07-26-2006 06:22 AM
http works, ssh too, ftp won't :\ ilhbutshm Linux - Networking 4 11-15-2004 12:08 AM
X forwarding via ssh problem kpachopoulos Linux - General 1 11-07-2004 11:05 PM

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

All times are GMT -5. The time now is 04:23 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