"netsh firewall" after connecting VPN


I

Ingmar

Hi all,

When one connects to a Cisco VPN, the concentrator "pushes" a firewall which
prevents users to access the client over the local network when this client
is connected over VPN. We would also like to achieve this with Windows VPN.

I'm making a connection object with CMAK and I specify a batchfile to run
after the connection is established. The batchfile looks like:

netsh firewall set opmode mode=enable interface="local area connection"

Now the firewall is enabled on both the LAN adapter and the VPN adapter. How
can we make sure it is only activated on the LAN adapter?
Also by default the firewall allows traffic from the local subnet. We would
like to disable this.

Any help is appreciated,

Kind regards,

Ingmar Molenaar
 
Ad

Advertisements


Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top