Community discussions

MikroTik App
 
Riajul74
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 68
Joined: Sun Feb 10, 2013 12:01 am

need help to Exclude skype from firewall

Tue May 20, 2014 6:51 pm

Hello Guys,

I have RB450 and i am using layer7 for blocking all website and excluded few website with same layer 7.

i have also made port open from firewall rule 1025-65535 for skype access.

Main problem is, skype is working but file transfer between my client and me is very slow.

does anyone please help me how can i fix this issue. if i disable the rule, file transfer is good. please help.
 
User avatar
scotthammersley
Member Candidate
Member Candidate
Posts: 230
Joined: Fri Feb 22, 2013 7:16 pm
Location: Jackson, MS
Contact:

Re: need help to Exclude skype from firewall

Tue May 20, 2014 9:15 pm

Layer 7 application firewalling is very labor intensive to the CPU and memory. If you have a lot of rules to process, your slowness is possibly due to over consumption of resources.

One possible fix is trying to build a new chain containing the skype file transfer protocol, or allowing already established connections to pass through uninhibited (if not already).
 
Riajul74
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 68
Joined: Sun Feb 10, 2013 12:01 am

Re: need help to Exclude skype from firewall

Tue May 20, 2014 9:20 pm

Can you please let me know details about the rules how it will be ? It will help me then please.
 
User avatar
scotthammersley
Member Candidate
Member Candidate
Posts: 230
Joined: Fri Feb 22, 2013 7:16 pm
Location: Jackson, MS
Contact:

Re: need help to Exclude skype from firewall

Tue May 20, 2014 9:27 pm

Can you post your existing rule set please.
 
Riajul74
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 68
Joined: Sun Feb 10, 2013 12:01 am

Re: need help to Exclude skype from firewall

Tue May 20, 2014 9:45 pm

add chain=forward comment="skype port accpt" dst-port=1025-65535 protocol=tcp \
src-address-list=Processing
 
User avatar
rextended
Forum Guru
Forum Guru
Posts: 12567
Joined: Tue Feb 25, 2014 12:49 pm
Location: Italy
Contact:

Re: need help to Exclude skype from firewall

Tue May 20, 2014 10:34 pm

Good fortune, Scott Hammersley...
 
Riajul74
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 68
Joined: Sun Feb 10, 2013 12:01 am

Re: need help to Exclude skype from firewall

Tue May 20, 2014 10:36 pm

Can u please tell me now about rule what u are talking about ?
 
User avatar
scotthammersley
Member Candidate
Member Candidate
Posts: 230
Joined: Fri Feb 22, 2013 7:16 pm
Location: Jackson, MS
Contact:

Re: need help to Exclude skype from firewall

Wed May 21, 2014 11:02 pm

You can try this:

place this rule towards the top of the rule set:

/ip firewall filter
add chain=forward comment="accept and bypass established connections" protocol=tcp \
connection-state=established src-address-list=Processing action=jump jump-target=trust-established

place this rule at the BOTTOM of the rule set:

/ip firewall filter
add chain=trust-established comment="accept and bypass established connections" action=accept
 
Riajul74
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 68
Joined: Sun Feb 10, 2013 12:01 am

Re: need help to Exclude skype from firewall

Thu May 22, 2014 9:23 am

You can try this:

place this rule towards the top of the rule set:

/ip firewall filter
add chain=forward comment="accept and bypass established connections" protocol=tcp \
connection-state=established src-address-list=Processing action=jump jump-target=trust-established

place this rule at the BOTTOM of the rule set:

/ip firewall filter
add chain=trust-established comment="accept and bypass established connections" action=accept
i have tried. but problem is if i add this rule, they can access all websites which i had blocked.
Please see below all rules which i have.

add chain=forward comment="skype port accpt" dst-port=1025-65535 protocol=tcp \
src-address-list=Processing
add chain=forward port=21-22 protocol=tcp src-address-list=Processing
add chain=forward comment="Processing allow web" layer7-protocol=\
Accept_processing src-address-list=Processing
add chain=forward comment="Processing wetransfer accept" layer7-protocol=\
Accept_wetransfer src-address-list=Processing
add chain=forward comment="Processing wetransfer accept_all" layer7-protocol=\
Accept_processing_wetransfer_all src-address-list=Processing
add chain=forward comment="users accept" layer7-protocol=Accept_users \
src-address-list=Vision_Users
add action=drop chain=forward comment="processing blocking rule" \
layer7-protocol="BlockAll Website" src-address-list=Processing
add action=drop chain=forward comment="users block" layer7-protocol=\
"BlockAll Website" src-address-list=Vision_Users

everything is working good. only problem skype file transfer. please ask me if anything is not clear to you.
If you can help me with this it will be very helpful to me.
 
User avatar
docmarius
Forum Guru
Forum Guru
Posts: 1224
Joined: Sat Nov 06, 2010 12:04 pm
Location: Timisoara, Romania
Contact:

Re: need help to Exclude skype from firewall

Thu May 22, 2014 7:49 pm

AFAIK, Skype transfers the files in 2 ways. If a P2P connection is possible with the file recipient, then a direct connection is established.
If that is not the case, it will go via skype's servers, which is slow.

If there is a controlled environment regarding applications on your network (meaning abuse is excluded)and the network is not very big, UPNP can give you the proper access for your skype users, including fast file transfer.

Who is online

Users browsing this forum: No registered users and 11 guests