Features
- Anyconnect client as a router.
- Customize routing table the way you like(chnroutes applied by default)
Prerequisites
- Vagrant
- VirtualBox
Usage
- 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).
TODO
- sync
provisioning/etc/cn/apnic_cn_routes.tsv
with chnroutes - sync
provisioning/etc/dnsmasq.d/*.conf
with dnsmasq-china-list - Web pages for admin
相关帖子:https://briteming.blogspot.com/2018/03/vrouter.html
No comments:
Post a Comment