dslreports logo
site
 
    All Forums Hot Topics Gallery
spc

spacer




how-to block ads


Search Topic:
uniqs
4394
share rss forum feed

JPedroT

join:2005-02-18
kudos:1
reply to Anav

Re: Open VPN???

Can your NAS ping the USG and the USG ping the NAS? If yes, then you should not need that.
--
"Perl is executable line noise, Python is executable pseudo-code."


bbarrera
Premium,MVM
join:2000-10-23
Sacramento, CA
kudos:1
reply to Anav
said by Anav:

Seriously, so I should try SSH from my android phone to my NAS boxes to see files (not necessarily stream) but have better connectivity than this frustrating L2TP VPN scenario??

If all you want to do is see files, why not go with something like DropBox? This is one of several file sharing solutions that are much easier than vpn/ssh/etc.

I'm shaking my head in disbelief over this thread, as you've never properly described what you want to accomplish (see JPedroT's comment 3 about how you want to access files).

Not that I'm suggesting this thread devolve to an ssh proxy/forwarding how-to, but I'm an advanced user of SSH and at work I access as many remote Linux boxes as I want on the remote network using a very simple ssh config file (~15 lines and proxy.pac to replace use of Cisco VPN client for web/ssh/imap access to corporate worldwide network).


Anav
Sarcastic Llama? Naw, Just Acerbic
Premium
join:2001-07-16
Dartmouth, NS
kudos:5
Dont fight your natural instinct to shake your head or wag your tail.
What I want to do is establish a highest throughput secure link between
a. android phone and NAS boxes
b. remote laptop and NAS boxes.

This will facilitate transfering of files on the road and perhaps even streaming a video file. Your boxie solutions are useless because one can only store so many media files before free limits are overcome. I will admit, the L2TP VPN seemed to work fine for text files.

Unfortunately I am not so conversant on SSH. I find it a struggle to load an FTP server app on my computer and get that working let alone VPN. I like the idea though of overcoming whatever SSH block is in my head because you all make it seem so damn easy so I must be missing something obvious.
--
Ain't nuthin but the blues! "Albert Collins".
Leave your troubles at the door! "Pepe Peregil" De Sevilla. Just Don't Wifi without WPA, "Yul Brenner"

LlamaWorks Equipment


bbarrera
Premium,MVM
join:2000-10-23
Sacramento, CA
kudos:1
Apologies if you answered earlier, do you have enough upstream bandwidth to serve up media files? If L2TP VPN worked fine for text files, what happened when you tried media files?


bbarrera
Premium,MVM
join:2000-10-23
Sacramento, CA
kudos:1
reply to JPedroT
Anav/Donkey, to borrow one of the first questions you received ---
said by JPedroT:

Okay, let me start with the dumb question, what is that you want to achieve?

^^^ I keep coming back to this, and the Anav/Donkey's answer shouldn't be "highest throughput secure link" or we will need to verbally abuse you again


Anav
Sarcastic Llama? Naw, Just Acerbic
Premium
join:2001-07-16
Dartmouth, NS
kudos:5
reply to Anav
My ISP as I have noted previously LOL, is 50 down 30 up.
Bell Fibre OP, care to swap webspit
Media files at auto mss setting would prevent any of my file explorer apps from opening sub folders, with mss set at 600 I can at least drill down and see all files. A Tv show can start sometimes but if it does it usually stutters and stops. This was true for LTE, 4G or wifi at a coffee shop.


Anav
Sarcastic Llama? Naw, Just Acerbic
Premium
join:2001-07-16
Dartmouth, NS
kudos:5
reply to Anav
Im about to root my phone to see if that helps.


bbarrera
Premium,MVM
join:2000-10-23
Sacramento, CA
kudos:1
reply to Anav
OK, so please explain why L2TP/IPSec "works fine for text files" and reading between the lines doesn't work fine for media files.


bbarrera
Premium,MVM
join:2000-10-23
Sacramento, CA
kudos:1
reply to Anav
said by Anav:

Im about to root my phone to see if that helps.

Yes, that will fix things. And solve world hunger. And make your phone a magnet for malware. Sigh.


Anav
Sarcastic Llama? Naw, Just Acerbic
Premium
join:2001-07-16
Dartmouth, NS
kudos:5
reply to bbarrera
I can easily open a text file. It just works.
I can open a folder containing just text files
I cannot open a folde with many media files
I cannot play media files (stream).

I use apps that can see the NAS boxes.
--
Ain't nuthin but the blues! "Albert Collins".
Leave your troubles at the door! "Pepe Peregil" De Sevilla. Just Don't Wifi without WPA, "Yul Brenner"

LlamaWorks Equipment


bbarrera
Premium,MVM
join:2000-10-23
Sacramento, CA
kudos:1

1 recommendation

maybe you have crappy apps


Anav
Sarcastic Llama? Naw, Just Acerbic
Premium
join:2001-07-16
Dartmouth, NS
kudos:5
Not likely I have very good ones.
Perhaps this SSH magic show is worth trying.
I dont have certificates or other things that seem to be required.
What SSH app do you recommend, JuiceSSH, SSHelper?????

Do I start an SSH server on the phone?
--
Ain't nuthin but the blues! "Albert Collins".
Leave your troubles at the door! "Pepe Peregil" De Sevilla. Just Don't Wifi without WPA, "Yul Brenner"

LlamaWorks Equipment


bbarrera
Premium,MVM
join:2000-10-23
Sacramento, CA
kudos:1
If your good apps can open folders with text files, why can't they open folders with media files? Do you think magic ssh fairy dust will allow those folders to magically open? Maybe you don't understand what the app is doing, and its requirements.

There is no fundamental reason why a file browser can walk folders with text files, but not walk folders with media files. Maybe the app doesn't know about the file extension, maybe the app wants to connect to a TCP/IP socket after getting info from a protocol that doesn't naturally route over VPN, maybe the app only goes one folder deep, maybe your phone doesn't have codecs for the files, etc, etc.


Anav
Sarcastic Llama? Naw, Just Acerbic
Premium
join:2001-07-16
Dartmouth, NS
kudos:5
Nope when I lower the MSS on the L2PV VPN rule I can then get to all files and folders.


bbarrera
Premium,MVM
join:2000-10-23
Sacramento, CA
kudos:1

1 edit
reply to Anav
1. Lower MSS doesn't help.
said by Anav:

Seriously, so I should try SSH from my android phone to my NAS boxes to see files (not necessarily stream) but have better connectivity than this frustrating L2TP VPN scenario?? LTE and 4G suck ass and even lowered MSS to 600 from Auto.

2. Can only open text folders.
said by Anav:

I can easily open a text file. It just works.
I can open a folder containing just text files
I cannot open a folde with many media files
I cannot play media files (stream).

3. Lowering MSS works.
said by Anav:

Nope when I lower the MSS on the L2PV VPN rule I can then get to all files and folders.

Which is it?


Anav
Sarcastic Llama? Naw, Just Acerbic
Premium
join:2001-07-16
Dartmouth, NS
kudos:5
reply to Anav
I have been consistent. Before I lowered the MSS (ie setting in AUTO) 2 was true. After I manually lowered the MSS, 1 was true.
In all cases playing media files (streaming) was not possible, in the former case because I could not even reach those file and in the latter sometimes a file will start but invariably stutter and stop.

FILE App programs tried.
X-Plore
ASTRO
ES File Explorer
PLayer App Programs tried
BS Player
VLC
ES FIle Explorer Player
MX Player

I just d/l File Expert and see it has Windows/samba sharing, and FTP client, and STFP client, WebDav client and BT OBEX client.
Will see how it performs.
--
Ain't nuthin but the blues! "Albert Collins".
Leave your troubles at the door! "Pepe Peregil" De Sevilla. Just Don't Wifi without WPA, "Yul Brenner"

LlamaWorks Equipment


Anav
Sarcastic Llama? Naw, Just Acerbic
Premium
join:2001-07-16
Dartmouth, NS
kudos:5
reply to Anav
For example at home using wifi........ a 1080p movie plays fine.
A TV show in mp4 or short film on AVI does not work from afar.


bbarrera
Premium,MVM
join:2000-10-23
Sacramento, CA
kudos:1

JPedroT

join:2005-02-18
kudos:1

1 edit
reply to Anav
said by Anav:

For example at home using wifi........ a 1080p movie plays fine.
A TV show in mp4 or short film on AVI does not work from afar.

How does it not work, does it never start? Does its start but stops and buffers often etc?
And if your using some windows SMB protocol you should be shoot It sucks seriously for about anything ;P

--
"Perl is executable line noise, Python is executable pseudo-code."


Anav
Sarcastic Llama? Naw, Just Acerbic
Premium
join:2001-07-16
Dartmouth, NS
kudos:5
thank you oh wise men, bbarbera, jpedro, and Brano (wondering who gets to the wear the crown) an update......... I updated all my NAS boxes and added DNLA type services, rsync on one of them, ssh (but it said v2 and zyxvapour has ssh1?, etc etc. Going to crack the media nut in other ways and be happy that I can get at working files easily via L2TP. So JP trying to not use that terrible protocol for media LOL.
Will let you know how testing goes.

(which reminds me have to unplug and plug in my NSA325 -seems to be the only way to make it accessible on the LAN, even the el cheapo oldie dns-323 works fine all the time....... sigh. Although to be fair, the NSA is the only one IM using a in mirroring mode - thought Id pretend to be ITish).

JPedroT

join:2005-02-18
kudos:1
Install Twonkymedia, you can access the twony webserver and it will stream media stuff to you Then you just ned to forward the port Twonky is listening to.
--
"Perl is executable line noise, Python is executable pseudo-code."


Anav
Sarcastic Llama? Naw, Just Acerbic
Premium
join:2001-07-16
Dartmouth, NS
kudos:5
Hmm how would that work. Do I just access the twonky server locally through my l2tp connection. is there even a twonky app

JPedroT

join:2005-02-18
kudos:1
With the browser on your phone, you only have to forward a port on your usg. Why do you insist on over complicate things?
--
"Perl is executable line noise, Python is executable pseudo-code."


Brano
I hate Vogons
Premium,MVM
join:2002-06-25
Burlington, ON
kudos:11
Reviews:
·TekSavvy DSL
·Bell Fibe
reply to Anav
L2TP client is built into pretty much any device commonly used today (Android, Windows, iOS) ... stick to it. Figure out why it's not working, do some packet capture or post your entire config to have a look together.

For me I can only say the L2TP works like charm, no issues whatsoever. (That said I acknowledge that there may be some bugs, but let's try to nail them down and let ZyXel know).


Anav
Sarcastic Llama? Naw, Just Acerbic
Premium
join:2001-07-16
Dartmouth, NS
kudos:5
reply to JPedroT
JP I only plan on letting secure access through the router.

JPedroT

join:2005-02-18
kudos:1
Why only secure access? Afraid somebody is going to eavesdrop on your porn streaming?

If its an MTU problem which you have tried to diagnose, try to use a tool instead of just ping with DF to figure out the exact MTU and then sett the proper MSS value. Remember that MSS = MTU - 40 bytes, most likely. This tool might help you »www.iea-software.com/products/mtupath.cfm

But if your ISP is a moron and creates blackholes for PMTUD then change ISP.

Also remember that when you add LT2P you add even more overhead and if your ISP is doing some PPPoE/A or what not and maybe some LT2P also somewhere in the dark corners of their network, well your basically FUBAR.
Because you can keep dropping your MSS/MTU settings, problem is that your Data might actually need a minimum setting, so somewhere you are going the screwed over by a lame ass ISP
--
"Perl is executable line noise, Python is executable pseudo-code."

JPedroT

join:2005-02-18
kudos:1

1 edit
reply to Anav
You have mentioned media files, but never told us how you want to transfer them, you said stream, but that is very non informative.

Are you using your web browser for streaming or is there some other way? If web browser, forward https to your NAS and stream it in an https session then.

--
"Perl is executable line noise, Python is executable pseudo-code."

JPedroT

join:2005-02-18
kudos:1
reply to bbarrera
There was supposed to be a quote here, but its answer to your question on why text files work and not media files, especially streamed ones.

--
Because you download the complete file before you view it. So retransmisson etc are not noticable, it just add a couple seconds.

Real time streaming, means packets can not arrive out of order nor be dropped, for smooth viewing.

Problem is that if they do, you will see pixelation in your video or no sound in audio etc. But if you lose alot of packets that way, you soon mess up how the encoding is done and well your fubar. Its basically like buying something from ikea and you do not get all the pieces to assemble it.
--
"Perl is executable line noise, Python is executable pseudo-code."


Anav
Sarcastic Llama? Naw, Just Acerbic
Premium
join:2001-07-16
Dartmouth, NS
kudos:5
Thanks JP for the explanation sounds reasonable. I will have to wait for twonky 7 for NSA on next version of software, its in beta right now and current POS does not work, for that matter the Netgear streaming server is another POS. I just may have to look at Https streaming, especially if performance blows away l2tp.

JPedroT

join:2005-02-18
kudos:1
Try on your LAN first, can the NAS keep up, then its just the wonky payload sizes to overcome for WAN.
--
"Perl is executable line noise, Python is executable pseudo-code."