Is dynamic dns still needed for fixed IP. You did say start from part 2 step 3. This update URL makes me think?
1st question:I create a subdomain for each service. Can this subdomain then point to the same DYNDNS cname entries?For example:openvpn.domain.com -> CNAME -> 123.dyndns.comseafile.domain.com -> CNAME -> 123.dyndns.com
2nd question:How to configure HAproxy for openvpn. Could you explain it to me as well as you did in the tutorial or add the point to the tutorial?
## Automatically generated configuration.# Do not edit this file manually.#global uid 80 gid 80 chroot /var/haproxy daemon stats socket /var/run/haproxy.socket group proxy mode 775 level admin nbproc 1 nbthread 4 maxconn 10000 tune.ssl.default-dh-param 4096 spread-checks 2 tune.chksize 16384 tune.bufsize 16384 tune.lua.maxmem 0 log /var/run/log local0 debugdefaults log global option redispatch -1 maxconn 5000 timeout client 30s timeout connect 30s timeout server 30s retries 3 default-server init-addr last,libc# autogenerated entries for ACLs# autogenerated entries for config in backends/frontends# autogenerated entries for stats# Frontend: 0_SNI_frontend (Listening on 0.0.0.0:80 0.0.0.0:443)frontend 0_SNI_frontend bind 0.0.0.0:443 name 0.0.0.0:443 bind 0.0.0.0:80 name 0.0.0.0:80 mode tcp default_backend SSL_backend # tuning options timeout client 30s # logging options option tcplog# Frontend: 1_HTTP_frontend (Listening on 192.168.64.1:80)frontend 1_HTTP_frontend bind 192.168.64.1:80 name 192.168.64.1:80 accept-proxy mode http option http-keep-alive option forwardfor # tuning options timeout client 30s # logging options option httplog # ACL: NoSSL_condition acl acl_6138b110159553.96461818 req.ssl_ver gt 0 # ACTION: HTTPtoHTTPS_rule http-request redirect scheme https code 301 if !acl_6138b110159553.96461818# Frontend: 1_HTTPS_frontend (Listening on 192.168.64.1:443)frontend 1_HTTPS_frontend http-response set-header Strict-Transport-Security "max-age=63072000; includeSubDomains; preload" bind 192.168.64.1:443 name 192.168.64.1:443 accept-proxy ssl curves secp384r1 no-sslv3 no-tlsv10 no-tlsv11 no-tls-tickets ciphers ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES256-GCM-SHA384 ciphersuites TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA256 alpn h2,http/1.1 crt-list /tmp/haproxy/ssl/6138b32401a006.77997133.certlist mode http option http-keep-alive option forwardfor # tuning options timeout client 15m # logging options option httplog # ACTION: PUBLIC_SUBDOMAINS_map-rule # NOTE: actions with no ACLs/conditions will always match use_backend %[req.hdr(host),lower,map_dom(/tmp/haproxy/mapfiles/6138b15d48a964.28077676.txt)]# Backend: SSL_backend ()backend SSL_backend # health checking is DISABLED mode tcp balance source # stickiness stick-table type ip size 50k expire 30m stick on src # tuning options timeout connect 30s timeout server 30s server SSL_server 192.168.64.1 send-proxy-v2 check-send-proxy# Backend: SEAFILE_backend ()backend SEAFILE_backend # health checking is DISABLED mode http balance source # stickiness stick-table type ip size 50k expire 30m stick on src # tuning options timeout connect 30s timeout server 30s http-reuse safe server SEAFILE_server 192.168.1.11:81 ssl verify none
Name: PUBLIC_SUBDOMAINS_mapContent: cloudserver SEAFILE_backend
This could be my Problem. How can i install the fix?
Oh ok. you mean i must change the mapfile tocloudserver.domain.com SEAFILE_backend Gesendet von iPhone mit Tapatalk
Dropping this in here to make sure noone misses it:https://forum.opnsense.org/index.php?topic=24668.0
If the information you posted is correct your problem is that you are not using FQDN in your map file.
plex PLEX_backendiot IOT_backend...
Code: [Select]# Backend: SEAFILE_backend ()backend SEAFILE_backend # health checking is DISABLED mode http balance source # stickiness stick-table type ip size 50k expire 30m stick on src # tuning options timeout connect 30s timeout server 30s http-reuse safe server SEAFILE_server 192.168.1.11:81 ssl verify none
# Backend: SEAFILE_backend ()backend SEAFILE_backend # health checking is DISABLED mode http balance source # stickiness stick-table type ip size 50k expire 30m stick on src # tuning options timeout connect 30s timeout server 30s http-reuse safe server SEAFILE_server 192.168.1.11:81 ssl verify none