new structure
This kicks off the basic tree structure, where the docs all mirror the reality, like an ascii penumbra.
This commit is contained in:
20
krov/serverko/ipv6tunnel12/etc/network/interfaces
Normal file
20
krov/serverko/ipv6tunnel12/etc/network/interfaces
Normal file
@@ -0,0 +1,20 @@
|
||||
auto lo
|
||||
iface lo inet loopback
|
||||
|
||||
auto eth0
|
||||
iface eth0 inet static
|
||||
address 192.168.1.208/24
|
||||
gateway 192.168.1.1
|
||||
|
||||
auto he-ipv6
|
||||
iface he-ipv6 inet6 v4tunnel
|
||||
address 2001:470:1f1a:1a4::2
|
||||
netmask 127
|
||||
endpoint 216.66.87.14
|
||||
local 192.168.1.208
|
||||
ttl 255
|
||||
gateway 2001:470:1f1a:1a4::1
|
||||
|
||||
iface eth0 inet6 static
|
||||
address 2001:470:1f1a:1a4::5/96
|
||||
|
@@ -0,0 +1,13 @@
|
||||
[Unit]
|
||||
Description=Auto start ipv6 tunnel
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/bash /root/scripts/netstart.sh
|
||||
# Remove restarts if the command is just a one-off
|
||||
Restart=on-failure
|
||||
RestartSec=5s
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
4
krov/serverko/ipv6tunnel12/root/scripts/netstart.sh
Executable file
4
krov/serverko/ipv6tunnel12/root/scripts/netstart.sh
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
ifup he-ipv6
|
||||
ip -6 route add default via 2001:470:1f1a:1a4::1 dev he-ipv6
|
Reference in New Issue
Block a user