10.0.0.0/16 vs Comcast Xfinity
We started testing out tailscale the other day to help us connect to instances in our private AWS VPC (tailscale.com/kb/1021/install-aws).
Note that Tailscale uses the 100...* range for devices (tailscale.com/kb/1015/100.x-addresses). Furthermore our VPC in AWS was using 10.0.0.0/16 range:
We then setup subnet routes from our jumpbox (tailscale.com/kb/1019/subnets):
Many folks were able to connect to machines in our AWS VPC when connected to tailscale but others were not. This was puzzling. For me I was able to connect to resources and saw a routing table as follows:
For one person who wasn't working we noticed the following:
We also noticed that there were many posts about VPN's not working with Xfinity wifi: forums.xfinity.com/conversations/your-home-..
So it looked like Xfinity was using the 10...* which collided with our AWS VPC space. Indeed this is their default modem setup:
Now we can reconfigure it to use 192.168.*:
After reconfiguring their routes look as follows:
And finally we're able to access our AWS VPC space through tailscale. As an aside, I will no longer make any VPC as 10.0.0.0/16. I'll start at 10.175.0.0/16 at least.