- Anyconnect client as a router
- Customize routing table the way you like(chnroutes applied by default)
- Vagrant
- VirtualBox
- Check
bridge
inVagrantfile
, modify if necessary. - Start the virtual router via
vagrant up
. vagrant ssh
into the router.- Connect:
anyconnect connect your.anyconnect-server.com username password
(Modify parameters accordingly). ifconfig eth1
Use the IP address ofeth1
as your Gateway (you can also use the IP as your DNS server).- Disconnect:
anyconnect disconnect
(Remember to run this even when the tunnel is broken by accident).
- sync
provisioning/etc/cn/apnic_cn_routes.tsv
with chnroutes - sync
provisioning/etc/dnsmasq.d/*.conf
with dnsmasq-china-list - Web pages for admin
Copyleft (c) 2015, GreatFireHole All rights revoked.