add IPsec link to wes
This commit is contained in:
parent
bad0deb8e5
commit
c8e3d63d41
@ -55,6 +55,7 @@
|
||||
];
|
||||
firewall.allowedUDPPorts = [
|
||||
443 # dnscrypt
|
||||
500 # ipsec
|
||||
53 # dns
|
||||
21027 # syncthing discovery
|
||||
64738 # mumble server
|
||||
@ -439,6 +440,27 @@
|
||||
(bindNginx "/var/lib/asjon/tree/report" "asjon")
|
||||
];
|
||||
|
||||
|
||||
### IPsec mesh
|
||||
|
||||
environment.etc."ipsec.d/mesh.secrets".source = config.secrets.passwords.mesh;
|
||||
|
||||
services.libreswan.enable = true;
|
||||
services.libreswan.connections.mesh =
|
||||
''
|
||||
leftid=@wes
|
||||
left=2a01:e11:1001:53ea::1
|
||||
rightid=@maxwell
|
||||
right=2001:470:c8e8:0:230:48ff:fefa:91e1
|
||||
authby=secret
|
||||
type=transport
|
||||
|
||||
auto=ondemand
|
||||
failureshunt=drop
|
||||
negotiationshunt=hold
|
||||
'';
|
||||
|
||||
|
||||
### Misc. services
|
||||
services.asjon.enable = true;
|
||||
|
||||
|
@ -1,66 +1,67 @@
|
||||
U2FsdGVkX19XCACEufEt5M4bXKrEZbc3uwl9/RfxrTWPGRc+9wq/lObPINAaiVJ5
|
||||
6RC1WdLmXBnubDqxvvf4Oont7clL3Uf2YlJTvKQ1ybnPOLDG49PXQDS45vjktTf3
|
||||
Edl/a9vHj43WbZB/ZRFwcQmPXlGkF/H4wl1Ab44nvTXmIna53kkK6qjpj8gk9BrJ
|
||||
qDzyGjtdpZ2IQi1niPZFuTHb/ZYEK/7KVDABo13HL0A02C/tQE8g+oT00BJUKyl2
|
||||
4P94Q9lVfqAjMzjIV/yp8QjDh6kQsM6I0Nc0Gyqjjhf8ppdYkeYtqiboaoaxksEU
|
||||
LIwyyFV+aqlFGAVdYv8d5TaAoJ+B7+Szw284uGkKOBb78GV4SBBIpe7GlOBcX4+v
|
||||
hI2F0HXTcaBg5lO6Z9SS79GeJcbKliu2mAp7hrdSs+gBjPoClx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U8fEgkG0QP/bvb+iEAbgx3u
|
||||
+CGCZtcp08dv0+cn5Bh7S8623vz10jt/txj23TvRlli/mt1UH7Vq9H9RroIMEd2I
|
||||
etYUc/lNHKmCd8ekIOuq2oxk9j2uEqQv4s5jQKbIWfJ88VgNRMzlRNRTlkUpYI5C
|
||||
7aANIfr8nbLdMqJ3f68=
|
||||
|
3
secrets/pass/mesh.pwd
Normal file
3
secrets/pass/mesh.pwd
Normal file
@ -0,0 +1,3 @@
|
||||
U2FsdGVkX19/kwiv3qT/dPLvt7EyuI9Bq8A8G3EPIHDqAOZNBnVpjoYL5Lohhjn1
|
||||
rAlHir5QMigMm6nNBF0dIYh4vIKyWtD4g+6btiagcke3MYCtcz3zVdeZdzpVOHvP
|
||||
tRoTA9ZQNw==
|
Loading…
Reference in New Issue
Block a user