How do I bridge/unbridge programmatically on Windows 7?

How to customize and extend your OpenVPN installation.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
SteveKern
OpenVpn Newbie
Posts: 1
Joined: Tue Jan 06, 2015 8:08 pm

How do I bridge/unbridge programmatically on Windows 7?

Post by SteveKern » Tue Jan 06, 2015 8:28 pm

We develop virtual hardware devices and connect to them with our test environment using IP and tap devices. We use a couple of different configurations for different projects.

One project uses 4 tap devices that have been previously created and configured with IP addresses. The other project uses the same 4 tap devices but creates a bridge between the first three. Both projects run on Windows 7.

I would like to know how I can switch between these 2 configurations using script files or code (C++ or C#)

I appreciate any suggestions you might have.

Thanks!

User avatar
Traffic
OpenVPN Protagonist
Posts: 4066
Joined: Sat Aug 09, 2014 11:24 am

Re: How do I bridge/unbridge programmatically on Windows 7?

Post by Traffic » Sat Jan 10, 2015 11:24 am

Have you tried netsh ?

Post Reply