lxc-config/hooks/dn42-routes

11 lines
265 B
Plaintext
Raw Normal View History

2015-01-03 16:58:08 +00:00
#!/bin/bash
2015-03-30 22:02:32 +00:00
ip route add 172.16.0.0/12 via 172.23.75.1
ip route add 10.0.0.0/8 via 172.23.75.1
2015-08-05 15:33:37 +00:00
ip -6 route add fc00::/7 via fdc0:4992:6a6d::1
sysctl -w net.ipv4.conf.all.forwarding=0
sysctl -w net.ipv4.ip_forward=0
sysctl -w net.ipv6.conf.all.forwarding=0
2015-08-05 15:33:37 +00:00
exit 0