web services over adsl

Giannis Vrentzos gvre at gvre.gr
Wed Aug 18 19:34:55 EEST 2004


Frixos Kopsacheilis wrote:
> Giannis Vrentzos wrote:
> 
>> Frixos Kopsacheilis wrote:
>>
>>> Hi ppl.
>>> Exw adsl 256/128 apo vivodi me modem to prestige 650.
>>> Thelw na treksw apache sto pc, (Gentoo linux) alla kollaw sto NAT.
>>> To prestige exei NAT rythmiseis, opou tou lew na kanei forward ola ta 
>>> ports sthn eswterikh address tou pc (192.168.1.2). Trexw ton apache 
>>> kai vlepw kanonika th selida an dwsw ston browser to 192.168.1.2, an 
>>> omws dwsw thn ekswterikh ip pou mou dinei h vivodi, tote me vazei sto 
>>> web interface tou Prestige.
>>>
>>> Vasika rwtaw an exei kaneis to idio (hardware) setup kai exei 
>>> asxolithei me to zhthma. Den paizei thema iptables, giati to idio 
>>> symbainei kai me ACCEPT policy
>>
>>
>>
>> Ta requests pou proerxonte apo ton e3w kosmo ginonte kanonika forward 
>> sthn eswterikh ip. Esy 8eleis na dineis thn pragmatiki ip kai na se 
>> vgazei ston apache? An nai, gia poio logo to 8eleis ayto?
>>
>> Gvre
>>
>>
> Giati thelw na deiksw kapoies selides se ena filo kai tha voleye poly na 
> tou pw "phgaine sthn tade dieythinsh kai koita" anti na paw egw spiti 
> tou me ta arxeia ana xeiras. Epishs, to skeftomai kai gia remote 
> management tou pc mesw ssh. Skeftika oti mporei na desmeyei to prestige 
> to port 80 gia dikh toy xrhsh (web configurator) kai evala ton apache na 
> akousei sto port 81, alla ean dwsw ston browser <pragmatikh ip:81> mou 
> leei "connection refused" asxeta me to ti kanw me to iptables.
> 

Prepei na kaneis unblock to port 80 sto prestige (den 3erw an exei 
tetoia epilogh) kai na kaneis forward oti requests erxontai gia to port 
80 sthn ip 192.168.1.2. Apo ton e3w kosmo 8a paizei mia xara. Gia na 
exeis prosvash ston apache apo to eswteriko diktyo 8a prepei na dineis 
thn eswterikh ip ( 192.168.1.2 ) kai oxi thn pragmatikh.

Gvre




More information about the Linux-greek-users mailing list