Community discussions

MikroTik App

Search found 36 matches

by gtpro
Wed Mar 22, 2017 1:44 am
Forum: Scripting
Topic: Script fails on 6.34, works on 6.28
Replies: 3
Views: 602

Re: Script fails on 6.34, works on 6.28

Good!
by gtpro
Mon Mar 20, 2017 11:28 pm
Forum: Scripting
Topic: Script fails on 6.34, works on 6.28
Replies: 3
Views: 602

Re: Script fails on 6.34, works on 6.28

Found the solution! :foreach i in=[/tool user-manager user find] do={:if ([/tool user-manager user get $i uptime-used]=1h) do={ :log warning ("Delete user... $[/tool user-manager user get $i user]") /tool user-manager user remove [/tool user-manager user get $i user] } } So all I had to change was "...
by gtpro
Mon Mar 20, 2017 9:31 pm
Forum: Scripting
Topic: Script fails on 6.34, works on 6.28
Replies: 3
Views: 602

Script fails on 6.34, works on 6.28

Hello, I am using the following script on 6.28: :foreach i in=[/tool user-manager user find] do={:if ([/tool user-manager user get $i uptime-used]= 1h) do={ :log warning ("Delete user... $[/tool user-manager user get $i name]") /tool user-manager user remove [/tool user-manager user get $i name] } }...
by gtpro
Thu May 02, 2013 3:40 am
Forum: General
Topic: Problem with PCC LoadBalancing
Replies: 6
Views: 1230

Re: Problem with PCC LoadBalancing

Hi, I have the same problem, I have 8 dsl lines coming into a RB493AH, each DSL line is 10Mb, total bandwtidh never reachs above 30Mb. Maybe thats how PCC works.
by gtpro
Fri Apr 12, 2013 2:49 am
Forum: The User Manager
Topic: [Solved] Expired user-manager users.
Replies: 14
Views: 12996

Re: [Solved] Expired user-manager users.

