Hi everyone,
I'm new to the openwrt and have searched the forums but can't seem to find a clear solution. I have just recently set up 19.07 on a R7800 connected to modem direct to ISP. I installed wireguard using this guide and all my traffic is passing through which I'm happy about.
I have an unraid (linux) server which is running a Nextcloud docker on a specific port (e.g. 192.168.1.24/888) and I would like to have remote access to it from outside the network (e.g. phone, laptop). I'm aware duckdns.org domain can be set up which would make access much easier.
Now I'm stuck as to what changes I need to make to my wireguard configuration. Do I need to follow one of these two:
Implement plain routing between server side LAN and client side LAN assuming that:
Okay I've forwarded a random port to the port of the nextcloud docker and it's showing as reachable on mullvad's site. By the way are we assuming that I've installed duckdns as above?
Hmm I don't see why. The docker container only has "Host Port 1".
So just to clarify with the above steps I should be able to access the VPN's public address using my phone's browser connected via 4G?
Thank you. By entering the VPN IP address (whatsmyip.org) into my phone browser what would i expect to see? Apologies for my ignorance I'm new to all of this.
Running the tcpdump command brings up:
listening on WGINTERFACE, link-type RAW (Raw IP), capture size 262144 bytes
The first IP will never work, it is private.
The second is the endpoint that you connect, I don't know if it is the same as you are routed to the internet.