Create Subdomain > dockge.yourdomain.com
Create DNS Record (Domain-Provider)
First of all, we create a DNS record for our first subdomain with our website provider.
Since I run my domain via Cloudflare, I will also create my first DNS record there.
- Open your DNS-Record-Area
- Create the record with the following values
- Save and Apply
A
dbase
(your subdomain for the phpMyAdmin-Page like dbase.yourdomain.com)
TAILSCALE-ADRESS from OPNsense or your public IP
False - If you use Tailscaleadress
True - If you use Public IP
Auto or 120 Seconds
Connecting to OPNsense-WebUI
- Open
opnsene.yourdomain.com - Login in
Create NAT-Rule
- Go to
Firewall > NAT > Port Forward - Add Rule by clicking the plus-button
- Enter the following values
- Hit ‘safe’ and then ‘apply’
NATrule-Settings
Interface - 102_proxy
Destination / Invert - false
Destination - phpMyAdmin-Alias (IP: 10.2.3.5)
Destination port from - http (80)
Destination port to - http (80)
Redirect Target IP - phpMyAdmin-Alias (IP: 10.2.3.5)
Redirect Target Port - http (80)
Connecting to NGINX-WebUI
Now you can access the web interface of your proxy manager with your browser.
https://proxy.yourdomain.com
Create Proxy host
- Go to
Hosts > Proxy Hosts - Click green
Add Proxy Host-Button - Now enter the following values
- Click
Safe-button
Proxysettings
Domain Names - dbase.yourdomain.com
Scheme - http
Forward Hostname / IP - 10.2.3.5
Forward port - 80
Cache Assets - false
Block Common Exploits - false
Websockets Support - true
Access List - “Publicly Accessible” or “Tailscale-List”
Change nothing
SSL Certificate - “Request a new SSL Certificate”
Force SSL - true
HTTP/2 Support - true
HSTS Enabled - false
HSTS Subdomains - false
Use a DNS Challenge - true (only if you use tailscale)
- DNS Provider > Cloudflare
- Credentials File Content > Change the token to your token
- Propagation Seconds > empty
Email Address - Your E-Mailadress
Terms of Service - true
Change nothing
If the host you have just created has the status "Online", everything has worked and you can reach your proxy manager at dbase.yourdomain.com (after start the Container!).