Community discussions

MikroTik App
 
neriok
just joined
Topic Author
Posts: 2
Joined: Tue Nov 13, 2007 10:56 am

How to block all IP, only 4 of them for Port 80 (http).

Fri Nov 16, 2007 10:57 am

I have a miktrotikOS and i want to firewall all ports only port 80 for http,and only 4 Ip to acces from users, the others are blocket,but how to block , adn forward only those 4 Ip ?

Example: My usernetwork is 10.0.0.x they have to acces a web interface with Ip 192.168.13.3 ,192.168.13.4 ,192.168.13.5 , 192.168.13.6 .
And all of the IP range (192.168.13.x )to be blocket in all ports for ussers in network 10.0.0.x.

Thnx
 
User avatar
mushmx
Frequent Visitor
Frequent Visitor
Posts: 81
Joined: Sat Jul 21, 2007 7:01 pm
Location: Mexico

Re: How to block all IP, only 4 of them for Port 80 (http).

Sat Nov 17, 2007 8:26 pm

Try this rules.

=========================
Traffic: Forward
Source: 192.168.13.0/X
Destination: 0.0.0.0/0

Protocol: tcp
Port: all
Action : Drop

This block all IP of the range 192.168.13.X/X
===============================
Traffic: Forward
Source: 192.168.13.3/X (IP Client)
Destination: 0.0.0.0/0

Protocol: tcp
Port: 80
Action: Accept
================================
 
neriok
just joined
Topic Author
Posts: 2
Joined: Tue Nov 13, 2007 10:56 am

Re: How to block all IP, only 4 of them for Port 80 (http).

Mon Nov 19, 2007 11:58 am

ok
thnx very much.
I have to try it.

Who is online

Users browsing this forum: No registered users and 78 guests