Solved

HOWTO Reroute incoming traffic to port 22 of a Linux box in a Windows network

Posted on 2003-10-24
12
391 Views
Last Modified: 2010-04-13
Howto configure rerouting incoming outbound traffic to a Linux box on the LAN using port 22 of that Linux box ?
The network architecture is as follows :
   ADSL router => Windows2000 DMZ (server) => switch : LAN

Somebody needs to connect to a Linux box socket 192.168.2.125 : 22.  The router has a LAN address 192.168.1.1  The DMZ LAN interface has an IP address = 192.168.1.2   Its internal LAN interface uses 192.168.2.2
The target machine = 192.168.2.125:22
0
Comment
Question by:pascalvercammen
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 4
12 Comments
 
LVL 11

Expert Comment

by:ewtaylor
ID: 9615983
Just tell the router to forward any port 22 traffic to ip 192.168.2.125 what kind of router is it?
0
 

Author Comment

by:pascalvercammen
ID: 9616071
Well that is a problem because we do not have tools to configure the Cisco router, it is owned by a Belgian Telecom company and password protected.  Is there no configuration possible on the Windows 2000 server ?
0
 
LVL 11

Accepted Solution

by:
ewtaylor earned 500 total points
ID: 9616237
You are using rras on the 2k machine? If so check this link out http://www.microsoft.com/technet/treeview/default.asp?url=/technet/columns/cableguy/cg0503.asp
0
Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 

Author Comment

by:pascalvercammen
ID: 9616559
Great article but how can I test the rerouting to be sure that traffic arrives at port 22 ?
0
 
LVL 11

Expert Comment

by:ewtaylor
ID: 9616695
Try telnetting from outside the router.
0
 

Author Comment

by:pascalvercammen
ID: 9616739
Telnet uses port 23 and this is not open at the Router.  How can I simply test the NAT/port mapping :
80.201.246.213:8080 is mapped internally to 192.168.2.125:22 on the public interface (192.168.1.2)
Note that the network architecture is as follows :
The router has a LAN address 192.168.1.1  The DMZ public interface has an IP address = 192.168.1.2   Its internal LAN interface uses 192.168.2.2
0
 
LVL 3

Expert Comment

by:lst-yves
ID: 9616916
You can specify a port after the telnet command, ie :

If you wanted to test that a web browser service is up :

At a command promt (start, run, type : CMD, ENTER) :

telnet 80.201.246.213 8080

So if your port 8080 is forwarded properly, it should answer. Note that is you have fix-up protocol enable on your cisco, it might show up weird things, or *** ***, thats normal.
0
 
LVL 11

Expert Comment

by:ewtaylor
ID: 9616919
telnet can use whatever port you specify it to use
in this case you could telnet 80.201.246.213 22 would telnet to port 22 of this ip address Is this person going to access the linux box from inside the lan or from outside?
0
 

Author Comment

by:pascalvercammen
ID: 9617328
From outside the LAN, (WAN)
0
 

Author Comment

by:pascalvercammen
ID: 9809287
I would like to ACCEPT but I get always the same message "you cannot accept" when I hit the ACCEPT button
0

Featured Post

Edgartown IT Case Study

Learn about Edgartown's quest to ensure the safety and security of the entire town's employee and citizen data. Read the case study!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Windows Explorer and WinZXip 4 534
P2V Windows Server 2000 - Network Issue 14 58
VMware ESXi 6:  Migrate  Windows 2000 Server guest from ESXi 4.1 5 728
OLD CPUs 12 109
NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
This article describes a method of delivering Word templates for use in merging Access data to Word documents, that requires no computer knowledge on the part of the recipient -- the templates are saved in table fields, and are extracted and install…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question