*New 11.3 series Release:
2019-10-05: XigmaNAS 11.3.0.4.6928 - released, 11.2 series are soon unsupported!

*New 12.0 series Release:
2019-10-05: XigmaNAS 12.0.0.4.6928 - released!

*New 11.2 series Release:
2019-09-23: XigmaNAS 11.2.0.4.6881 - released!

We really need "Your" help on XigmaNAS https://translations.launchpad.net/xigmanas translations. Please help today!

Producing and hosting XigmaNAS costs money. Please consider donating for our project so that we can continue to offer you the best.
We need your support! eg: PAYPAL

Use NAS4free as proxy

XigmaNAS Scripts and shell tips
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
ku-gew
Advanced User
Advanced User
Posts: 173
Joined: 29 Nov 2012 09:02
Location: Den Haag, The Netherlands
Status: Offline

Use NAS4free as proxy

#1

Post by ku-gew » 15 Aug 2017 23:45

Hello,
I have an embedded NAS4free.
Since I live in a country different from the one of my server and since my bank accepts only logins from within the same country, can I use my NAS4free as proxy?

I can easily make a tunnel from my Windows 10 to my NAS4free using Putty, I do it already to access the NAS4free GUI (tunnel from localhost:8090 to IP_NAS4free:80).

What would be the next step for using it as proxy?
HP Microserver N40L, 8 GB ECC, 2x 3TB WD Red, 2x 4TB WD Red
XigmaNAS stable branch, always latest version
SMB, rsync

User avatar
tony1
Moderator
Moderator
Posts: 172
Joined: 14 Jul 2016 19:04
Status: Offline

Re: Use NAS4free as proxy

#2

Post by tony1 » 16 Aug 2017 19:49

I think you would use "ssh -D" and then configure your browser to use socks5.
give that a try.

User avatar
b0ssman
Forum Moderator
Forum Moderator
Posts: 2458
Joined: 14 Feb 2013 08:34
Location: Munich, Germany
Status: Offline

Re: Use NAS4free as proxy

#3

Post by b0ssman » 16 Aug 2017 20:10

do not expose a proxy server directly to the internet. that will go wrong. badly.

if you have a ssh server running tony1's idea would start a socks proxy and that would work.

i would suggest setting up a decent router using pfsense, openwert or ipfire and creating a vpn that you can connect to.
see for example https://wiki.openwrt.org/doc/howto/vpn.ipsec.basics
Nas4Free 11.1.0.4.4517. Supermicro X10SLL-F, 16gb ECC, i3 4130, IBM M1015 with IT firmware. 4x 3tb WD Red, 4x 2TB Samsung F4, both GEOM AES 256 encrypted.

User avatar
tony1
Moderator
Moderator
Posts: 172
Joined: 14 Jul 2016 19:04
Status: Offline

Re: Use NAS4free as proxy

#4

Post by tony1 » 16 Aug 2017 21:30

an open proxy would definitely be a bad idea and would be abused in a few minutes.
look in the ssh man page, what I am describing would be secure.
openvpn is nice and if you use that option you need to forward all packets across the tunnel.

I have added an image for a browser configuration that should work.
2017-08-16 15-20-04.png

make sure your ssh is secure, use keys and disable passwords etc.

it might work? if they do deep packet inspection and see it coming from ssh or a vpn it could possibly be rejected. worth a try though.
You do not have the required permissions to view the files attached to this post.

ku-gew
Advanced User
Advanced User
Posts: 173
Joined: 29 Nov 2012 09:02
Location: Den Haag, The Netherlands
Status: Offline

Re: Use NAS4free as proxy

#5

Post by ku-gew » 16 Aug 2017 23:53

Yes, the SOCKS solution worked, thanks. My NAS is still using password as alternative to keys, it's more practical and the pass is random and long.
HP Microserver N40L, 8 GB ECC, 2x 3TB WD Red, 2x 4TB WD Red
XigmaNAS stable branch, always latest version
SMB, rsync

leejamescn
NewUser
NewUser
Posts: 5
Joined: 10 Aug 2017 08:25
Status: Offline

Re: Use NAS4free as proxy

#6

Post by leejamescn » 10 Sep 2017 06:47

I use a virtual machine to do this, freegate in windows server 2003 as http proxyserver.

Post Reply

Return to “Scripts and shell tips”