Commit 091d2266 authored by nanahira's avatar nanahira

initialize script

parent fa0d3a97
#!/bin/bash
source {{ansible_user_dir}}/nextgen-router/scripts/utility.sh
ipset restore -f {{ansible_user_dir}}/nextgen-router/localnet-ipset
iptables-restore --noflush {{ansible_user_dir}}/iptables-gateways
{% for subnet in localnets %}
ip rule add pref 80 to {{subnet}} lookup main
{% endfor %}
ip rule add pref 80 to 172.16.0.0/12 lookup main
arp -f
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment