Community discussions

MikroTik App
 
Defsoul
just joined
Topic Author
Posts: 3
Joined: Mon Feb 06, 2017 2:23 pm

Cant Connect to VPN

Tue Jun 12, 2018 10:15 am

Hi,

I setup a pptp vpn connect and I was able to connect without a problem

I was now trying to block torrents using the following https://www.mansooryousaf.com/blogs/blo ... rsion-6-41.

I now can't connect to the vpn, is there a way I can allow the vpn connection and still block torrents?

Thanks
 
kerberos2023
just joined
Posts: 3
Joined: Mon May 28, 2018 1:48 pm
Contact:

Re: Cant Connect to VPN

Tue Jun 12, 2018 12:09 pm

use mangle to mark packets which go through layer 7
and then exclude your vpn
 
User avatar
CZFan
Forum Guru
Forum Guru
Posts: 2098
Joined: Sun Oct 09, 2016 8:25 pm
Location: South Africa, Krugersdorp (Home town of Brad Binder)
Contact:

Re: Cant Connect to VPN

Tue Jun 12, 2018 1:57 pm

You can try and add dst port 1723 to the below:
add action=drop chain=forward dst-port=\
    !0-1024,8291,5900,5800,3389,14147,5222,59905 protocol=tcp \
    src-address-list=Torrent-Conn
add action=drop chain=forward dst-port=\
    !0-1024,8291,5900,5800,3389,14147,5222,59905 protocol=udp \
    src-address-list=Torrent-Conn