Re: lug-bg: Security Win2000 Terminal Client over internet
- Subject: Re: lug-bg: Security Win2000 Terminal Client over internet
- From: danchev@xxxxxxxxx (George Danchev)
- Date: Thu, 23 Jan 2003 13:47:30 +0200
On 23 01 2003 12:01, Ïåòúð Ìàðêîâ wrote:
> "Êàê äà ñè îðãàíèçèðàì ñèãóðíà êîìóíèêàöèÿ ÷ðåç Ëèíóêñ
> ìàðøðóòèçàòîðè/ðóòåðè?"
Îê,
åòî ïàê (íàäÿâàì ñå ïî-ÿñíî;). Íàïðèìåð SQL ñåñèÿ ñ PostgreSQL ïðåç SSH òóíåë.
localhost - 1.1.1.1 (client)
--------------------------------
psql, ssh1, sshd.
( L1 ) -L 5432 : 2.2.2.2 : 2345
( R1 ) -R 2345 : 1.1.1.1 : 5432
remotehost - 2.2.2.2 (server)
-----------------------------------
PostgreSQL, ssh2, sshd
( L2 ) -L 5432 : 1.1.1.1 : 2345
( R2 ) -R 2345 : 2.2.2.2 : 5432
Íà 1.1.1.1 ñå èíèöèèðà ëîêàëíà êîíåêöèÿ êúì ïîðò 5432,
(psql -p 5432 -h 1.1.1.1) êîÿòî
ssh1 ïðèõâàùà è forward-âà (ïî secure channel)
êúì ïîðò 2345 íà õîñò 2.2.2.2 ( L1 ). Òàì
ssh2 ìó å êàçàíî äà ñëóøà îòäàëå÷åíèÿ ïîðò 2345 íà õîñò 1.1.1.1
ïðèõâàùà è ãî forward-âà êúì ëîêàëíèÿ ñè ïîðò 5432 (R2).
Òàì ñëóøà PostgreSQL è îòãîâàðÿ ëîêàëíî íà ïîðò 5432 íà õîñò 2.2.2.2, êîÿòî
ssh2 forward-âà êúì îòäàëå÷åíèÿ ïîðò 2345 íà 1.1.1.1 ( L2). Òàì
ssh1 ñëóøà è forward-âà êúì ëîêàëíèÿ ñè 5432 ( R! ). Ïî-íàòàòúê ïîçíàé ;-)
(Äàëè îáúðêàõ ìíîãî íåùàòà). Îñòàâà äà ñå ïðî÷åòå man ssh íàïðèìåð.
--
Greets,
fr33zb1
============================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
============================================================================
|