Community discussions

MikroTik App
 
User avatar
Arxondas
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 72
Joined: Sun Aug 02, 2015 12:23 pm
Location: Greece
Contact:

Allow Remote Access (RDP) from Specific IP

Sat Mar 03, 2018 10:43 am

Hello all,

I got a simple network and I need some help.
my network diagram is :
network.jpg
In mikrotik ports 2-5 are bridge.
pc4 shares file folders so pc1,pc2,pc3 can access them
but also pc4 have enable remote desktop and http service(80,443) and I want to restrict the
access for those only from pc1.

I tried with firewall forward rules but I didn't work so i need some suggestions.

thank you.
You do not have the required permissions to view the files attached to this post.
 
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: Allow Remote Access (RDP) from Specific IP

Sat Mar 03, 2018 1:39 pm

Try below, (Have not tested it)
/interface bridge filter
add action=drop chain=forward dst-port=80 in-interface=!ether2 ip-protocol=tcp mac-protocol=ip out-interface=ether5
add action=drop chain=forward dst-port=443 in-interface=!ether2 ip-protocol=tcp mac-protocol=ip out-interface=ether5
add action=drop chain=forward dst-port=3389 in-interface=!ether2 ip-protocol=tcp mac-protocol=ip out-interface=ether5
add action=drop chain=forward dst-port=3389 in-interface=!ether2 ip-protocol=udp mac-protocol=ip out-interface=ether5
OR below, but MUST enable "Use IP Firewall" in bridge for this to work, which I believe will break Fasttrack.
/ip firewall filter
add action=drop chain=forward dst-port=80,443,3389 in-bridge-port=!ether2 out-bridge-port=ether5 protocol=tcp
add action=drop chain=forward dst-port=3389 in-bridge-port=!ether2 out-bridge-port=ether5 protocol=udp
 
User avatar
Arxondas
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 72
Joined: Sun Aug 02, 2015 12:23 pm
Location: Greece
Contact:

Re: Allow Remote Access (RDP) from Specific IP

Mon Mar 05, 2018 4:05 pm

Thanks for the replay.

I'll try it and I post results.


Thank you.

Who is online

Users browsing this forum: kevinlukas1235 and 13 guests