PDA

View Full Version : Open webif problem



YzMENTALzY
29-07-14, 04:37
Hi guys

Im 100% sure someone will definately help me with this iv been trying get openwebif working using my 3G connection to no avail im on Virgin Media running 50Meg if that helps. I have got myself a dydns from no-ip etc but it only works when im connected to home wifi not when im in 3G/4G is there anyway i can use it im on latest version of Apollo and iv been trying since i got the box since zeus come out...

Iv tried tutorials on here to no avail also tried searching the forum and got nothing

Someone please help

Thanks

DaMacFunkin
29-07-14, 08:22
You need to prefix your box address with your Dynds address and make sure all the correct ports are in there and are forwarding, I used to have it configured but closed the connection as I was sure somebody else was accessing it, yes it took a lot of reading and messing, mainly with the router...

2stein
29-07-14, 08:44
in your router you need to forward tcp port 80 to the ip address of your vu box. this is all.
once it works you should set a password as everybody who knows your dyndns address would have access to your vu.

YzMENTALzY
30-07-14, 00:01
Ok not working can someone please help me with a step by stem guide i would be very greatful

Thanks

Stu5
09-08-14, 15:40
Did you ever get this working YzMENTALzY?

YzMENTALzY
23-04-15, 03:42
Damn havent been on here in some time been really busy too.. Hope you guys are well ... I would like to say i have sort of got it working just one final piece of the jigsaw which i just cant get it to work. I have done everything for the app to work while on 4G but uh huh it isnt budging.

Ok here is the problem. The openwebif im using is on port 8081 when i put it in my app for dyndns it only allows me to use port 80 which is sorta surprising tbh also i can send messages and veiw bouquets but cant watch anything it just goes black and nothing shows on my phone. Please help someone this has gone on too long lol help a brother out.

EDIT: when i said dyndns i meant no-ip so if anyone can try my no-ip address im willing to pass it on via PM

pembo
23-04-15, 05:50
not that i'd ever recommend this as you're opening up your box to attacks. Have you forwarded port 8001 and 8002?
Have you got a transcoding capable box?

YzMENTALzY
23-04-15, 23:19
Im running a solo2 mate plus dont worry i will have authentication on it so i know what im doing with that part of things but whats annoying me is i cant watch using the android app when on 4G and the port is sort of annoying because i changed openwebif port to 8081 but only port 80 allows me to connect via 4G.

Also i have transcoding too and have opened 8002 and 8001 ports

Larry-G
23-04-15, 23:59
When it comes to opening ports for streaming authentication is pretty much useless as enigma was never designed with security in mind, your best bet if you want to secure the box is to setup a VPN and route the box through that.

YzMENTALzY
24-04-15, 02:26
You see the problem is even if i routed it i would need my PC on all the time via VPN etc which i dont wanna do so is there no other way to get this working as my ports are messed up using 4G port 80 works but when on LAN port 8080 works which is confusing me and really annoying lol

Edit: another thing i have realised is i can use the dns site on iphone/ipad via safari and it will just open and play but when on my android it desnt work on the Vu+app.

pembo
24-04-15, 05:49
Get a router that has VPN capabilities or a raspberry pi and use that as the vpn server.
If you're intent on forwarding your ports you need to start again.

Sounds like you want to do this

1) Port xxxxx on router forwards to port 80 on box
2) Port 8001 on router forwards to 8001 on box
3) Port 8002 on router forwards to 8002 on box

On external networks you should be able to connect to the device through a no-ip dynamc dns address (unless you have a fixed ip) on port xxxxx to open webif in a browser.
On internal network it should be the boxes internal ip address on port 80 unless you've change the port in the plugin conf of openwebif.

If your plan was to have port 80 open externally - I really wouldn't recommend that - (I wouldn't recommend putting openwebif out there through port forwards).
I've had a webserver open on port 80 to the world for a long time from my raspberry pi that is constantly being probed for attack along with all other standard ports - there's other 50,000 blocked ip addresses on there now from hack attempts.

YzMENTALzY
24-04-15, 19:36
Thanks for that il try that and let you know ... Il re open the ports i want it to basically connect using the right port like 8081 instead of 80

pembo
24-04-15, 20:15
if your openwebif runs on anything other than port 80 internally, then you need to change 1) to forward to that port and not 80.

SpaceRat
24-04-15, 23:20
Do NOT open the OpenWebif http-Port to the outside world.
It's not meant for that.

http is unencrypted, so you are sending your credentials verbatim.

Anyone in the same network (WiFi hotspot or whatever) can record and analyze all your network traffic.
See WireShark (https://www.wireshark.org/) for details.

So if you are using http, you can as well keep logins disabled, your credentials would be either sniffed or probed sooner or later anyways.


Your options:
Setup a VPN.
Any good router comes with VPN support included. If it doesn't, note the "good" in the first sentence.

Even if you happen to not have a good router, you can still use a VPN:
We got OpenVPN on the feed, you can have the VPN terminate right on the box.
Securely open ssh
Securely means that you limit logins to key auth (not password auth but using a public key+private key key pair).
Once you have established an ssh session with your box, you can tunnel any port you want to the ssh client.
ConnectBot (https://play.google.com/store/apps/details?id=org.connectbot) will do the trick on Android.
If none of the above suits you, use https.
https is encrypted. It will still be useless anyways unless you generate your own cert/key for your box (Just like you would to have for OpenVPN) and ensure your box presents you the proper cert when you connect to it.
Using the default generated cert or just ignoring browser warnings about the cert makes https as useless as http.

YzMENTALzY
24-04-15, 23:21
Ok done its working but only audio. Man i got so exited too :mad: im only getting really good audio but no video