That solution does it , but what if you just wanna forward all connections from My Host ( real IP) to the box behind the router which has a non rfc ip say 192.* , so i cant just port forward everything , do i put an acl that permits any to any from me , or NAT , say is a cisco router .

Didier Casse wrote:

On Tue, 23 Sep 2003, Rodolfo J. Paiz wrote:



At 00:44 9/23/2003, you wrote:



How do you let's say ssh/ftp a Linux box which is behind a router?

Let's say the WAN Is xxx.xxx.x.x and the Linux box's ip is given by the
router to be 192.168.2.34

How do I ssh to it from outside the LAN? Thanks for any help provided.


It's called port forwarding, generally, where the router forwards connections on port 22 destined for a particular external, public IP address to another, internal IP address. Done all the time.

Need more details? Must give more specific info, such as type/make/model of router and whether you want _all_ SSH traffic forwarded or not.






Alright. So if it's the router's job, then I can simply look it up in the router's manual! :-) Thanks Rodolfo for the hint.



regards,

Didier
---
PhD student


Singapore Synchrotron Light Source (SSLS)
5 Research Link,
Singapore 117603

Email: [EMAIL PROTECTED] or [EMAIL PROTECTED]
Website: http://ssls.nus.edu.sg







-- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to