Hello,
I apologize if this is in the wrong location.
I have been scouring the internet and this form for a couple of days now, but can't find a solution to my problem.
I recently set up a raspberry pi 4B (raspberry pi os lite 64 bit bullseye) and installed omv 6 (6.9.8-1 Shaitan) onto it. I attached a hdd, and set up SMB/CIFS and got that working and can access files from different devices on my LAN.
I went through the process of installing the wireguard plugin and setting up a tunnel and two clients. From one of those clients (a windows 10 laptop connected to my phones hotspot, not my home network), I can connect to the omv web gui via the local ip address of the raspberry pi, but I have no internet access. Going into the Network folder in file explorer, I can see my pi there, but am told windows cannot access \\pi-nas ... the network path was not found with error code error code 0x80070035.
I have a dynamic ip that i am using duckdns to point to. Whatsmydns and whatsmyip websites all look correct when i check to see that duckdns is working. I have forwarded the correct port (i tried the default 51820 and one separate one both UDP, updating the tunnel config and the client side config each time). The wireguard app on the client side says it is active and gets regular handshakes.
Through the omv web interface, I have tried changing the SMB share folder public access to each option (No, guests only, and guests allowed), but nothing changed.
I have also left the wireguard->clients->edit->DNS Servers section on disable.
From the OMV web gui, here is my tunnel config:
[Interface]
Address = 10.192.1.254/24
SaveConfig = true
ListenPort = 51820
PrivateKey = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
PostUp = iptables -A FORWARD -i %i -j ACCEPT; iptables -A FORWARD -o %i -j ACCEPT; iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
PostDown = iptables -D FORWARD -i %i -j ACCEPT; iptables -D FORWARD -o %i -j ACCEPT; iptables -t nat -D POSTROUTING -o eth0 -j MASQUERADE
[Peer]
PublicKey = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
AllowedIPs = 10.192.1.1/32
PresharedKey = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
[Peer]
PublicKey = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
AllowedIPs = 10.192.1.2/32
PresharedKey = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Display More
The bottom one is my laptop's key and ip section. The one above is for my iphone and i have not checked anything with that other than that, yes, I can seemingly activate the connection through the wireguard ios app.
And also from the web gui, here is my laptops client:
[Interface]
Address = 10.192.1.2/24
PrivateKey = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
[Peer]
PublicKey = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
PresharedKey = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Endpoint = MY_SUBDOMAIN.duckdns.org:51820
AllowedIPs = 0.0.0.0/0
From the wireguard app on my laptop I have:
Interface
Listen Port: 56135
...
Peer
...
Allowed IPs: 0.0.0.0/0
Endpoint: CORRECT_PUBLIC_IP:51820
I am confused about (1) how I can see the pi folder, but can't access it to even see the shared folder and how I can access the OMV web interface through my laptop (again connected through my phone's hotspot, with a seemingly active wireguard connection) and (2) why I don't have any internet access outside of that OMV web interface.
Any help is greatly appreciated.