Proxy Server

Tell us your most wanted features from QNAP products.

Re: Proxy Server

Postby murda » Fri Mar 06, 2009 9:18 pm

Hi,

Whats the status of the proxy implementation in the NAS boxes?

regards,
TS409Pro : 4 x Seagate ES.2 1TB
murda
Know my way around
 
Posts: 139
Joined: Tue Sep 23, 2008 1:53 am
NAS Model: TS-409U

Re: Proxy Server

Postby nicolas » Thu Jul 16, 2009 10:28 pm

Hey,

I too would be interested in a proxy server function.
nicolas
Starting out
 
Posts: 45
Joined: Fri Jan 11, 2008 7:33 pm

Re: Proxy Server

Postby quilt_man » Mon Jul 20, 2009 2:04 am

I think the squid proxy server which is already a linux package is a great candidate.
quilt_man
First post
 
Posts: 1
Joined: Mon Jul 20, 2009 1:58 am
NAS Model: NMP-1000

Re:

Postby Boggle » Fri Jul 31, 2009 2:59 am

Twinsen wrote:I tried out the script. Sad to say it does not work as it requires Curl Support and I dont think QNAP PHP has it.

engowen wrote:I'm 2nd to this feature. I found the following free php script from

http://www.glype.com/

Glype Proxy is a free web-based proxy script written in PHP. It allows webmasters to quickly and easily set up their own proxy site. There is a huge market for these proxy websites that allow both anonymous browsing and bypassing network filters at school, college or work.

Since I don't own a TS-109, I wonder could anyone host this script and make a web proxy.


I've just loaded Glype onto my TS-109 (running V3.1.0) and can confirm that it works OK. My 3G provider blocks access to some sites (youtube!) and this is a great way of getting access under your own control.
Boggle
User avatar
Boggle
Starting out
 
Posts: 37
Joined: Sun Nov 11, 2007 4:00 pm
Location: UK

Re: Proxy Server

Postby wotschek » Thu Aug 13, 2009 10:41 pm

Hey folks,

I looked around a little bit, as I was searching for a way to make browsing safe, while sitting in an internet-café or open WLAN or things like that.
As I am the owner of a TS-209, I found a nice way to use the NAS as a SOCKS5 Proxy.

Step 1:
First of all, I set up the DDNS - Service. So register somewhere like dyndns.org, so that you can find your homenetwork from anywhere.

Step 2:
Cut a hole into the firewall of your home router - this is necessary to connect to the SSH port of your NAS in your homenet. So tell your router at home to forward any traffic on port XY to port 22 on your Home-NAS. I would suggest, that you use port 80 or any port that is usually open in most firewalls. So, if you are in a network that only accepts connections to port 80, you can still communicate with your homenetwork.

Step 3:
Now get a ssh-client, for instance putty. Putty is a tiny ssh-client that doesnt require administrative rights for installation.

Step 4:
Connect to your DDNS-Adress via putty on the port you opened in your router. Log in to your NAS (i.e. TS 209).

Step 5:
Now you can configure putty as your socks-server. Choose Connection => SSH => Tunnels. Enter a source port for the Socks5 Service XYZ (i.e. 2009) (do not enter a destination). Chose the radio - button "dynamic" and "apply" afterwards. Putty opens this port on localhost.

Step 6:
Now its nearly done. Chose the browser of your choice and enter in the connection-settings your Socks-address. In this example, the adress is localhost and the port is 2009.

Enjoy safe browsing, even through heavy firewalled networks.
As a last tip, for those who use firefox: Tell firefox to use remote dns-lookup, so that ip adresses are resolved "at home".
Enter about:config in firefox, look up the entry "network.proxy.socks_remote_dns" and change from "false" to "true".

Now you are browsing the net "from home". You can also enter the ip of your NAS-System in your browser, i.e. 192.168.0.2 etc. pp.

Et voilá, thats it.
hf.
Last but not least: Please keep in mind, that your routers firewall is now open - though its just one port. I do not overtake any guarantees for the security of your network. ;-)
wotschek
First post
 
