For sometime I havent been away from home, so when I finally away from home, I realised how much stuff I have in my personal pc at home and the need to use and access them.
So some configuration has to be done. On my server machine,
1) apache running - theortically this should be enough for receiving and storing files.
2) ftp running - huge files would be more of a convience
3) ssh - then when I wanted more control I installed ssh. its almost like a full control of your linux machine just through this protocol.
One of the hippy thing in the nerd community could be the NX server.
It works through a special ssh account, supports the X protocol with some special compression that makes it fast through slow links. If you run their nx client, you will notice that it will support rdp or remote deskop for windows machine (which is how much current network is configured, server and windows machine behind the router).
Check out this link on instalation of FreeNX on debain machines.
With this setup, it seems I had almost everything I needed… but not yet… most of my personal files is on my windows machine which… is not turned on 24/7. Time to use the
wake-on-lan feature. Enable power on by wakeonlan in the bios.
On my debian server, apt-get install wakeonlan. Running the command “wakeonlan ma:c :ad:dr” would turn on my pc. Read this related article,
So this is how my current situation is. I do recall the days where we use other methods to do the same thing.
i)protocol spoofing
I ran a vnc server, but because the firewall in my campus was very restrictive, the port to listen on I changed to 443, spoofing it as a ssl protocol. 21, 8080 worked too those days. Another trick I had was setting up a IM account and commands send thru it could trigger commands to be ran at home.
ii)compression, encrpytion, tunneling
Next I went on experimenting tunnelling or relaying ports, packets and such. One successful implementaton I did was using zebedee tunnel. Just opening a port, I had multiple channels which were relayed from other ports allowing me to access more services (ftp, vnc, vnc-http, http,telnet,proxy)
iii)reverse proxy/ tunneling
Those methods require to have my pc turned on everytime there is an expectation of the usage of my home pc. Now one step further is to allow resource in school to be used when I reached home. 1st successful method a) reverse vnc, connecting a machine to home. b)then creating a reverse zbd tunnel. c)creating a service which “calls homes” to try estiblish connections at scheduled periods
iv)vpns
As restrictions was got around, vpns was the next stuff to tried and was quite successful during those times. 1 was Tinc, and another is OpenVPN. when the link was estiblished, 2 remote networks seems to be merged.
commerial softwares: remoteanywhere, gotomypc,pcanywhere
Recent Comments