LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 11-01-2010, 04:08 AM   #1
christophernaveen
LQ Newbie
 
Registered: Nov 2010
Posts: 2

Rep: Reputation: 0
SSH through ADSL router


Hello,

I would appreciate, if you could help me with my request.

1) I have an ADSL router for internet and RHL box sitting on the southside of the southside of the router with local IP configured.

I have to access the Linux box through the internet.

I have tried to port forward the SSH port on the ADSL router, that is not working.

I would appreciate, if someone could suggest me what should I do?

Many thanks,
Christopher
 
Old 11-01-2010, 04:25 AM   #2
jamesbon
Member
 
Registered: Jun 2010
Posts: 147

Rep: Reputation: 9
Quote:
Originally Posted by christophernaveen View Post
I have tried to port forward the SSH port on the ADSL router, that is not working.
Tell what exactly you did post your IPTABLE rule and also the IP of RHL box.
What were the steps which you tried and how you came at conclusion that it did not worked.
 
Old 11-01-2010, 05:49 AM   #3
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
In addition to the answer from jamesbon :
Make sure port 22 isn't blocked by your provider or the firewall from where you are connecting.

Kind regards
 
Old 11-01-2010, 09:41 AM   #4
ganesh24pal@gmail.com
Member
 
Registered: Jun 2010
Location: Mumbai, India
Distribution: CentOS , Fedora, Open Suse
Posts: 193
Blog Entries: 5

Rep: Reputation: 3
Hi Crist,

Please clear what is requirement.
 
Old 11-02-2010, 06:18 AM   #5
christophernaveen
LQ Newbie
 
Registered: Nov 2010
Posts: 2

Original Poster
Rep: Reputation: 0
Hello Ganesh

Let me explain my issues.

Linux box is running a application which can accept client connections on the port 8101.

I have an ADSL router, Linux box sits behind this ADSL router. In the ADSL I have forwarded port 22 and 8101.

So that client can connect to the Linux application through the internet with the wan IP and port 8101.

Myself can connect from internet to this Linux box through wan IP and 22 for any management activities.

Hope I have made my request clear

Thanks
Chris
 
Old 11-02-2010, 06:21 AM   #6
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Quote:
I have an ADSL router, Linux box sits behind this ADSL router. In the ADSL I have forwarded port 22 and 8101.
So that client can connect to the Linux application through the internet with the wan IP and port 8101.
You still have to connect to port 22, since 22 is forwarded to 8101


Kind regards
 
Old 11-02-2010, 09:41 AM   #7
ganesh24pal@gmail.com
Member
 
Registered: Jun 2010
Location: Mumbai, India
Distribution: CentOS , Fedora, Open Suse
Posts: 193
Blog Entries: 5

Rep: Reputation: 3
Hi christophernaveen,

Simply you have to nating on your ADSL router toward your linux box local IP. It will fulfill your requirement.
 
  


Reply



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 do I set up a laptop as a router to connect wirelessly to my ADSL router hairysocks Linux - Networking 12 12-20-2009 06:51 AM
Creating a bridge from ADSL router to WLAN router linuxlainen Linux - Networking 7 02-12-2009 11:20 AM
ADSL Routers Setup- Microsom Deskporte router 100 and Planet ADSL modem router mabonline Linux - Hardware 1 02-27-2004 05:36 PM
Configuring ADSL coonection using ADSL router... manu2004 Slackware 3 01-04-2004 04:42 PM
ADSL Router + Linux Router + LAN = HELP!!! linuxlois Linux - General 2 09-16-2003 08:24 AM

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

All times are GMT -5. The time now is 10:54 AM.

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