networking via proxy ???

Symeonidis Alexandros admin at yourmail.gr
Sat Feb 26 05:47:29 EET 2005


ola kala simfona me to plan B pu protinis...

omos ekana ena lathos...
de diefkrinisa pos distixos den ine dinaton na alaksi to hardware...
opote deftero eth den pezi na bi puthena...

na su dwsw diefkrinisi ti akrivos enoo pos exw ke boro na kanw, just in case
pu den imun safis...


iparxi to eksis hardware (anaferome se networking mono, ta ipolipa de nomizo
pos exun opiadipote sxesi...):

+ The Internet
|
|
+ Router / Switch / whatever ...
|
|
+ Box 1 [eth0, 1 IP, 67.xxx.xxx.10 (ine valid ke sto
|   lan ke sto internet - ine real ip dld !!!), netmask
|   255.255.255.0, BCast 67.xxx.xxx.255, Gateway
|   67.xxx.xxx.1 ]
|
|
+ Box 2 [eth0, 1 IP, 69.xxx.xxx.11 (ine valid ke sto
|   lan ke sto internet - ine real ip dld !!!), netmask
|   255.255.255.0, BCast 69.xxx.xxx.255, Gateway
|   69.xxx.xxx.1 ]
|
+ ... (other network resources from the lan, but mainly servers and boxes
not owned by me)


Opote, to kathe box, exi to diko tu statiko real IP, ke ine prospelasimo apo
to inet apefthias, ke episis toidio exi prosvasi apefthias sto inet...

Hardware den boro na prosthesw...

To main IP tu box1 de bori na piraxti gia nat i kati tetio, kathws
xrisimopiite apo polla services ke isws prokipsun probs...   (ke sta dio
box, trexun peripu ta idia services...
opote an ekana nat to ena me to alo, tha ixa sovaro prob...)

Thelw to box1 na sinexisi na liturgi aproskopta, xwris kamia epiptosi se
otidipote tha gini logo rithmisewn, (dld na sinexisi na ine accessible ke
mesw lan ke mesw inet apefthias both ways (send-receive...))

Thelw to box2 na sinexisi ki afto na liturgi san na min exi simvi apolitos
tpt, dld ola ta ports ktlp na ine accessible mesw inet sto real ip tu, ke
apo afto na apantai,
--- omos, epidi prepi na kani kapies sigekrimenes diadikasies mesw kapion
server, thelw otan to idio to box sindeete px se enan sigekrimeno ftp, na
fenete pos sindethike apo ton box1, ke osa stelni/perni, se opia port ke na
to kani, na ginete mesw tu box1, ke to box1 na fenete remotely...

me pio tropo tha borusa na petixo to stoxo mu ???
den prokite mono gia ftp se kapio sigekrimeno server, an itan afto, estina
enan anonymous socks proxy ston box1, ke empena mesw aftu apo to box2...
thelw me kapio tropo osa prokite na ginun apo ke pros kapio sigekrimeno
domain i ke ip, na ginonte mesw box1... se opiodipote port...

hint: kserw ta sigekrimena remote ip ke domain pu epithimo na prospelasw
etsi...


elpizo na mi spatalisa ton politimo xrono su pu
me diavases, ke na min to metanioses pu
asxolithikes me to problima mu...

ke mono pou me diavases, to ektimo ke s efxaristw.
elpizo se kapia lisi/apantisi !!!

thanx again !!!



"Kyriakos Oikonomakos" <kiriakos at obscurenet.com> wrote in message
news:mailman.1627.1109353156.375.linux-greek-users at lists.hellug.gr...
> On Fri, 2005-02-25 at 18:03 +0200, Symeonidis Alexandros wrote:
> > Tha ithela na kanw to eksis:
> >
> > inet >> box1 >> box2 << inet
> >
> > dld na rithmiso to box2, na bori na stili paketa mono mesw tu box1, ke
na
> > fenete os to box1, ala na borun na to prospelasun ke os box2 apefthias
apo
> > to inet...
> >
> > vevea tha pite pos to na to kalis px sto ip tu box2 ke na su apantai os
box1
> > de steki, omos den thelw afto...
> >
> > thelw na liturgi kanonika san na ine standalone se ola,
> > ektos apo otan to idio prokite na xrisimopiisi to net...
> > (px for updates, etc...)
> >
> >
> Mia lysh (an to link pros to internet einai koino gia to box1 kai box2)
> einai h parakatw:
>
> [Internet]----[(eth0) box1 (eth1)]----[(eth0) box2]
>
> kane ena ethernet bridge metaksy eth0:box1 kai eth1:box1.
> Etsi olo to traffic gia to box2 tha pernaei transparently apo to box1,
> to box2 tha exei thn dikia tou ip klp klp klp kai an thes mporeis na
> kaneis kai filtering ton paketwn ...
>
> http://bridge.sourceforge.net/
> http://bridge.sourceforge.net/links.html
> http://www.tldp.org/HOWTO/Ethernet-Bridge-netfilter-HOWTO-5.html
>
>
> An apo thn allh exeis diaforetika links pros to internet tote kane
> to ekshs
>
> [Link 1(eth0)]----+
>                   |[box1(eth2)]----[box2]
> [Link 2(eth1)]----+
>
> Kane configure to nat wste by default oti paketa erxontai apo to
> box2 tha vgainoun mesw tou box1 sto link1 kai oti paketa erxontai apo to
> link2 tha anakateuthinotai sto box2. Otan to connection me to box 2 mesw
> tou link2 pragmatopoih8ei tote anagkastika oi apanthseis apo to box2
> pros ta eksw gia to connection auto tha pane apo to link2.
>
> http://www.netfilter.org/documentation/HOWTO//NAT-HOWTO.html
>
>
> PS: Den eimai (poly) kakos anthrwpos. Tha se voithisw an prosekseis ti
> tha rwthseis.
>
> -- 
> Kyriakos Oikonomakos <kiriakos at obscurenet.com>
>





More information about the Linux-greek-users mailing list