1
0
Fork 0
mirror of https://github.com/NeoCloud/NeoNetwork synced 2024-12-24 11:39:24 +08:00

Tinc config directory barbone

This commit is contained in:
Neo_Chen 2019-11-03 14:28:40 +08:00
parent 84be69d20b
commit c75be2bda5
5 changed files with 53 additions and 0 deletions

16
tinc/hosts/caasih Normal file
View file

@ -0,0 +1,16 @@
Address=caasih.nerdpol.ovh
Port=xxxx
-----BEGIN RSA PUBLIC KEY-----
MIICCgKCAgEA4RjPVW/qE7DhWSjSWgH9dgG+5MrMhPxJRlZkI112BBETV17ZzTu5
D6B0px9aNqpqFlQUkA36JFouJ7dU3LfBdam3gyGN6Ozyj5Vt1cknM6EFyM//0JEI
RRc4c8L+v9X7ONj6ej6gRwkjrsXZU6LQGaVLTtTDDaetMTHRgr8Q8BGvQt+CAX94
WK5/TKKm2DIEUEgx85jd6ntRpZuir87BzoAM/gLg6KQ4jYht1SyjVTJ6Sxio/f2u
B3ATAhVwEG7Ap7GKhDFVhE8WNG0PzlbCmuoRM5yTZW/GY8vPafIfxOtT8Oa7yaZY
I6Nc9XRfvd7SdimHYbSBYueFX4mi175ZH1XkdGNWiF/tENc5Id/ha94r01Xah+et
HuSdymgXp68UsiGOJ/TyN0iT5ctgXxjm0Qzy6JDvr6Ijg3IbL8WgBSW335R7bAAe
Mj4uYsBdZ7riqpu1pjk6OkfT29exttGuz0QzPV82QHPkk5rPa1b+OK7pJJFBGvbo
s1MY4LR6HSUSlpRvYpbRBLx7KbMHMSMZgfAhA2jrMYo/uSj4Yv5juQxX+ur85yO+
OmxU/9CYwlaRh0aYBSymqAKDhgFmUfyoz0R2CVJ+a7MbHJxFFfDCzi3StaJtwM/Q
+Rs2hN3T0DyYvmQwyPZAXOAQx3NRq8luVrEPiWEPJYE0LCTceRkqKW8CAwEAAQ==
-----END RSA PUBLIC KEY-----

16
tinc/hosts/ucbvax Normal file
View file

@ -0,0 +1,16 @@
Address=sl-sgp.asn.yt
Port=xxxx
-----BEGIN RSA PUBLIC KEY-----
MIICCgKCAgEAzs4pHdKCzTULQtKnAn6DzFSHHxeLMB47BvBJWl5xCkBwYLYqZNnl
JQCPevrIOz29VY34Ko7s4ClcLU5ZI1gqB4maFg6bsdeekhnG8sszQzBzZF2PDOXg
J40aDUCHV1QNLwUAFVl9cQvSPv1cnrOqZI6dKJTV7inGh72c6DHdDI9NCuGUrwBa
X7bs/TuQEAvv81RVaO5/tAUTALrvGUKG2vxQINJoCmzgl4noqfX3+5K0eRnnJF+P
+edT2Dn7M8VUMJo4zuxIcjll3aVLhoBjXys7Fc2hVP3fILsbx9v/NMyW4fzVkM+q
U1oycVYn/Xh8o/YoVJRjlqUmhPGRrsuXsYvW/Xq1Tz2tRLtUlIS4npiEKDGQOaF+
4W/1TNAXUBFBwM6dZxsruBJc/ZgOsalLfKvPkSFroA1P4VsE671BOnxUuVbeNwnm
yPTmaoxBhkrQ2N3rDC9J8KStgaFSD5raXhgVxNIr0vx8FBx7XtPOzOkcqr3CzG81
FVo0o7Ql24t61mri/qBh0YHTOPLvZ0BEZTWQtf6ACGofYa7B/9C6Ahf+gn6kISWr
dL2qXJ7iPOkVn33HYiKfLVPCCmOT352U1nfgjNacQ1K0qn6/RpEWx7z6j7QCs1Ua
uF4k8jksRkzZsytvLSo1nm5VSw8vQfb3r2OxVMWRZAmk+C+KVrno3KcCAwEAAQ==
-----END RSA PUBLIC KEY-----

10
tinc/tinc-down Normal file
View file

@ -0,0 +1,10 @@
#!/bin/sh
case `uname` in
Linux)
ip link set $INTERFACE down
;;
*BSD)
ifconfig $INTERFACE down
;;
esac

11
tinc/tinc-up Normal file
View file

@ -0,0 +1,11 @@
#!/bin/sh
case `uname` in
Linux)
ip link set $INTERFACE up
ip addr add 10.127.x.x/x dev $INTERFACE
;;
*BSD)
ifconfig $INTERFACE 10.127.x.x/x
;;
esac