Initial version
This commit is contained in:
68
playbooks/templates/cjdroute.conf.j2
Normal file
68
playbooks/templates/cjdroute.conf.j2
Normal file
@@ -0,0 +1,68 @@
|
||||
{
|
||||
"privateKey": "{{ cjdns_private_key }}",
|
||||
"publicKey": "{{ cjdns_public_key }}",
|
||||
"ipv6": "{{ cjdns_ipv6 }}",
|
||||
"authorizedPasswords": [
|
||||
{"password": "{{ cjdns_incoming_username }}", "user": "{{ cjdns_incoming_password }}"}
|
||||
|
||||
],
|
||||
"admin": {
|
||||
"bind": "127.0.0.1:11234",
|
||||
"password": "NONE"
|
||||
},
|
||||
"interfaces": {
|
||||
"UDPInterface": [
|
||||
{
|
||||
"bind": "0.0.0.0:40183",
|
||||
"connectTo": {
|
||||
"198.211.126.112:44970": {
|
||||
"login": "{{ cjdns_snoopy_username }}",
|
||||
"password": "{{ cjdns_snoopy_password }}",
|
||||
"publicKey": "2vvjxl91bnk2z3h33ys6ulm3rblxr4d427cg846ycgjhccvs1wf0.k",
|
||||
"peerName": "snoopy"
|
||||
},
|
||||
"165.227.155.27:47266": {
|
||||
"login": "{{ cjdns_woodstock_username }}",
|
||||
"password": "{{ cjdns_woodstock_password }}",
|
||||
"publicKey": "m6q1ks6pm72k4wur3knt77yukkku1c1vwzus1ympwvkkk7746sc0.k",
|
||||
"peerName": "woodstock"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"bind": "[::]:40183",
|
||||
"connectTo": {}
|
||||
}
|
||||
],
|
||||
"ETHInterface": [
|
||||
{
|
||||
"bind": "all",
|
||||
"beacon": 2,
|
||||
"connectTo": {}
|
||||
}
|
||||
]
|
||||
},
|
||||
"router": {
|
||||
"supernodes": [],
|
||||
"interface": {
|
||||
"type": "TUNInterface",
|
||||
"tunDevice": "cjdns"
|
||||
},
|
||||
"ipTunnel": {
|
||||
"allowedConnections": [],
|
||||
"outgoingConnections": []
|
||||
}
|
||||
},
|
||||
"security": [
|
||||
{ "setuser": "cjdns", "keepNetAdmin": 1 },
|
||||
{ "chroot": "/var/empty/cjdns" },
|
||||
{ "nofiles": 0 },
|
||||
{ "noforks": 1 },
|
||||
{ "seccomp": 1 },
|
||||
{ "setupComplete": 1 }
|
||||
],
|
||||
"logging": {},
|
||||
"noBackground": 0,
|
||||
"pipe": "cjdroute.sock",
|
||||
"version": 2
|
||||
}
|
Reference in New Issue
Block a user