Thursday, July 2, 2020

How to set up Vagrant machine as a router

So I've started a new gig (remote) that requires me to use SonicWall netextender to connect to the customers VPN. Since I run nixos on my machine and nextextender is a proprietary software not really fit to run as is on nixos I created a Centos7 VM to run the VPN software using Vagrant. I run the netextender software in the VM and I can set up a socks proxy by using ssh with dynamic forwarding from my host to the VM.

Now I want to route all my host traffic to the four particular subnets that the net extender sets up through the VM and I'm not sure how to set that up. I also need to access the customers DNS server to resolve internal server names.

How do I set this up using vagrant?



No comments:

Post a Comment