Initial commit
[setroute.git] / usr / local / bin / update_vpn_ipset
1 #!/bin/sh
2 ipset create vpn-tmp hash:ip
3 /usr/local/bin/set-route --list /etc/setroute.list --ipset vpn-tmp
4 ipset swap vpn vpn-tmp
5 ipset destroy vpn-tmp
6