Hello all,
I've been experimenting with creating a remote cluster using tinc and openvpn, both solutions seem overly complicated.
Why not this;
device 1 (IP: 10.10.10.10)
sudo modprobe tun
sudo ip tuntap add dev tun0 mode tun
sudo ip link set dev tun0 up
sudo ip addr add 192.168.69.1/24 dev tun0
sudo ip route add 192.168.69.0/24 dev tun0
sudo ip neigh add 10.20.20.20 lladdr 00:00:00:00:00:01 dev tun0
device 2 (IP: 10.20.20.20)
sudo modprobe tun
sudo ip tuntap add dev tun0 mode tun
sudo ip link set dev tun0 up
sudo ip addr add 192.168.69.2/24 dev tun0
sudo ip route add 192.168.69.0/24 dev tun0
sudo ip neigh add 10.10.10.10 lladdr 00:00:00:00:00:01 dev tun0
Thoughts?
I've been experimenting with creating a remote cluster using tinc and openvpn, both solutions seem overly complicated.
Why not this;
device 1 (IP: 10.10.10.10)
sudo modprobe tun
sudo ip tuntap add dev tun0 mode tun
sudo ip link set dev tun0 up
sudo ip addr add 192.168.69.1/24 dev tun0
sudo ip route add 192.168.69.0/24 dev tun0
sudo ip neigh add 10.20.20.20 lladdr 00:00:00:00:00:01 dev tun0
device 2 (IP: 10.20.20.20)
sudo modprobe tun
sudo ip tuntap add dev tun0 mode tun
sudo ip link set dev tun0 up
sudo ip addr add 192.168.69.2/24 dev tun0
sudo ip route add 192.168.69.0/24 dev tun0
sudo ip neigh add 10.10.10.10 lladdr 00:00:00:00:00:01 dev tun0
Thoughts?