unable to access truenas web gui remotely i can ping the server (192.168.1.11) from remote i tried wireguard and then tailscale both are giving same problem tunnel is up i see sent/receive byte in both the plateform however nothing accessible. no firewall configured neither in truenas nor in my isp router nothing blocking i can access the internet from truenas scale each time tunnel is connected however when try to access server web GUI ( This site can’t be reached 192.168.1.11 refused to connect.) whereas i can access all the smb shares locally and server web GUI . i have port forwarding enable on router for port 51821 and 51820 UDP even after loss hope i did port forwarding for 80 and 443 and 445 also i know it does not make sense i tried everything possible however none of them working earlier the same thing was working with same wireguard
here is wireguard config for client
[Interface]
PrivateKey = 2L/Bb0HIP
Address = 10.8.0.2/24, fdcc:ad94:bacf:61a4::cafe:2/112
DNS = 1.1.1.1, 2606:4700:4700::1111
MTU = 1420
Pinging 192.168.1.11 with 32 bytes of data:
Reply from 192.168.1.11: bytes=32 time<1ms TTL=128
Reply from 192.168.1.11: bytes=32 time<1ms TTL=128
Reply from 192.168.1.11: bytes=32 time<1ms TTL=128
Reply from 192.168.1.11: bytes=32 time=1ms TTL=128
Ping statistics for 192.168.1.11:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 1ms, Average = 0ms
C:\Users\dell>
server is pinging remotly however no access to web GUI local it working fine
Don’t know about Wireguard specifically but for Tailscale, you need to have Tailscale app installed on the Truenas server and have the Tailscale app installed (download app for your operating system from Tailscale site) on any computer you wish to access the Truenas server from. The computer used to access the Truenas server will then use the Tailscale address of the Truenas server. You must use the Tailscale network names or the remote ip addresses to access the server or it will not work. I also have the Truenas server set to be a Tailscale exit node in case I need to access something that I need to make think I am at home.
When working remotely I generally use the server name as it appears in the Tailscale Machines list in my Tailscale account. So if my server appears in the Tailscale list as truenas-scale-myserver then that is what I would use to access the server GUI remotely by. If I need access to a port for an app on the Truenas server, I just add the port number like so: (https:// truenas-scale-myserver:portnumber)
Your Wireguard tunnel only allows routing of the 10.8.0.0/24 network, so you cannot connect to 192.168.0.0/24 network. You would need to use the server’s Wireguard IP, which I assume would be 10.8.0.1.
If you are using Tailscale, then you would need to connect to whichever IP Tailscale sets the server to (likely 100.x.x.x) or you can also use the MagicDNS name (usually machinename.tailabc123.ts.net format). You can use 192.168.0.0/24 network provided that you set the tailscale node which the server resides in as an exist node and ip forwarding is enabled on that tailscale client, but that is typically an advanced setup.
It seems to me that you need a networking primer, to be honest.