hi
i configured a schedular NAT on my routers but until i dont disconnect the user manualy the service for the doesnt stop.
can any body help me?
i have a free service for night that thet user is a local user in router the username is "night@night"please explain in more details...
Dear friendCan you start _new_ downloads after the schedule expires, or is it just that connections started before it expired keep going even afterwards? NAT is only applied at the beginning of the connection and then read from a state table, the rule is not consulted again. Instead of scheduling the NAT rule try scheduling a firewall filter rule instead.
hipost your config. in general, you should do the same scheduler as for NAT, but for Firewall Filter with chain=forward
post your config
Dear Friendpost your config
this part of config, of coursei configured a schedular NAT
hithis part of config, of coursei configured a schedular NAT
in Terminal, use 'export' command in any submenu (for example, '/ip firewall nat export')
/ip firewall filter
add chain=forward action=drop disabled=no src-address=192.168.132.0/24 time=0h-2h,sun,mon,tue,wed,thu,fri,sat
add chain=forward action=drop disabled=no src-address=192.168.132.0/24 time=7h-24h,sun,mon,tue,wed,thu,fri,sat
ok, i will say you the resultRemove the time constriction from the NAT line you marked red, and add the following to your firewall in a place that makes sense (if you aren't sure where that is post your "/ip firewall filter" ruleset):Code: Select all/ip firewall filter add chain=forward action=drop disabled=no src-address=192.168.132.0/24 time=0h-2h,sun,mon,tue,wed,thu,fri,sat add chain=forward action=drop disabled=no src-address=192.168.132.0/24 time=7h-24h,sun,mon,tue,wed,thu,fri,sat
thanks alot dear friendok, i will say you the resultRemove the time constriction from the NAT line you marked red, and add the following to your firewall in a place that makes sense (if you aren't sure where that is post your "/ip firewall filter" ruleset):Code: Select all/ip firewall filter add chain=forward action=drop disabled=no src-address=192.168.132.0/24 time=0h-2h,sun,mon,tue,wed,thu,fri,sat add chain=forward action=drop disabled=no src-address=192.168.132.0/24 time=7h-24h,sun,mon,tue,wed,thu,fri,sat
thanks alot for your help, my problem solved, i have some questions about GRE tunneling and privilage for user for view and write in the router. should i open new topic or you help me here?thanks alot dear friendok, i will say you the resultRemove the time constriction from the NAT line you marked red, and add the following to your firewall in a place that makes sense (if you aren't sure where that is post your "/ip firewall filter" ruleset):Code: Select all/ip firewall filter add chain=forward action=drop disabled=no src-address=192.168.132.0/24 time=0h-2h,sun,mon,tue,wed,thu,fri,sat add chain=forward action=drop disabled=no src-address=192.168.132.0/24 time=7h-24h,sun,mon,tue,wed,thu,fri,sat
it works good now