Community discussions

MikroTik App
 
cpliu903
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 53
Joined: Wed Apr 01, 2015 10:20 am

allow access WebFig from public ip

Wed Apr 06, 2016 10:24 am

how to allow specify device for access WebFig from public ip??

I try to use this rule, but not work.
add chain=input protocol=tcp action=accept src-mac-address=xxxxx in-interface=WAN
 
sash7
Frequent Visitor
Frequent Visitor
Posts: 68
Joined: Sun Mar 20, 2016 10:39 pm

Re: allow access WebFig from public ip

Wed Apr 06, 2016 12:38 pm

add chain=input action=accept in-interface=wan_iface src-address=remote_ip protocol=tcp dst-port=80

Move in over your drop rule in input chain. Is risky if you not specify src-address!
 
cpliu903
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 53
Joined: Wed Apr 01, 2015 10:20 am

Re: allow access WebFig from public ip

Wed Apr 06, 2016 1:48 pm

add chain=input action=accept in-interface=wan_iface src-address=remote_ip protocol=tcp dst-port=80

Move in over your drop rule in input chain. Is risky if you not specify src-address!

src-address is dynamic ip such as my mobile device. Thus I try to use specify src-mac-address.

Any idea for this ??
 
sash7
Frequent Visitor
Frequent Visitor
Posts: 68
Joined: Sun Mar 20, 2016 10:39 pm

Re: allow access WebFig from public ip

Wed Apr 06, 2016 2:11 pm

mac address is not possible from internet. I also use my phone for remote access. my ip is also dynamic, but vary only in last numbers, 202.5.0.xxx and i use in rule src-adreess=202.5.0.0/24. only 256 ip can try, much better than all world)
 
Pea
Member Candidate
Member Candidate
Posts: 233
Joined: Fri Jul 17, 2015 11:07 pm
Location: Czech

Re: allow access WebFig from public ip

Wed Apr 06, 2016 3:11 pm

You can use Port Knocking to add actual address into allowed address list for WebFig access.
http://wiki.mikrotik.com/wiki/Port_Knocking

Who is online

Users browsing this forum: adel5454, Amazon [Bot] and 29 guests