QNAP QTS: static ip connection - nas

Recently I just purchased a NAS device for my company. So far, everything is fine and the quality of it is superb. The only problem that I encounter is, when I trying to access the static IP that I choose still can connect in my own company, but when I try to connect the same IP in my house, it just won't went in the same interfaces. Is this because of my NAS device setup in my company connect through local connection? And I am a newbie towards the NAS device so hope to have any solver soon.

In your house LAN you don't have access to your company LAN.
I have a Qnap Nas and I normally connect with myqnapcloud.com You need to sign up, configure your qnap with the router at your company and link it through myqnapcloud.com.
I have my Qnap on my home and I use that way when stay outside my home, you can use the web to use your Qnap. I advise you to buy ssl license to login securely
Hope it works to you!

Related

localhost and 192.168.x.x over HTTPS for a-frame webVR development and local testing

I'm trying to develop a A-frame-based VR experience.
I can test it on my mac via http://localhost but can't do the same using mobile phone or VR headset via http://192.168.1.123.
The problem is that those browsers demand that the page is served over HTTPS rather than HTTP, otherwise it denies access to the device motion sensor, making testing impossible.
Using the following instructions, I managed to successfully have my VR web page served over with a valid certificate.
https://www.freecodecamp.org/news/how-to-get-https-working-on-your-local-development-environment-in-5-minutes-7af615770eec/
https://github.com/mattdesl/budo/blob/master/docs/command-line-usage.md#ssl-and-https
But, that is not enough, mobile device and headset access the page over a local-wifi IP like 192.168.1.123 rather than localhost and the ssl certificate doesn't seem to work for those, even if i replace localhost by the correct IP when generating the domain key & certificates.
i guess each device browser would need to have its trusted store updated or something...
Would be curious to know how people solved their problem in their a-frame local development and testing flow.
Partial answer -- for Oculus Quest or Go browser development at least.
You can use the Chrome remote device debugging tools:
https://developer.oculus.com/documentation/oculus-browser/browser-remote-debugging/
Then setup port forwarding for the remote device:
https://developers.google.com/web/tools/chrome-devtools/remote-debugging/local-server
This method allows you to sidestep the whole certificate thing since you can still use localhost:port to which the browser grants appropriate device permissions.
Since you can't use IP numbers, you want to include your local domain name into the certificate, like this:
https://stackoverflow.com/a/10176685/573216
Worked for me in a similar context.

Raspberry connecting to WIFI with captive portal

Currently I have learned how to config my Pi to connect to the WIFI with or without a password, however when I wanna use the WIFI in, say a coffee house or a hotel, where the WIFI provided requires logging on a captive portal to get to use it, I know that with a browser it could be easy to do it since the login page appears right up as you open the browser, but how can I do it with my Pi through the command line?
Thank you.
Assuming you are not asking how to script repeatedly connecting to a certain captive portal (this could potentially be accomplished with curl), you probably want to use a text-based web browser like Elinks or Lynx.

How do I browse a local network if my IP is an IPv6

Previously I could browse my localhost machine on a mobile device connected over wifi using my ip which was IPv4.
In developing a webapp or website this is very handy. I don't have to deploy changes to a live website/host.
previously this worked like this http://11.22.33.44/ entering this on the mobile then loaded the development workspace in the device.
Of course the ip was the one given by my ISP now the IP is a IPv6 one and this technique no longer works. I have tried various things like square brackets around the number http://[1111:2222:3333:4444]/this doesn't seem to work ?

What is the way to access my website on Apache server computer throw internet from anther pc

I am new on computer networking. I install Apache server on my Ubuntu desktop computer. And i made a website on this PC. When i connect my PC With internet using a dial-up (Mobile Broadband) modem then i find my public IP or IPv4 address on my connection status. When i type this IP address on my PC browser it runs my web-app or website. But when i use the same IP address on my another computer that can't open my website. I also try IIS server with windows server and windows desktop. My public IP work only my PC but not other PC. Can anyone tell me what is the way to connect my PC or Server with internet and people can access my web-app from internet.
Did you try ping? If you cannot reach the server using that method, your connection problem has nothing to do with the web server. That's a start :-)

HTTP Server on iPhone that Supports Public Network?

I'm currently using cocoahttpserver to do some file sharing thing in my iPhone app. Does anyone know how to use public IP address to connect to the phone, that is to use the Internet, rather than internal connection via WiFi.
Any help would be appreciated! Thanks in advance.
Some thoughts on running an HTTP server on an iPhone:
Most of the time, with IPv4 addresses, the IP address is what is known as a “NAT” address. Simply put, the address it uses can only be accessed from other computers on the same network. It usually can not be accessed from the internet at large.
IPs can can be accessed from the internet at large cost quite a bit of money to have. They do not exist for wireless 3G networks.
Web servers like Apache and lighthttpd compile and run fine on an iPhone. However, the iPhone needs to be jailbroken before running these servers (but there appears to be a web server app for the iPhone)
Apache needs text files to be edited to be configured. It’s a great web server, but people who want to use it better be comfortable reading documentation and editing text files by hand.