Posts: 1
Joined: Thu Aug 13, 2009 10:02 pm
NAS Model: TS-101/TS-201

Re: Proxy Server

Postby ghost32 » Thu Nov 05, 2009 8:38 pm

wotschek wrote:Hey folks,

I looked around a little bit, as I was searching for a way to make browsing safe, while sitting in an internet-café or open WLAN or things like that.
As I am the owner of a TS-209, I found a nice way to use the NAS as a SOCKS5 Proxy.

Step 1:
First of all, I set up the DDNS - Service. So register somewhere like dyndns.org, so that you can find your homenetwork from anywhere.

Step 2:
Cut a hole into the firewall of your home router - this is necessary to connect to the SSH port of your NAS in your homenet. So tell your router at home to forward any traffic on port XY to port 22 on your Home-NAS. I would suggest, that you use port 80 or any port that is usually open in most firewalls. So, if you are in a network that only accepts connections to port 80, you can still communicate with your homenetwork.

Step 3:
Now get a ssh-client, for instance putty. Putty is a tiny ssh-client that doesnt require administrative rights for installation.

Step 4:
Connect to your DDNS-Adress via putty on the port you opened in your router. Log in to your NAS (i.e. TS 209).

Step 5:
Now you can configure putty as your socks-server. Choose Connection => SSH => Tunnels. Enter a source port for the Socks5 Service XYZ (i.e. 2009) (do not enter a destination). Chose the radio - button "dynamic" and "apply" afterwards. Putty opens this port on localhost.

Step 6:
Now its nearly done. Chose the browser of your choice and enter in the connection-settings your Socks-address. In this example, the adress is localhost and the port is 2009.

Enjoy safe browsing, even through heavy firewalled networks.
As a last tip, for those who use firefox: Tell firefox to use remote dns-lookup, so that ip adresses are resolved "at home".
Enter about:config in firefox, look up the entry "network.proxy.socks_remote_dns" and change from "false" to "true".

Now you are browsing the net "from home". You can also enter the ip of your NAS-System in your browser, i.e. 192.168.0.2 etc. pp.

Et voilá, thats it.
hf.
Last but not least: Please keep in mind, that your routers firewall is now open - though its just one port. I do not overtake any guarantees for the security of your network. ;-)



does this work? it's seems quite a simple way to do, what allot of people have been asking about?
ghost32
Getting the hang of things
 
Posts: 83
Joined: Mon Oct 27, 2008 6:45 pm
NAS Model: TS-409U

Re: Proxy Server

Postby PeterJH » Thu Nov 12, 2009 3:44 am

Folks,

a member of the German forum http://forum.qnapclub.de published a procedure to get Squid running on his NAS. It might be worth to check if he is willing to translate. He is also working on getting squidgard up and running.

Peter
PeterJH
Getting the hang of things
 
Posts: 55
Joined: Wed Aug 05, 2009 1:52 am
Location: Lake Constance area, Germany
NAS Model: TS-239 Pro

Re: Proxy Server

Postby igracgq » Thu Mar 03, 2011 1:18 am

any upadates on this solution?... would live to have a proxy ability on QNAP
User avatar
igracgq
Starting out
 
Posts: 20
Joined: Wed Jun 30, 2010 11:50 pm
NAS Model: TS-109/209 Pro II

Re: Proxy Server

Postby Hammond » Mon Mar 28, 2011 11:36 pm

I would like to get SQUID installed on the QNAP as there are many occasions I need to relay when in the field.
Otherwise what about VPN in and relay out?
My alternative aim for the proxy was actually to provide a DNS caching proxy for the network that allowed blocking of X domains.
Good for monitoring too.
Hammond
Starting out
 
Posts: 29
Joined: Mon May 17, 2010 6:19 pm
NAS Model: TS-239 Pro II

Next

Return to Features Wanted

Who is online

Users browsing this forum: palto and 4 guests