If Nepals script does not work try this Tested on version 5.24 :foreach i in=[/tool user-manager user find] do={:if ([/tool user-manager user get $i uptime-used]= 1h) do={ :log warning ("deleted Expired user.. $[/tool user-manager user get $i name]") /tool user-manager user remove [/tool user-manage...
by gtpro
Mon Mar 25, 2013 7:18 pm
Forum: General
Topic: 2X Wan + 1 Lan Load Blance Help Me Please
Replies: 15
Views: 2427

Re: 2X Wan + 1 Lan Load Blance Help Me Please

Good to know, but I see that you are using hotspot, hotspot and load balancing wont work wtih that configuration on the same routerboard. Just so you know.
by gtpro
Mon Mar 25, 2013 4:30 am
Forum: General
Topic: 2X Wan + 1 Lan Load Blance Help Me Please
Replies: 15
Views: 2427

Re: 2X Wan + 1 Lan Load Blance Help Me Please

Hi, try this configuration /ip address add address=192.168.0.1/24 network=192.168.0.0 broadcast=192.168.0.255 interface=Local add address=192.168.1.2/24 network=192.168.1.0 broadcast=192.168.1.255 interface=WAN1 add address=192.168.2.2/24 network=192.168.2.0 broadcast=192.168.2.255 interface=WAN2 /i...
by gtpro
Sun Mar 24, 2013 6:49 pm
Forum: General
Topic: 2X Wan + 1 Lan Load Blance Help Me Please
Replies: 15
Views: 2427

Re: 2X Wan + 1 Lan Load Blance Help Me Please

Hi, I know, he has the right rules above, he just need to delete the ones below.
by gtpro
Sun Mar 24, 2013 6:36 pm
Forum: General
Topic: 2X Wan + 1 Lan Load Blance Help Me Please
Replies: 15
Views: 2427

Re: 2X Wan + 1 Lan Load Blance Help Me Please

Hello, Your problems is here add chain=prerouting dst-address-type=!local in-interface=Local per-connection-classifier=both-addresses-and-ports:2/0 action=mark-connection new-connection-mark=WAN1_conn passthrough=yes add chain=prerouting dst-address-type=!local in-interface=Local per-connection-clas...
by gtpro
Sun Jan 22, 2012 7:13 pm
Forum: Beginner Basics
Topic: PCC ISSUE 3 WAN
Replies: 6
Views: 1192

Re: PCC ISSUE 3 WAN

Hi, dont use both addresses and ports, use both addresses ONLY. Try it!
by gtpro
Thu Nov 10, 2011 12:38 am
Forum: Beginner Basics
Topic: Problems with PCC and Web Proxy
Replies: 11
Views: 3755

Re: Problems with PCC and Web Proxy

I used to have a configuration working fine, you must be doing something wrong, I am no expert in mikrotik.
by gtpro
Wed Nov 09, 2011 7:20 pm
Forum: Beginner Basics
Topic: Problems with PCC and Web Proxy
Replies: 11
Views: 3755

Re: Problems with PCC and Web Proxy

HI. Why do you your routes disabled? And you should add in-interface in /ip firewall nat add action=redirect chain=dstnat comment="redirekt port 80 na web proxy port 8080" disabled=no dst-port=80 protocol=tcp to-ports=8080 like /ip firewall nat add action=redirect chain=dstnat comment="redirekt port...
by gtpro
Fri Oct 28, 2011 9:59 pm
Forum: Beginner Basics
Topic: Problems with PCC and Web Proxy
Replies: 11
Views: 3755

Re: Problems with PCC and Web Proxy

Hi, try this and adjust it to your needs. /ip firewall mangle add action=mark-connection chain=input disabled=no in-interface=pppoe-out1 new-connection-mark=pppoe-out1_conn passthrough=yes add action=mark-connection chain=input disabled=no in-interface=pppoe-out2 new-connection-mark=pppoe-out2_conn ...
by gtpro
Tue Dec 21, 2010 3:43 am
Forum: General
Topic: PCC loadbalancing and WebProxy for Lan
Replies: 23
Views: 5577

Re: PCC loadbalancing and WebProxy for Lan

Hey Logros try this setup, adjust it to your needs. /ip firewall mangle add action=mark-connection chain=input disabled=no in-interface=pppoe-out1 new-connection-mark=pppoe-out1_conn passthrough=yes add action=mark-connection chain=input disabled=no in-interface=pppoe-out2 new-connection-mark=pppoe-...
by gtpro
Mon Sep 06, 2010 5:01 am
Forum: General
Topic: pcc web proxy????
Replies: 15
Views: 4183

Re: pcc web proxy????

Hi follow this http://forum.mikrotik.com/viewtopic.php?f=2&t=42208 and adjust it to your needs, It works here in my setup, the only thing I notice is that it wont use the full speed of my adsl lines, I have 3 Adsl lines of 3500 Kbps each and the max throughput I get is 7.5 Mbps, I should be getting ...
by gtpro
Sat Jun 19, 2010 5:51 am
Forum: General
Topic: Load Balance, Multiwan with webproxy
Replies: 65
Views: 17408

Re: Load Balance, Multiwan with webproxy

It is still working fine here, what kind of problems do you have?
by gtpro
Sat Jun 19, 2010 1:29 am
Forum: General
Topic: Load Balance, Multiwan with webproxy
Replies: 65
Views: 17408

Re: Load Balance, Multiwan with webproxy

After 15 minutes of trying your setup I can confirm that it WORKS yinxiangyn, it is balancing 3 wans and the web proxy is working. Thank You yinxiangyn :D !
by gtpro
Sat Jun 19, 2010 12:25 am
Forum: General
Topic: Load Balance, Multiwan with webproxy
Replies: 65
Views: 17408

Re: Load Balance, Multiwan with webproxy

/ip proxy access
add action=allow disabled=no dst-port=80 src-address=192.168.13.0/24
/ip proxy cache
add action=allow disabled=no dst-port=80 src-address=192.168.13.0/24

Is this your local LAN 192.168.13.0/24 ?
by gtpro
Sat Jun 19, 2010 12:09 am
Forum: General
Topic: Load Balance, Multiwan with webproxy
Replies: 65
Views: 17408

Re: Load Balance, Multiwan with webproxy

Thank you :D , I will try it as soon as I can and I will let you know.
by gtpro
Fri Jun 18, 2010 11:58 pm
Forum: General
Topic: Load Balance, Multiwan with webproxy
Replies: 65
Views: 17408

Re: Load Balance, Multiwan with webproxy

:lol: :lol: :lol: Ok
by gtpro
Fri Jun 18, 2010 9:29 pm
Forum: General
Topic: Load Balance, Multiwan with webproxy
Replies: 65
Views: 17408

Re: Load Balance, Multiwan with webproxy

@ inxiangyn

Can you post here all the mangle rules you are using on that setup, my english is not good.
by gtpro
Fri Jun 18, 2010 7:37 pm
Forum: General
Topic: Load Balance, Multiwan with webproxy
Replies: 65
Views: 17408

Re: Load Balance, Multiwan with webproxy

Thanks Bawolek, I know what I will do next, I will buy another RB450G just to do the load balancing and a second RB450G just to do the web proxy, I think that will work.
by gtpro
Fri Jun 18, 2010 2:56 am
Forum: General
Topic: Load Balance, Multiwan with webproxy
Replies: 65
Views: 17408

Re: Load Balance, Multiwan with webproxy

Can someone please post all the mangle rules needed to get PCC and web proxy working. This is my current configuration: / ip address add address=192.168.5.1/24 network=192.168.5.0 broadcast=192.168.5.255 interface=Local add address=192.168.1.1/24 network=192.168.1.0 broadcast=192.168.1.255 interface...
by gtpro
Wed Jun 09, 2010 11:48 pm
Forum: General
Topic: Load Balance, Multiwan with webproxy
Replies: 65
Views: 17408

Re: Load Balance, Multiwan with webproxy

Well it did not work with my setup, can you put all your mangle rules here.
by gtpro
Tue Jun 08, 2010 10:34 pm
Forum: General
Topic: Load Balance, Multiwan with webproxy
Replies: 65
Views: 17408

Re: Load Balance, Multiwan with webproxy

Hey fewi just to let you know that with the configuration you posted it does not work, after I enable the nat redirect rule I cant access web pages, I fixed this add chain=output action=mark-connection new-connection-mark= wan1 _conn passthrough=yes per-connection-classifier=both-addresses:3/0 add c...
by gtpro
Tue Jun 08, 2010 8:10 pm
Forum: General
Topic: Load Balance, Multiwan with webproxy
Replies: 65
Views: 17408

Re: Load Balance, Multiwan with webproxy

I just saw your edited post, sorry, I'm going to try that and I will let you know, excuse my bad english.
by gtpro
Tue Jun 08, 2010 8:04 pm
Forum: General
Topic: Load Balance, Multiwan with webproxy
Replies: 65
Views: 17408

Re: Load Balance, Multiwan with webproxy

Hi, thanks for replying, if I remove these lines: chain=output action=mark-routing new-routing-mark=wan1 passthrough=yes dst-address=192.168.5.0/24 per-connection-classifier=both-addresses:3/0 chain=output action=mark-routing new-routing-mark=wan2 passthrough=yes dst-address=192.168.5.0/24 per-conne...
by gtpro
Tue Jun 08, 2010 7:41 pm
Forum: General
Topic: Load Balance, Multiwan with webproxy
Replies: 65
Views: 17408

Re: Load Balance, Multiwan with webproxy

I'm using this configuration wiht static addresses on the wan sides, the web proxy works but it only uses one wan, is it not possible to use web proxy with PCC ??. If I disable the Redirect rule then all 3 wans are used. Anyone knows how to get PCC and web proxy working?? / ip firewall mangle add ch...
by gtpro
Mon Jun 07, 2010 11:03 pm
Forum: General
Topic: Load Balance, Multiwan with webproxy
Replies: 65
Views: 17408

Re: Load Balance, Multiwan with webproxy

I think that having 3 pppoe with pcc and web proxy does not work well, I already tried it. Maybe web proxy only works with 1 wan :(
by gtpro
Sat Jun 05, 2010 3:32 am
Forum: General
Topic: Load Balance, Multiwan with webproxy
Replies: 65
Views: 17408

Re: Load Balance, Multiwan with webproxy

Before I try the setup I want that some one on this forum takes a look on this configuration so if there are any mistakes let me know please. /ip firewall mangle add action=mark-connection chain=input in-interface=pppoe-out1 new-connection-mark=pppoe-out1_conn passthrough=yes add action=mark-packet ...
by gtpro
Sat Jun 05, 2010 12:50 am
Forum: General
Topic: Load Balance, Multiwan with webproxy
Replies: 65
Views: 17408

Re: Load Balance, Multiwan with webproxy

I'm going to try your sample configuration late tonight or very early tomorrow morning and I will let you know how it goes.
by gtpro
Fri Jun 04, 2010 11:55 pm
Forum: General
Topic: Load Balance, Multiwan with webproxy
Replies: 65
Views: 17408

Re: Load Balance, Multiwan with webproxy

I tried everything you said but it still does not work, I think the problem is that I'm using static addresses on the WAN side and not pppoe. I might try setting up the pppoe interfaces tonight. Is this the right way to set it up? / ip firewall mangle add chain=input in-interface=pppoe-out1 action=m...
by gtpro
Fri Jun 04, 2010 10:46 pm
Forum: General
Topic: Load Balance, Multiwan with webproxy
Replies: 65
Views: 17408

Re: Load Balance, Multiwan with webproxy

Could it be because I'm not using pppoe over the wan side?
by gtpro
Fri Jun 04, 2010 8:02 pm
Forum: General
Topic: Load Balance, Multiwan with webproxy
Replies: 65
Views: 17408

Re: Load Balance, Multiwan with webproxy

I tried what you said but it does not work, I'm trying to get transparent web proxy to work. After I add the NAT rule to redirect traffic from port 80 to port 8080 of the proxy everything on the LAN stops, no packets can get through. :(
by gtpro
Fri Jun 04, 2010 4:40 am
Forum: General
Topic: Load Balance, Multiwan with webproxy
Replies: 65
Views: 17408

Re: Load Balance, Multiwan with webproxy

Hi. Can you guys please tell me what exactly I need to put in the mangle rules to get my web proxy working with PCC load balancer. Thank You!!!
by gtpro
Thu Jun 03, 2010 9:13 pm
Forum: General
Topic: Load Balance, Multiwan with webproxy
Replies: 65
Views: 17408

Re: Load Balance, Multiwan with webproxy

Hi, I'm new to the forums but I have been reading them for a while, english is not my primary language. Can you guys tell me how to set up the mangle rules to use the web proxy when I'm using PCC load balance. This is my current set up. / ip address add address=192.168.5.1/24 network=192.168.5.0 bro...