stop vpn connection

Did any one know how to stop the vpn connection on MK 3.23

Amgad

what do you mean?

disable your pptp-client interface

I mean I have many users in my network connection to vpn throught MK3.23 server.

How to stop them
where is the pptp-client interface

Thanks
Amgad

remove manually in active connection

if they connect “through” your router (ie. from their PC to some unknown PPTP server) then you can’t stop them.

why not? just block TCP 1723 and GRE protocols

well, we don’t know what kind of VPN that is. There are many kinds. You will end up blocking too much stuff :slight_smile:

Then from where I can block TCP 1723 and GRE protocols, I do not
care about stop too much stuff.

I am using the web-proxy on my MK server.

Amgad

/ip firewall filter add chain=forward protocol=gre action=drop

I try the code and it work but as you say for some kind
Of vpn only.

I wonder if there is some way to stop all the vpn connections with any type.


thanks.

Eng. Amgad

of course, no. what if somebody will tunnel VPN via HTTP? =) will you block all HTTP? :slight_smile:

Yes tunnel VPN via HTTP can not be stop or I will you block all HTTP

But you know I was working on isa2006 before and it blocks all kind of
VPN by default, so I have to add rules to open what I want.

Thanks for your respond

Eng. Amgad

RouterOS doesn’t block anything by default, you have to add rules to block certain things. You have to find out what protocols and ports those VPNs use, and make according firewall rules. Use the one I posted as reference for other rules.

You can do the same in mikrotik by blocking default vpn ports.

Here you can find list of all assigned ports
http://www.iana.org/assignments/port-numbers

the only problem will be with SSL tunnels, if such things are used in your network. By blocking those ports, some websites will no longer work (HTTPS)

Any one have ideo to block psiphone vpn program?

using opendns

block the Proxy/Anonymizer category and that can help

Please write your method in the post