servers/psmf: add psmf server docs, nginx/tailscale config, and data-sync
Document the psmf host (DNS, second tailscale netns instance, nginx vhosts, migration plan) and add the docker-dev-22 psmf-data-sync service plus the storage-23 pg_hba.conf entry it needs. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
11
servers/psmf/files/ts2-netns-down
Normal file
11
servers/psmf/files/ts2-netns-down
Normal file
@@ -0,0 +1,11 @@
|
||||
#!/usr/bin/env bash
|
||||
# best-effort cleanup, don't fail on missing pieces
|
||||
# location: /usr/local/sbin/ts2-netns-down
|
||||
|
||||
iptables -t nat -D POSTROUTING -s 10.200.0.0/30 -o br0 -j MASQUERADE 2>/dev/null || true
|
||||
iptables -D FORWARD -i veth-ts2 -o br0 -j ACCEPT 2>/dev/null || true
|
||||
iptables -D FORWARD -o veth-ts2 -i br0 -m state --state RELATED,ESTABLISHED -j ACCEPT 2>/dev/null || true
|
||||
|
||||
ip link del veth-ts2 2>/dev/null || true
|
||||
ip netns del ts2 2>/dev/null || true
|
||||
rm -rf /etc/netns/ts2
|
||||
Reference in New Issue
Block a user