I'm trying to run my own instance of a bitwarden vault on my raspberry pi.
Everything works well. I can access it from my local network. Yet I can't access it outside of it with my public ip even though I forwarded my port and I check they were open with nmap.
So I have a forwarded port, a server running that runs perfectly on my local network. But still can't acess it from any network.
Does anyone have a clue on why that doesn't work ?
Thanks !
Related
I've an issue connecting with my raspberry from a specific computer on home network.
Raspberry is connected on WiFi and my computer is connected on LAN.
The issue occurs only on the actual raspberry IP that is a static IP (192.168.1.3. This is correctly reached from every other device in the home network.
If I change the IP assigned to raspi it becomes reachable from my computer but I don't know why.
I've tried deleting DNS cache from the computer and checking Firewall rules but nothing found. I've also checked raspi to see if there are rules blocking the connection but nothing found here too.
Could you please help me understanding why this is happening? I would like to keep the actual IP assigned to the raspi.
Thank you
I had made a small web server program that can handle HTTP requests, it worked fine on loopback ip address. I Had connected the host computer to a wifi using a router, i can access that program using another device connected to the same router using a web browser. but the problem is when i tried to open the open the command from the device connected to another router/internet, it didnt connect.
I had used the address like "10.0.0.4:8080" to connect with the device on the same router. later i tried with the public IP address to connect to my web server program but it didnt work!
what am i missing in giving the correct ip address and port number such that it could be connected with the devices that arent connected with my router.
You have to add port forwarding on the router from outside to the specific IP of the device. Then use public IP from outside and public or private from LAN. Probably also set it to static internal IP from device or router.
DMZ to the device is also an option but is overkill.
That way lot of bots will scan your server so carefull with the security and what you expose.
I have Wireguard installed on a Raspberry Pi 4 via PiVPN. The pi is plugged directly into my network switch.
I went through the setup and assigned the pi a static IP (10.0.0.157), generated a config and tried to login from my laptop (laptop was on a personal hotspot for testing purposes).
Wireguard connected using the profile and said it was sending traffic, but I was not able to load anything or ping any of the devices on my internal network.
I also noticed that my laptop was being assigned an IP of 10.0.6.1, which doesn't make sense because my network is in the IP range of 10.0.0.0/24
Any idea why this is happening or how to fix it?
I was able to fix this by changing the AllowedIPs value in the config and ensuring that I was forwarding the proper port.
I am trying to set my raspberry pi as a web server just to play around.
I changed the DNS record of my domain to point to my IP address.
then I forwarded the requests of port 80 to my raspberry pi internal IP address from the router.
I can reach the raspberry pi from my internal wifi connection using its ip address. However, I can't reach it using my domain name. I am getting this " server IP address could not be found." error.
Tried to clean cashe from chrome, and tried another browser ..etc. didn't work.
Any Ideas?
EDIT: ping works and no packages are lost
+
I waited 2 days already
When changing DNS it will take some time before all nameservers get changes.
You can read more about it here
You can try and go to your public IP. Then you should be able to visit your webserver, if you have forwarded it correct.
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