View previous topic :: View next topic |
Author |
Message |
loopx Advocate
Joined: 01 Apr 2005 Posts: 2787 Location: Belgium / Liège
|
Posted: Fri Sep 16, 2005 8:00 pm Post subject: What/How must i use for get internet through firewall |
|
|
Hi, i need help because, i can't get a fully open connection to the internet from school. Cause: firewall, http restriction.
A little diagram
-----------------
ME_________GATEWAY_____[PROXY]______LOCKED_NET=====MY_SERVER====UNLOCKED_NET
___ = existing connection
=== = what i want to do
An alternative: i can use a proxy for get internet all the day
First: i don't know what must i use for do this. Proxy ? SSH? HTTPTUNNEL? VPN ?
I just want to :
-type "www.google.be" in my browser and get the web page without filter.
-get connectivity with amsn (or other, by using MY port on MY connection internet (from MY_SERVER)
I don't understant how a proxy work. When i type "www.google.be", where is send the request ??? To the DNS in my /etc/resolv.conf OR to the proxy ???
If i make a proxy, how can i pass through another proxy ???
exemple:
----------
ME__proxy___MY_proxy___net
???????????????????????????????????????????
So, i become crazy with tunneling... I don't know what must i do...
I don't know use ssh tunnel for access to web page... I don't want to type "http://localhost" in my browser for connect to www.google.be
I need a lot of HOWTO _________________ Mon MediaWiki perso : http://pix-mania.dyndns.org
Last edited by loopx on Sat Sep 17, 2005 4:08 pm; edited 1 time in total |
|
Back to top |
|
|
Dlareh Advocate
Joined: 06 Aug 2005 Posts: 2102
|
Posted: Fri Sep 16, 2005 8:22 pm Post subject: |
|
|
Use httptunnel to get to your box with e.g. ssh (if you can't ssh directly)
Then you can possibly use regular msn through an ssh tunnel, though it would probably be much simpler just to run a console msn client on your box (accessible with ssh). Or perhaps VNC, FreeNX, or X forwarding if you are allowed to install such software on school computers...which I doubt, and would probably be too slow anyway.
A proxy works by redirecting all web (http port 80 and https port 443) through it. It is possible to set up your own strictly web-based proxy on your server.... this is typically used to get around porn filters
If you have a windows server you can use this well-known CGI :
http://www.peacefire.org/circumventor/simple-circumventor-instructions.html
Or the newer PHP-based antifilter:
http://paperwrist.freeserverhost.com/bypass.php
There's probably many more... _________________ "Mr Thomas Edison has been up on the two previous nights discovering 'a bug' in his phonograph." --Pall Mall Gazette (1889)
Are we THERE yet? |
|
Back to top |
|
|
loopx Advocate
Joined: 01 Apr 2005 Posts: 2787 Location: Belgium / Liège
|
Posted: Sat Sep 17, 2005 12:46 pm Post subject: |
|
|
in fact, i'm in a boarding school.
I want to configure a server who will be at home (under Gentoo) and me, at my boarding school with my portable under gentoo.
So, i will use httptunnel like this:
Code: |
hts -F localhost:22 80
htc -F 22 ip_serveur:80
|
ssh loopx@localhost
I don't see how use ssh tunnel to pass through the httptunnel and join the msn server on an other port.. _________________ Mon MediaWiki perso : http://pix-mania.dyndns.org |
|
Back to top |
|
|
loopx Advocate
Joined: 01 Apr 2005 Posts: 2787 Location: Belgium / Liège
|
Posted: Sat Sep 17, 2005 4:37 pm Post subject: |
|
|
I'm now looking for make a proxy server. It's my first proxy so what must i use (what programs).
A little question:
I will probably use httptunnel (port 80) with ssh for administration but can i use my proxy on port 80 too ?
In fact, i don't know how i will use my proxy. Which port must i use. I need 2 open port if i understand. One for administration, and another for proxy...
I just know that port 80 is open
EDIT: if i can use ssh to make proxy socks 5, using port 80 to pass through the firewall, it's good. But i have tried without success
(see https://forums.gentoo.org/viewtopic-t-379867-highlight-.html (french)) _________________ Mon MediaWiki perso : http://pix-mania.dyndns.org |
|
Back to top |
|
|
Dlareh Advocate
Joined: 06 Aug 2005 Posts: 2102
|
Posted: Sat Sep 17, 2005 6:42 pm Post subject: |
|
|
Actually, creating seperate http tunnels will probably be easiest. Your proxy should be on e.g. port 8080, then you would:
hts -F localhost:8080 80
htc -F 8080 ip_serveur:80
Then you can configure your browser to go through the proxy localhost:8080 _________________ "Mr Thomas Edison has been up on the two previous nights discovering 'a bug' in his phonograph." --Pall Mall Gazette (1889)
Are we THERE yet? |
|
Back to top |
|
|
loopx Advocate
Joined: 01 Apr 2005 Posts: 2787 Location: Belgium / Liège
|
Posted: Sat Sep 17, 2005 6:52 pm Post subject: |
|
|
Thx for all, i found what i need.
I use now ssh with dynamic forwarding (ssh -D 9090 loopx@ip_server) and tsocks for use the socks 5 created by the ssh tunnel.
I will now try to use httptunnel for be sure to pass through the firewall (with port 80 open with restriction)... _________________ Mon MediaWiki perso : http://pix-mania.dyndns.org |
|
Back to top |
|
|
|