# WireGuard VPN Configuration for Hypergraph Interaction
# Abstracting location and time in a single infinite ordinal set

[Interface]
PrivateKey = <SERVER_PRIVATE_KEY>
Address = 10.0.0.1/24
ListenPort = 51820
PostUp = iptables -A FORWARD -i %i -j ACCEPT; iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
PostDown = iptables -D FORWARD -i %i -j ACCEPT; iptables -t nat -D POSTROUTING -o eth0 -j MASQUERADE

# Peer: Bastion Host
[Peer]
PublicKey = <BASTION_PUBLIC_KEY>
AllowedIPs = 10.0.0.2/32

# Peer: ML Container Cluster
[Peer]
PublicKey = <ML_CLUSTER_PUBLIC_KEY>
AllowedIPs = 10.0.0.3/32

# Peer: Public API Gateway
[Peer]
PublicKey = <API_GATEWAY_PUBLIC_KEY>
AllowedIPs = 10.0.0.4/32
