Community discussions

MikroTik App
 
marinpareja
just joined
Topic Author
Posts: 21
Joined: Sat Aug 22, 2009 6:53 pm
Location: Sevilla, Spain

A little question about firewall rules to HotSpot

Sat Jan 09, 2010 7:44 pm

I have a HotSpot and I wanna add rules to my firewall but I need know what means...

1) Tarjet hs-auth
2) Tarjet hs-unauth
3) Tarjet hotspot
4) Tarjet hs-smtp
5) Tarjet pre-hotspot

regards
 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: A little question about firewall rules to HotSpot

Sat Jan 09, 2010 8:08 pm

Firewall rules exist in chains. One possible firewall action is to jump into a chain, the packet then passes through the rules within that chain from top to bottom. When you specify an action of jump, you also specify a target as the chain to jump into.

The first dynamically installed rule illustrates this:
chain=forward action=jump jump-target=hs-unauth hotspot=from-client,!auth
In the forward chain, if the packet is coming from the client and the client is not authenticated (hotspot=from-client,!auth) jump into the hs-unauth chain.

Edit: the 3.0 documentation has a fairly good run down on customizing Hotspot firewall rules: http://www.mikrotik.com/testdocs/ros/3. ... otspot.php

The dynamically installed 4.x rules are different but once you understand the 3.x ruleset explained in the docs the 4.x one isn't difficult.
 
marinpareja
just joined
Topic Author
Posts: 21
Joined: Sat Aug 22, 2009 6:53 pm
Location: Sevilla, Spain

Re: A little question about firewall rules to HotSpot

Sat Jan 09, 2010 10:38 pm

Thank your very much, I have linked and I found all

Who is online

Users browsing this forum: Anime4000, Kuitz, mojojojo, TuxPowered and 82 guests