summaryrefslogtreecommitdiff
path: root/roles/configure_static_routes/files/ffmyk-iproute.sh
diff options
context:
space:
mode:
authorNiklas Yann Wettengel <niyawe@niyawe.de>2017-07-16 13:45:10 +0200
committerNiklas Yann Wettengel <niyawe@niyawe.de>2017-07-16 13:45:10 +0200
commit5ec7d9ba3e0b2d6a55e5030f643fd4f90593fccf (patch)
treeae80957e60499292c19c8d12add72f034498d65e /roles/configure_static_routes/files/ffmyk-iproute.sh
parenta72158a848349b4d56ace77ff5da78c577cfb968 (diff)
route changes
Diffstat (limited to 'roles/configure_static_routes/files/ffmyk-iproute.sh')
-rwxr-xr-xroles/configure_static_routes/files/ffmyk-iproute.sh11
1 files changed, 1 insertions, 10 deletions
diff --git a/roles/configure_static_routes/files/ffmyk-iproute.sh b/roles/configure_static_routes/files/ffmyk-iproute.sh
index 13a9dea..391d88f 100755
--- a/roles/configure_static_routes/files/ffmyk-iproute.sh
+++ b/roles/configure_static_routes/files/ffmyk-iproute.sh
@@ -1,17 +1,8 @@
#!/bin/bash
-ip -4 rule add to 10.0.0.0/8 type unreachable priority 200
-ip -4 rule add from 10.0.0.0/8 type unreachable priority 200
-ip -4 rule add to 192.168.0.0/16 type unreachable priority 200
-ip -4 rule add from 192.168.0.0/16 type unreachable priority 200
-ip -4 rule add to 172.16.0.0/12 type unreachable priority 200
-ip -4 rule add from 172.16.0.0/12 type unreachable priority 200
-ip -6 rule add from fc00::/7 type unreachable priority 200
-ip -6 rule add to fc00::/7 type unreachable priority 200
-
#Alles, was mit 0x1 markiert wird gehört zu Tabelle ffmyk
ip -4 rule add from all fwmark 0x1 table ffmyk priority 10
ip -6 rule add from all fwmark 0x1 table ffmyk priority 10
-
+
#Alles mit Freifunk-IP - woher auch immer - gehört zu Tabelle ffmyk
#ip -4 rule add from 10.222.0.0/16 table ffmyk
#ip -6 rule add from 2001:470:cd45:FF00::/56 table ffmyk