KamoCRM

Geo-block CN/SG and lock SIP to Telnyx on every node; IMAP STARTTLS; no public Traefik API

FeatureKlusterServices
Đã gửi
lúc 01:43 16 tháng 11, 2026 UTC
Tác giả
Kamo
Gửi
4794e37

Most of what's public bypasses Traefik (phone, mail, TURN, media all run on the node's own network), so the Traefik geo-block alone left them open. node-config/edge-filter: an nftables table (inet kamo_edge) on k1m1 and k3m1, installed by a privileged Job per node from deploy-services, persisted by kamo-edge-filter.service: - drop new connections from CN/SG on any port (SMTP 25 excepted) - FreePBX 5060 (k1m1) and livekit-sip 5070 (k3m1) answer only Telnyx, our own public IPs and private space. A 2026-11-16 capture saw one legitimate SIP source (Telnyx 192.76.120.10) among a stream of scanners. KamoPBX's 5060/5061 stay open: tenants' phones register there. The public port allowlist itself is not repeated: kamo_wan_in (eno1) and the router forwards already own it. traefik/geoblock/generate.py now writes the nft sets too, and exempts every range Telnyx publishes (voice.json), since GeoLite puts some of them in Singapore. A test checks both outputs block the same ranges and never Telnyx. mail: Dovecot served IMAP with ssl = no on 76.81.227.154:143, so outside logins sent passwords in clear. It now offers STARTTLS with the mail.kamocrm.com cert and refuses plaintext IMAP logins except from the pod network (verified on Dovecot 2.3: untrusted plaintext -> PRIVACYREQUIRED, after STARTTLS -> OK, 10.42/16 plaintext -> OK). KamoMail's clients are plain-IMAP pods, so nothing changes for them. auto-cert restarts dovecot on renewal. traefik/service.yaml: drop the admin port. 8080 is the unauthenticated --api.insecure API and dashboard; nothing used it through the Service.

Tất cả thay đổi

Như những gì anh thấy trên tàu sao?

Tất cả chúng sẽ tự động đến không gian làm việc của bạn. Bắt đầu với kế hoạch miễn phí và đọc lại trang này sau một tháng.

Tự do vĩnh viễnXem giá