Community discussions

MikroTik App
 
niren
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 76
Joined: Mon Oct 14, 2013 9:59 am

Block all incoming traffic

Sun Dec 22, 2013 10:06 am

I want to block all incoming traffic to my network and allow all outgoing traffic from my network.
I tried this rule in miktotik's firewall filter
chain=forward dst-address=xx.xx.xx.xx/28 connection-state=new action=drop
Where xx.xx.xx.xx/28 is our network addresses contains 16 Static IPs

This rule stops both incoming and outgoing connections. I want only incoming connections to be blocked not outgoing connections. e.g we have server running in xx.xx.xx.123:80 IP. Try to connect xx.xx.xx.123:80 from outside should not be connected.

Router: Mikrotik RB750 GL
 
jaykay2342
Member
Member
Posts: 336
Joined: Tue Dec 04, 2012 2:49 pm
Location: /Vigor/LocalGroup/Milky Way/Earth/Europe/Germany

Re: Block all incoming traffic

Sun Dec 22, 2013 11:55 am

please check whether connection tracking is on
 
plisken
Forum Guru
Forum Guru
Posts: 2511
Joined: Sun May 15, 2011 12:24 am
Location: Belgium
Contact:

Re: Block all incoming traffic

Sun Dec 22, 2013 11:14 pm

Try input in place of forward
You do not have the required permissions to view the files attached to this post.
 
jaykay2342
Member
Member
Posts: 336
Joined: Tue Dec 04, 2012 2:49 pm
Location: /Vigor/LocalGroup/Milky Way/Earth/Europe/Germany

Re: Block all incoming traffic

Mon Dec 23, 2013 11:23 am

Try input in place of forward
The Input chain is only for traffic which belongs to the router ( towards IP-addresses configured on some router interface ) not for traffic which is forwarded by the router

Who is online

Users browsing this forum: No registered users and 38 guests