DNS / Swag-Nextcloud-mariadb

My apologies if this is already answered. I'm super new to this and learning as I go, so I truly appreciate any help I can get. I have an unraid server. I have swag, nextcloud, and mariadb installed. I have a domain name, we will just call it "domain123.com". I have no entries in my DNS in cloudfare.
In my home, I have a cable modem with wan ip of 123.456.789.1 and lan ip of 10.0.0.1 My asus router has an external ip of 10.0.0.192 and a lan ip of 192.168.0.1 My unraid server has an ip of 192.168.0.43 I want to point the domain to my server to run nextcloud using swag as a proxy server. Nextcloud is 172.18.0.3:443/TCP - 192.168.0.43:444 on "proxynet" MariaDB is 172.18.0.17:3306/TCP - 192.168.0.43:3306 Swag is 172.18.0.2:443/TCP - 192.168.0.43:1443 on "proxynet" and 172.18.0.2:80/TCP - 192.168.0.43:180 on "proxynet" My API key is properly installed in my config file. What should I be using for DNS entries in cloudfare? "A", "CNAME", etc? Currently I have tried: Type Name Content Proxy Status TTL A nextcloud 123.456.789.1 DNS Only Auto CNAME _domainconnect. _domainconnect.gd.domaincontrol.com Proxied Auto I'm at a loss as I can't seem to get it to see my server. Any help is appreciated!
2 Replies
Chaika
Chaika9mo ago
It'd be an A to your wan IP and you'd need to port forward through both routers Alternatively, Tunnels work well, they connect out to CF and proxy requests in so no amount of layers of NAT matters. Requires a credit card/payment method even for free plan but work well/are free: https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/get-started/create-remote-tunnel/
mgoldade
mgoldadeOP9mo ago
Are the tunnels hard to setup?
Want results from more Discord servers?
Add your server