Re: Accessing lan from internet

2009-09-03 Thread Dorian Büttner

halcon schrieb:

El miC), 02-09-2009 a las 18:48 +, Daniel Bolgheroni escribiC3:
  

On Wed, 2 Sep 2009, halcon wrote:



Hello

I am administering a small linux/windows lan from my laptop/OpenBSD-4.5
base, without any problem, using # ssh u...@192.168.0.xxx; how could i
accesss the lan from internet?

u...@hostname? u...@external ip?

I have read many docs without success, thanks in advance.

francisco 
  

Are you using these cheap routers available everywhere?

Port forwarding, forwarding, virtual server, etc.



Yes, i am, my gateway is 192.168.0.1 it is a cheap D-Link, behind, there
are 2 Linux boxes (Ubuntu and Slackware), and 2 windows boxes (Windows
Pro 2000 and Windows XP Home).

If i understood well; it could be:

  

ssh [hostname|IP] -- log into hostname as current username
  


ssh Slackware|192.168.0.1

  

ssh au...@[hostname|IP] --log into hostname as auser
  


or ssh j...@slackware|192.168.0.1

  

where IP is the current gateway to your lan.
  


Is it correct, Dhu?
  

I use ssh -l username host ip or fqdn



Re: Accessing lan from internet

2009-09-03 Thread Iñigo Ortiz de Urbina
On Thu, Sep 3, 2009 at 8:08 AM, Dorian B|ttner dorian.buett...@gmx.dewrote:

 halcon schrieb:

  El miC), 02-09-2009 a las 18:48 +, Daniel Bolgheroni escribiC3:


 On Wed, 2 Sep 2009, halcon wrote:



 Hello

 I am administering a small linux/windows lan from my laptop/OpenBSD-4.5
 base, without any problem, using # ssh u...@192.168.0.xxx; how could i
 accesss the lan from internet?

 u...@hostname? u...@external ip?

 I have read many docs without success, thanks in advance.

 francisco

 Are you using these cheap routers available everywhere?

 Port forwarding, forwarding, virtual server, etc.



 Yes, i am, my gateway is 192.168.0.1 it is a cheap D-Link, behind, there
 are 2 Linux boxes (Ubuntu and Slackware), and 2 windows boxes (Windows
 Pro 2000 and Windows XP Home).

 If i understood well; it could be:



 ssh [hostname|IP] -- log into hostname as current username



 ssh Slackware|192.168.0.1



 ssh au...@[hostname|IP] --log into hostname as auser



 or ssh j...@slackware|192.168.0.1



 where IP is the current gateway to your lan.



 Is it correct, Dhu?


 I use ssh -l username host ip or fqdn

 Me too, I find it faster to type.
@halcon: if you still plan to access the LAN from the Internet without DMZ
be sure to at least read any of the ssh best practices thread or articles
out there, AND man sshd and the like.



Accessing lan from internet?

2009-09-02 Thread halcon
Hello

I am administering a small linux/windows lan from my laptop/OpenBSD-4.5
base, without any problem, using # ssh u...@192.168.0.xxx; how could i
accesss the lan from internet?

u...@hostname? u...@external ip?

I have read many docs without success, thanks in advance.

francisco 



Re: Accessing lan from internet

2009-09-02 Thread Daniel Bolgheroni
On Wed, 2 Sep 2009, halcon wrote:

 Hello
 
 I am administering a small linux/windows lan from my laptop/OpenBSD-4.5
 base, without any problem, using # ssh u...@192.168.0.xxx; how could i
 accesss the lan from internet?
 
 u...@hostname? u...@external ip?
 
 I have read many docs without success, thanks in advance.
 
 francisco 

Are you using these cheap routers available everywhere?

Port forwarding, forwarding, virtual server, etc.

--
Daniel Bolgheroni
FEI - Faculdade de Engenharia Industrial
http://www.dbolgheroni.eng.br/mykey

ASCII ribbon campaign ( )
 against HTML e-mail   X
  / \



Re: Accessing lan from internet?

2009-09-02 Thread Rémi Pointel

halcon a icrit :

Hello

I am administering a small linux/windows lan from my laptop/OpenBSD-4.5
base, without any problem, using # ssh u...@192.168.0.xxx; how could i
accesss the lan from internet?

u...@hostname? u...@external ip?

I have read many docs without success, thanks in advance.

francisco 

  

Hello,

you must forward (using the NAT) the port 22 from your external IP 
address to the internal IP address of your network (the system you want 
to join).


Caution : it is not very secure to permit to join your LAN from 
Internet, you should install your servers in a DMZ (for example).


Remi.



Re: Accessing lan from internet

2009-09-02 Thread halcon
El miC), 02-09-2009 a las 18:48 +, Daniel Bolgheroni escribiC3:
 On Wed, 2 Sep 2009, halcon wrote:
 
  Hello
  
  I am administering a small linux/windows lan from my laptop/OpenBSD-4.5
  base, without any problem, using # ssh u...@192.168.0.xxx; how could i
  accesss the lan from internet?
  
  u...@hostname? u...@external ip?
  
  I have read many docs without success, thanks in advance.
  
  francisco 
 
 Are you using these cheap routers available everywhere?
 
 Port forwarding, forwarding, virtual server, etc.

Yes, i am, my gateway is 192.168.0.1 it is a cheap D-Link, behind, there
are 2 Linux boxes (Ubuntu and Slackware), and 2 windows boxes (Windows
Pro 2000 and Windows XP Home).

If i understood well; it could be:

ssh [hostname|IP] -- log into hostname as current username

ssh Slackware|192.168.0.1

ssh au...@[hostname|IP] --log into hostname as auser

or ssh j...@slackware|192.168.0.1

where IP is the current gateway to your lan.

Is it correct, Dhu?