fix wireguard routing
Signed-off-by: Evan Hazlett <ejhazlett@gmail.com>
This commit is contained in:
parent
a1dda3097a
commit
87adb7d366
10 changed files with 367 additions and 56 deletions
|
@ -83,10 +83,16 @@ func main() {
|
|||
Value: generateKey(),
|
||||
EnvVar: "HEIMDALL_CLUSTER_KEY",
|
||||
},
|
||||
cli.StringFlag{
|
||||
Name: "node-network",
|
||||
Usage: "subnet to be used for nodes",
|
||||
Value: "10.10.0.0/16",
|
||||
EnvVar: "HEIMDALL_NODE_NETWORK",
|
||||
},
|
||||
cli.StringFlag{
|
||||
Name: "peer-network",
|
||||
Usage: "subnet to be used for peers",
|
||||
Value: "10.254.0.0/16",
|
||||
Value: "10.51.0.0/16",
|
||||
EnvVar: "HEIMDALL_PEER_NETWORK",
|
||||
},
|
||||
cli.StringFlag{
|
||||
|
|
|
@ -45,6 +45,7 @@ func runServer(cx *cli.Context) error {
|
|||
GRPCAddress: cx.String("addr"),
|
||||
GRPCPeerAddress: cx.String("peer"),
|
||||
ClusterKey: cx.String("cluster-key"),
|
||||
NodeNetwork: cx.String("node-network"),
|
||||
PeerNetwork: cx.String("peer-network"),
|
||||
GatewayIP: cx.String("gateway-ip"),
|
||||
GatewayPort: cx.Int("gateway-port"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue