1137	print_builtin_traefik_instructions() {
1138	  echo ""
1139	  echo "$MSG_SEPARATOR"
1140	  echo "  NETBIRD SETUP COMPLETE"
1141	  echo "$MSG_SEPARATOR"
1142	  echo ""
1143	  echo "You can access the NetBird dashboard at:"
1144	  echo "  $NETBIRD_HTTP_PROTOCOL://$NETBIRD_DOMAIN"
1145	  echo ""
1146	  echo "Follow the onboarding steps to set up your NetBird instance."
1147	  echo ""
1148	  echo "Traefik is handling TLS certificates automatically via Let's Encrypt."
1149	  echo "If you see certificate warnings, wait a moment for certificate issuance to complete."
1150	  echo ""
1151	  echo "Open ports:"
1152	  echo "  - 443/tcp   (HTTPS - all NetBird services)"
1153	  echo "  - 80/tcp    (HTTP - redirects to HTTPS)"
1154	  echo "  - $NETBIRD_STUN_PORT/udp   (STUN - required for NAT traversal)"
1155	  if [[ "$ENABLE_PROXY" == "true" ]]; then
1156	    echo "  - 51820/udp (WIREGUARD - (optional) for P2P proxy connections)"
1157	  fi
1158	  echo ""
1159	  echo "This setup is ideal for homelabs and smaller organization deployments."
1160	  echo "For enterprise environments requiring high availability and advanced integrations,"
1161	  echo "consider a commercial on-prem license or scaling your open source deployment:"
1162	  echo ""
1163	  echo "  Commercial license: https://netbird.io/pricing#on-prem"
1164	  echo "  Scaling guide:      https://docs.netbird.io/selfhosted/maintenance/scaling/scaling-your-self-hosted-deployment"
1165	  echo ""
1166	  if [[ "$ENABLE_PROXY" == "true" ]]; then
1167	    echo "NetBird Proxy:"
1168	    echo "  The proxy service is enabled and running."
1169	    echo "  Any domain NOT matching $NETBIRD_DOMAIN will be passed through to the proxy."
1170	    echo "  The proxy handles its own TLS certificates via ACME TLS-ALPN-01 challenge."
1171	    echo "  Point your proxy domain to this server's domain address like in the examples below:"
1172	    echo ""
1173	    echo "  *.$NETBIRD_DOMAIN    CNAME    $NETBIRD_DOMAIN"
1174	    echo ""
1175	  fi
1176	  return 0
1177	}
1178
1179	print_traefik_instructions() {
1180	  echo ""
1181	  echo "$MSG_SEPARATOR"

print_builtin_traefik_instructions() {
  echo ""
  echo "$MSG_SEPARATOR"
  echo "  NETBIRD SETUP COMPLETE"
  echo "$MSG_SEPARATOR"
  echo ""
  echo "You can access the NetBird dashboard at:"
  echo "  $NETBIRD_HTTP_PROTOCOL://$NETBIRD_DOMAIN"
  echo ""
  echo "Follow the onboarding steps to set up your NetBird instance."
  echo ""
  echo "Traefik is handling TLS certificates automatically via Let's Encrypt."
  echo "If you see certificate warnings, wait a moment for certificate issuance to complete."
  echo ""
  echo "Open ports:"
  echo "  - 443/tcp   (HTTPS - all NetBird services)"
  echo "  - 80/tcp    (HTTP - redirects to HTTPS)"
  echo "  - $NETBIRD_STUN_PORT/udp   (STUN - required for NAT traversal)"
  if [[ "$ENABLE_PROXY" == "true" ]]; then
    echo "  - 51820/udp (WIREGUARD - (optional) for P2P proxy connections)"
  fi
  echo ""
  echo "This setup is ideal for homelabs and smaller organization deployments."
  echo "For enterprise environments requiring high availability and advanced integrations,"
  echo "consider a commercial on-prem license or scaling your open source deployment:"
  echo ""
  echo "  Commercial license: https://netbird.io/pricing#on-prem"
  echo "  Scaling guide:      https://docs.netbird.io/selfhosted/maintenance/scaling/scaling-your-self-hosted-deployment"
  echo ""
  if [[ "$ENABLE_PROXY" == "true" ]]; then
    echo "NetBird Proxy:"
    echo "  The proxy service is enabled and running."
    echo "  Any domain NOT matching $NETBIRD_DOMAIN will be passed through to the proxy."
    echo "  The proxy handles its own TLS certificates via ACME TLS-ALPN-01 challenge."
    echo "  Point your proxy domain to this server's domain address like in the examples below:"
    echo ""
    echo "  *.$NETBIRD_DOMAIN    CNAME    $NETBIRD_DOMAIN"
    echo ""
  fi
  return 0
}

print_traefik_instructions() {
  echo ""
  echo "$MSG_SEPARATOR"


```bash
#!/bin/bash
MSG_SEPARATOR="============================================"
NETBIRD_DOMAIN="demo.netbird.io"
NETBIRD_HTTP_PROTOCOL="https"
NETBIRD_STUN_PORT="3478"
ENABLE_PROXY="true"

echo ""
echo "$MSG_SEPARATOR"
echo "  NETBIRD SETUP COMPLETE"
echo "$MSG_SEPARATOR"
echo ""
echo "You can access the NetBird dashboard at:"
echo "  $NETBIRD_HTTP_PROTOCOL://$NETBIRD_DOMAIN"
echo ""
echo "Follow the onboarding steps to set up your NetBird instance."
echo ""
echo "Traefik is handling TLS certificates automatically via Let's Encrypt."
echo "If you see certificate warnings, wait a moment for certificate issuance to complete."
echo ""
echo "Open ports:"
echo "  - 443/tcp   (HTTPS - all NetBird services)"
echo "  - 80/tcp    (HTTP - redirects to HTTPS)"
echo "  - $NETBIRD_STUN_PORT/udp   (STUN - required for NAT traversal)"
if [[ "$ENABLE_PROXY" == "true" ]]; then
  echo "  - 51820/udp (WIREGUARD - (optional) for P2P proxy connections)"
fi
echo ""
echo "This setup is ideal for homelabs and smaller organization deployments."
echo "For enterprise environments requiring high availability and advanced integrations,"
echo "consider a commercial on-prem license or scaling your open source deployment:"
echo ""
echo "  Commercial license: https://netbird.io/pricing#on-prem"
echo "  Scaling guide:      https://docs.netbird.io/selfhosted/maintenance/scaling/scaling-your-self-hosted-deployment"
echo ""
if [[ "$ENABLE_PROXY" == "true" ]]; then
  echo "NetBird Proxy:"
  echo "  The proxy service is enabled and running."
  echo "  Any domain NOT matching $NETBIRD_DOMAIN will be passed through to the proxy."
  echo "  The proxy handles its own TLS certificates via ACME TLS-ALPN-01 challenge."
  echo "  Point your proxy domain to this server's domain address like in the examples below:"
  echo ""
  echo "  *.$NETBIRD_DOMAIN    CNAME    $NETBIRD_DOMAIN"
  echo ""
fi
```