From charlesreid1

Line 10: Line 10:
===Tinc===
===Tinc===


On bespin:
On bespin (behind NAT):


<pre>
<pre>
Line 34: Line 34:
</pre>
</pre>


On dorky:
On dorky (public IP):


<pre>
<pre>

Revision as of 20:30, 26 July 2020

Notes

  • pod private wiki requires a domain
  • that requires network interfaces and ip addresses to be set up
  • installing tinc natively, whole point is to avoid fuss
  • vpn.charlesreid1.party
  • certificate
  • dns record

Tinc

On bespin (behind NAT):

$ cd /etc/tinc/master

$ cat tinc.conf
Name = bespin
AddressFamily = any
Mode = switch
ConnectTo = dorky

$ cat tinc-up
#!/bin/sh
ifconfig $INTERFACE 10.6.0.10 netmask 255.255.0.0

$ cat tinc-down
#!/bin/sh
ifconfig $INTERFACE down

$ ls hosts/
bespin
dorky

On dorky (public IP):

$ cd /etc/tinc/master

$ cat tinc.conf
Name = dorky
AddressFamily = any
Mode = switch

$ cat tinc-up
#!/bin/sh
ifconfig $INTERFACE 10.6.0.1 netmask 255.255.0.0

$ cat tinc-down
#!/bin/sh
ifconfig $INTERFACE down

$ ls hosts/
bespin
dorky

Related

Tinc