I am using OpenMediaVault for NAS management installed on Raspberry Pi. I am able to access my shared drive on my network. I would like to access it from the internet. I have static IP connection and have done the port forwarding. I am able to access the OpenMediaVault configuration page from other network, but cannot access the shared drive.
Please help!
Thanks in advance.
I'm sure there should be multiple ways to do this. But following is how I access my NAS on Raspi from the internet.
Registered a free domain on DuckDNS for Private VPN
Used the domain created in #1 to set up a split tunnel Wireguard VPN server using PiVPN on the RaspberryPi
Set up a split-tunnel VPN profile
Forwarded port 51820 (default port for Wireguard) on the router
Installed Wireguard on my phone and Mac and set the connections
Whenever I'm outside the home network, I just connect to the VPN and I can access my shared folders.
Related
The problem is i have an self hosted server (Obico its an thing for 3d printing) and i can use my local ip on the host PC so it reach correctly the page but from another PC or device i cant reach the page (i disabled AV and firewall for testings). I can still ping form host to client but not client to host.
Any solutions ?
Thank you.
I am close to getting this to work but need some assistance.
I have OpenVPN Access server running on a Droplet in Digital ocean.
I have a RaspberryPi with a wireless connection on my network.
IP = 192.168.20.205
The user the pi connects to the Access server is set to be a VPN gateway with :
Allow Access From: all server-side private subnets
Allow Access From: all other VPN clients
192.168.20.0/24.
I have another user that connects to the Access server without the gateway settings.
When both users connect I can see them both in the web GUI of the access server with an IP assigned. 172.27.232.XXX
Now from the remote user I can ping the Pis 172.xxx.xxx.xxx IP address and even SSH into it using the 172 address.
However, it seems like the Pi isn't bridging / routing correctly or getting stopped by a firewall, as from the remote user I cant see the local network 192.168.20.xxx.
any pointers for me here?
Thanks!
The solution to your problem is clearly explained here:
https://openvpn.net/vpn-server-resources/site-to-site-routing-explained-in-detail/
You have to set the static routes on both routers and set the ip forward on the raspberry pi
I have a windows machine that has a local WAMP server running without the Internet. I would need to connect a few Mac computers to that local server via Ethernet cable stream some video content.
I kind of know that I would need a router to connect all to Mac computers and a server computer. I am still not clear how to do it without the Internet.
Any Help would be really appreciated! Thank you!
You should be able to just get an ethernet switch (something like this) and connect everything. You would then just reference your server in a browser or other app by it's IP address or computer name instead of a www address.
What you are talking about is soomthing called a peer-to-peer setup. See this Setting up a Peer to Peer Network
I have a small local network, with the following devices: a router , a Dell laptop running Ubuntu 16.04 LTS as my server, and another HP laptop to test access.
My IP addresses look like this:
router: 192.168.0.1
server: 192.168.0.101
laptop: 192.168.0.100
I have successfully setup LAMP and have one small page (/var/www/html/index.html) with one picture. I can't access this from my HP laptop by entering 192.168.0.101 into Firefox or Chrome.
In order to access your server you have to make it publicly so I will describe the steps required to do it:
Login to your router, search for Port Forwarding section and forward the port 80(HTTP Port) to 192.168.0.101(Your Web Server). You can find a guide for Port Forwarding after selecting your router model here : https://portforward.com/router.htm
Access your webserver by your external Ip. http://yourexternalip
(Optional) If you have dynamic Ip, you can set a Dynamic DNS to create a domain name that will always point to your webserver even your Ip will change after a router reboot or something like that. You can read this guide for setting up a DDNS: https://www.howtogeek.com/66438/how-to-easily-access-your-home-network-from-anywhere-with-ddns/
I can access my computer's (localhost) web service using eclipse mars and jax-ws. However, I'm just curious, how can I make it so that other remote computers that is not connected by LAN?
Any advice, direction, or what I should research is welcomed.
Your computer is invisible to internet. It will connect to internet
via a router (ADLS modern for en example).
Your router is visible on Internet and with a public IP Address, you
can try some website to see what its address is (for example
http://whatismyipaddress.com/)
You need to config your router to make it forward the request from internet
to you computer LAN address and your web-service port, the way to
config port forwarding is depend on your router.