0
0
Fork 0
easterhegg-2005-website/noc/configs/tinc/chaos/tinc-up

17 lines
800 B
Plaintext
Raw Permalink Normal View History

2024-01-27 15:10:12 +01:00
#!/bin/sh
/sbin/ifconfig $INTERFACE 172.16.0.1 netmask 255.255.255.255
/sbin/ip -4 route add 192.168.23.0/24 dev $INTERFACE
/sbin/ip -4 route add 192.168.8.0/24 dev $INTERFACE
/sbin/ip -4 route add 192.168.13.0/24 dev $INTERFACE
/sbin/ip -4 route add 192.168.0.99/32 dev $INTERFACE
/sbin/ip -4 route add 192.168.9.0/24 dev $INTERFACE
/sbin/ip -4 route add 10.6.65.0/24 dev $INTERFACE
/sbin/ip -4 route add 10.6.66.0/24 dev $INTERFACE
/sbin/ip -4 route add 192.168.16.0/23 dev $INTERFACE
/sbin/ip -4 route add 192.168.20.0/23 dev $INTERFACE
/sbin/ip -4 route add 192.168.0.64/26 dev $INTERFACE
/sbin/ip -4 route add 192.168.18.0/23 dev $INTERFACE
/sbin/ip -4 route add 10.42.0.0/16 dev $INTERFACE
/sbin/ip -4 route add 192.168.0.98/32 dev $INTERFACE
/sbin/ip -4 route add 10.47.11.0/24 dev $INTERFACE