
Maybe someone else can benefit from this. I hope my findings are somehow correct, but it works for me now. So maybe - if you have this extra time available - maybe you can somehow incorporate this finding into the plugin, It would be enough to point potential users to this by adapting the error message. And this while the browsing of the share in TC is working!Īfter i fixed the wrongly saved password, I can now enjoy MP4s from my NAS Server via a Samba session tunneled via SSH! Then it worked and i could browse the Samba Share.īut it seems, when you do not setup the correct password to be saved, then the HTTP server will not be able to create a (new/second/?) connection in the background and of course VLC can not read the file. TC had of course then failed to connect after typing the master password, but then prompted me to re-type the password. When i renamed the connection to not contain a space (because i thought that this is maybe a problem.) I realized that when I set up the connection, i typed the wrong password. I see that there is an HTTP Request on the port that TC is listening on, but the GET Request is answered with 404 file not found.

I used tcpdump on my phone to see what is happening in the tunneling situation. This is fine, except if another user then decides to. Then PHP would connect to MySQL via 127.0.0.1 on port 3307.
#Ssh tunnel untuk android android#
I have found out, that TC / Lan Plugin will create some kind of HTTP server which it will supply to VLC to be able to play videos via Samba protocol. However, if I want to support SSH tunneling, my understanding is that my Android app would still post to my PHP API, but instruct to open an SSH tunnel, for example forwarding local port 3307 to remote host on port 3306.
#Ssh tunnel untuk android mp4#
I just have to open an MP4 and click "Play in Foreground". When i'm at home, i can use the LAN Plugin and watch videos from my NAS with VLC Player for Android. ( Note: i was about to file a bug report here, that i can't get VLC to play videos of my SSH Tunenling setup, but i then figured out it was due to my own fault. I can successfully login and browse the folders via a remote WLAN or even mobile network. (localhost port 10445 is termux listening and forwarding). I can then - using your hint, which i actually found out first by using the "?" button - setup a LAN connection for "Server tunneled" which is Termux will bind a local port and forward it over SSH to my home network. I use termux from store to setup ssh remote tunneling. It has just recently re-emerged and i tried it with the latest version of the LAN Plugin. Sorry it took me quite some time to revisit this topic. Otherwise TC internal HTTP server seems not to be able to create a connection for e.g.

If you use port forwarding and Samba, make sure that you have stored the correct password in the connection settings.
