With ssh, we can execute a few commands on the server, and have a simple set of commands on a client that bring up the vpn , and re-establish it if it goes down.
How/where are docs to do something similar using powershell and the windows vpn functionality?
- create the server listening point
- connect from client to server, for one or both of below needs
- monitor connection, and if it goes down rebuild the vpn
We have two kinds of vpn needs:
- on the client, traffic on port 80 to a specific host should get passed over the vpn
- server to server, ability to map a share from one server to the other (for sql log shipping)
We are looking for a SIMPLE, direct, peer to peer approach here (which is easy to do w SSH, the real problem, when you get down to it, is that there is no native SSH support in windows!).
We CANNOT use solutions that depend on:
- Active Directory
- Fancy setup stuff
We need a way, using built in VPN and/or Direct Access and/or Other features, to make a vpn between two stand alone servers.
The only thing found so far is this ms doc: http://www.microsoft.com/en-us/download/confirmation.aspx?id=2555
which has a lot of group policy stuff which is not relevant, and does not seem to directly tackle what I am looking for.
This environment is %100 Win2012-R2