Update README.md

Route discovery update.
This commit is contained in:
Ivan Ilves 2017-02-23 22:02:16 +01:00 committed by GitHub
parent 52a89cba61
commit e434b6c562

View File

@ -23,5 +23,11 @@ You will need:
* Local sudo privileges
* Remote sudo privileges
# Mac note
## Mac note
Install [TunTap for Mac OS X](http://tuntaposx.sourceforge.net/) first.
## Route discovery
Specifiying routes by hand is not bad. But we could make it better by creating an executable `discover-routes` script in the project directory. If no routes are passed by hand, `xiringuito` will run `discover-routes`, pass SSH server hostname to it and use script output as a list of routes, so you may have per-host or per-domain route lists instead of boring manual typing. More information is available in [AWS example](https://github.com/ivanilves/xiringuito/blob/master/discover-routes.aws.example) which uses AWS CLI to discover VPC subnets and route traffic to them through our VPN tunnel.
## You can have many of them!
As long as your routes do not overlap, you can run as many `xiringuito` tunnels as you want. Simultaneously.