Community discussions

MikroTik App

Search found 7052 matches

by mrz
Fri Jun 15, 2007 8:18 pm
Forum: General
Topic: How to Block client to client traffic?
Replies: 16
Views: 7275

Re: How to Block client to client traffic?

No that's not true. You can do it by adding only one firewall rule.

for example if internal network is 192.168.0.0/24 :
chain=forward dst-address=192.168.0.0/24 action=reject
reject-with=icmp-network-unreachable
by mrz
Fri Jun 15, 2007 2:39 pm
Forum: Scripting
Topic: Deleting an imported file within script
Replies: 4
Views: 2304

Re: Deleting an imported file within script

On v2.9.43 it works for me:
/file print file=test;
:delay 1;

:if ([:len [/file find name="test.txt"]]>0) do={
     /file remove [ /file find name="test.txt" ] ;
}

by mrz
Fri Jun 15, 2007 9:15 am
Forum: Scripting
Topic: Deleting an imported file within script
Replies: 4
Views: 2304

Re: Deleting an imported file within script

which version are you using, 2.9 or 3.0?
by mrz
Thu Jun 14, 2007 3:37 pm
Forum: Scripting
Topic: Script for checking the running flag of a vpn tunnel
Replies: 4
Views: 2536

Re: Script for checking the running flag of a vpn tunnel

Ah yes if you are using v3.0beta9 then it won't work. On beta9 new variable system was introduced, because of that there are many bugs.

you can read more in this thread:
http://forum.mikrotik.com/viewtopic.php?f=1&t=16173
by mrz
Thu Jun 14, 2007 2:37 pm
Forum: Scripting
Topic: Script for checking the running flag of a vpn tunnel
Replies: 4
Views: 2536

Re: Script for checking the running flag of a vpn tunnel

you must convert to bool
:if ( [:tobool [/interface pptp-client get pptp-out1 running ]] 
= true ) do={ :put "yeee" } else={ :put "grrrr" }
by mrz
Sat Jun 09, 2007 12:39 am
Forum: General
Topic: ip firewall service-port GRE replaced with SIP???
Replies: 6
Views: 2529

Re: ip firewall service-port GRE replaced with SIP???

if you need gre, enable pptp helper
... Is it as simple as changing the port number of the 'new' SIP service port to 47?
port and protocol are two completely different things. GRE protocol number is 47 not port number.
by mrz
Fri Jun 08, 2007 2:31 pm
Forum: General
Topic: backup link with pptp server/client
Replies: 7
Views: 2525

Re: backup link with pptp server/client

Then if i understood you correctly, You can create two EoIP tunnels and run bonding over them. If you need only backup set bonding mode to active backup. This should work.
by mrz
Fri Jun 08, 2007 12:23 pm
Forum: General
Topic: backup link with pptp server/client
Replies: 7
Views: 2525

Re: backup link with pptp server/client

You can write a scrit that checks your primary pptp link, if it fails - enable backup link.
by mrz
Fri Jun 08, 2007 12:19 pm
Forum: General
Topic: Port Specifications on a Masquerade Firewall
Replies: 6
Views: 1943

Re: Port Specifications on a Masquerade Firewall

By default there are no rules that are blocking traffic on ports.
Check firewall filter rules, probably you have added rule that blocks other ports.
by mrz
Thu Jun 07, 2007 11:57 am
Forum: General
Topic: How to limit user pppoe with pcq
Replies: 5
Views: 2838

Re: How to limit user pppoe with pcq

you can add one simple queue, specify target address as whole network.
by mrz
Thu Jun 07, 2007 11:51 am
Forum: General
Topic: 2.9.41 OSPF adjacency not reestablished after VLAN int flap
Replies: 11
Views: 3063

Re: 2.9.41 OSPF adjacency not reestablished after VLAN int flap

You can get only 2.9.43 and you should use routing-test
by mrz
Thu Jun 07, 2007 9:39 am
Forum: Scripting
Topic: Corporate Queueing for each Ip address
Replies: 2
Views: 1649

Re: Corporate Queueing for each Ip address

1) add pcq queue type for upload and download with rate 64k 2) add simple queue with pcq type 3) add scripts: *) /queue simple enable [/queue simple find name=<your-queue-name> ]; *) /queue simple disable [/queue simple find name=<your-queue-name> ]; 4)add new /system scheduler which will run script...
by mrz
Wed Jun 06, 2007 8:58 am
Forum: General
Topic: Installing: this is pathetic
Replies: 16
Views: 3078

Re: Installing: this is pathetic

I'm curious why Mikrotik cannt make a bootable CD like every other linux distributer in the word. h aha ...
Have you ever looked in download section?
http://www.mikrotik.com/download.html

There are available ISO image. Download and burn to disk.
by mrz
Tue Jun 05, 2007 5:39 pm
Forum: Scripting
Topic: Log Analyzer
Replies: 1
Views: 2223

Re: Log Analyzer

You can use remote logging to file and then write your own parser.
by mrz
Tue Jun 05, 2007 4:26 pm
Forum: General
Topic: Port forward past NAT
Replies: 3
Views: 1071

Re: Port forward past NAT

You must use dst-nat

/ip firewall nat add chain=dstnat action=dst-nat to-addresses=x.x.x.x to-ports=xx dst-port=xx in-interface=wifi
by mrz
Mon Jun 04, 2007 4:34 pm
Forum: General
Topic: things broken in beta9
Replies: 9
Views: 3432

Re: things broken in beta9

This is not exactly true. There are numerous data types in ROS scripting:
* list
* internal number
* number
* IP address
* time
* boolean
* string

You can read manual for more information.
http://www.mikrotik.com/testdocs/ros/2. ... ipting.php
by mrz
Mon Jun 04, 2007 3:15 pm
Forum: General
Topic: things broken in beta9
Replies: 9
Views: 3432

Re: things broken in beta9

I think it is because find separator was changed from ',' to ';' and foreach still operates on ','.
Separator in beta8 was ; too, this is not a problem. Problem is that, for example, find returns array values inside other arrays, while in beta8 only one array is returned.
by mrz
Mon Jun 04, 2007 2:58 pm
Forum: General
Topic: things broken in beta9
Replies: 9
Views: 3432

Re: things broken in beta9

Yes it is a bug, foreach sets all value array to i, not just one value from array. Also it happens with disable, enable and remove commands. I hope it will be fixed in next release.
by mrz
Mon Jun 04, 2007 11:09 am
Forum: RouterBOARD hardware
Topic: PPP via serial port on RB133? *Urgent*
Replies: 1
Views: 1317

Re: PPP via serial port on RB133? *Urgent*

Yes, port is usable for PPP with RouterOS.
by mrz
Fri Jun 01, 2007 5:51 pm
Forum: General
Topic: email error
Replies: 5
Views: 1446

Re: email error

Actually there is:
/system logging action add name=email;
/system logging add action=email topics=e-mail
by mrz
Thu May 31, 2007 3:52 pm
Forum: General
Topic: Is Mikrotik cache files and help me
Replies: 1
Views: 857

Re: Is Mikrotik cache files and help me

yes it can. Enable webproxy and cache
by mrz
Thu May 31, 2007 1:40 pm
Forum: General
Topic: OpenVPN
Replies: 38
Views: 16711

Re: OpenVPN

with ppp package
by mrz
Thu May 31, 2007 12:57 pm
Forum: General
Topic: OpenVPN
Replies: 38
Views: 16711

Re: OpenVPN

It looks like in Ros beta8 supports OpenVPN

you can access it in console:
/interface ovpn-server
/interface ovpn-client
by mrz
Thu May 31, 2007 12:17 pm
Forum: RouterBOARD hardware
Topic: How to change the text logo seen in the New Terminal?
Replies: 7
Views: 3258

Re: How to change the text logo seen in the New Terminal?

You can reinstall your software via netinstall
by mrz
Wed May 30, 2007 12:35 pm
Forum: General
Topic: How to shape local traffic?
Replies: 15
Views: 4284

Re: How to shape local traffic?

Outgoing incoming or whatever link, it doesn't matter, idea is always the same.
I really don't understand where is the problem:
* mark trafiic
* add pcq for download and upload
* add queue

It's so simple.
by mrz
Tue May 29, 2007 4:14 pm
Forum: General
Topic: The same mark for different ports
Replies: 1
Views: 858

Re: The same mark for different ports

yes you can
by mrz
Tue May 29, 2007 3:21 pm
Forum: General
Topic: Connection-mark
Replies: 3
Views: 1230

Re: Connection-mark

IF you use connection marks before packet marks, it reduces CPU load.
by mrz
Tue May 29, 2007 10:51 am
Forum: General
Topic: Vote for new RouterOS features!
Replies: 9
Views: 3185

Re: Vote for new RouterOS features!

Imran, what is the name of cable company you work for?
I suppose Imran & co ;)
by mrz
Tue May 29, 2007 10:50 am
Forum: General
Topic: How to shape local traffic?
Replies: 15
Views: 4284

Re: How to shape local traffic?

This was discussed many times in this forum. You must add PCQ queues for download and upload. Search the forum and you will find answer.
by mrz
Tue May 29, 2007 10:44 am
Forum: General
Topic: PBR (policy based routing)
Replies: 2
Views: 3145

Re: PBR (policy based routing)

by mrz
Mon May 28, 2007 5:01 pm
Forum: General
Topic: mangle up/down traffic
Replies: 5
Views: 2172

Re: mangle up/down traffic

you can't add two marks, first mark is overwritten by second

Instead you can use marks something like this : http-donload, p2p-download etc
by mrz
Mon May 28, 2007 3:07 pm
Forum: General
Topic: Passthrough
Replies: 2
Views: 1189

Re: Passthrough

if you set passthrough to yes packets are passed to next rule, if not they don' t pass further.
by mrz
Mon May 28, 2007 2:26 pm
Forum: General
Topic: WinBox Wine (wine-0.9.36) Ubuntu Feisty
Replies: 14
Views: 7405

Re: WinBox Wine (wine-0.9.36) Ubuntu Feisty

If you are using latest wine, then only v2.9.40 and newer will work.
by mrz
Mon May 28, 2007 2:19 pm
Forum: Scripting
Topic: export all data and sitting
Replies: 9
Views: 3521

Re: export all data and sitting

You can fix errors by opening exported script in any text editor and correcting the code.

Also errors happen if you want to import setting to non-installed packages. For example, if PPP package is disabled or not installed, you won' t be able to import any ppp configuration.
by mrz
Fri May 25, 2007 5:36 pm
Forum: Scripting
Topic: export all data and sitting
Replies: 9
Views: 3521

Re: export all data and sitting

/ppp secret export

you can use export command on any submenu to export its configuration
by mrz
Fri May 25, 2007 5:32 pm
Forum: Scripting
Topic: extracting numbers from strings
Replies: 7
Views: 2762

Re: extracting numbers from strings

looks like /file set is available only in v3 beta
by mrz
Fri May 25, 2007 5:27 pm
Forum: Scripting
Topic: export all data and sitting
Replies: 9
Views: 3521

Re: export all data and sitting

what kind of account are you talking about?
by mrz
Fri May 25, 2007 4:08 pm
Forum: General
Topic: bgp
Replies: 2
Views: 1014

Re: bgp

/routing bgp instance print
/routing bgp peer print
by mrz
Fri May 25, 2007 2:46 pm
Forum: Scripting
Topic: extracting numbers from strings
Replies: 7
Views: 2762

Re: extracting numbers from strings

# create test.txt file
/file print file=test ;
# write content to file
/file set [/file find name=test.txt ] contents="any content you want" ;

#to check that content was written to file
:put [/file get [/file find name=test.txt ] contents ] ;
by mrz
Fri May 25, 2007 11:42 am
Forum: Scripting
Topic: extracting numbers from strings
Replies: 7
Views: 2762

Re: extracting numbers from strings

easy!

:local numSig :tonum [:pick $sig 0 3]
by mrz
Fri May 25, 2007 11:34 am
Forum: Scripting
Topic: traffic speed to a variable
Replies: 5
Views: 2131

Re: traffic speed to a variable

/interface monitor-traffic ether1 do={ :local numBits $"sent-bits-per-second" } once

You can do it easily in v 3.0
:local numBits ( [/interface monitor-traffic ether1 as-value ]->"sent-bits-per-second")
by mrz
Tue May 22, 2007 1:58 pm
Forum: General
Topic: How to give IP (DHCP) by mac address?
Replies: 3
Views: 1090

/ip dhcp-server leases add address=x.x.x.x mac-address=xx:xx:xx:xx:xx:xx
by mrz
Thu May 17, 2007 2:52 pm
Forum: General
Topic: Problems:
Replies: 3
Views: 1026

uncheck Secure Mode option when connecting to router
by mrz
Mon May 14, 2007 10:26 am
Forum: General
Topic: What happened to Nth in Beta?
Replies: 2
Views: 1891

This is very simple. There are no more counters. For example to mark every second packet: chain=prerouting nth=2,1 action=mark-packet new-packet-mark=odd passthrough=yes; chain=prerouting nth=2,2 action=mark-packet new-packet-mark=even passthrough=yes; It is very important to set passthrough=yes, ot...
by mrz
Fri May 11, 2007 11:00 pm
Forum: General
Topic: Winbox running on Windows Vista
Replies: 20
Views: 17058

1. Disable that crappy windows firewall.
2. Turn off UAC
3. Disable defender ( this crap isn't doing anything anyway ).
by mrz
Fri May 11, 2007 7:46 am
Forum: Scripting
Topic: Script to Reboot Routerboard
Replies: 16
Views: 47145

if you run it in script, it won't ask anything
by mrz
Fri May 11, 2007 12:48 am
Forum: General
Topic: Small request: Move System Reboot away from System Shutdown
Replies: 13
Views: 4865

if you are not reading what you are doing, it wont help no matter how many questions
by mrz
Thu May 10, 2007 10:10 pm
Forum: General
Topic: Small request: Move System Reboot away from System Shutdown
Replies: 13
Views: 4865

Reboot, yes? [y/N]
y
Are you sure?[y/N]
y
Are you sure that you're sure? [y/N]
YES!!

I don't think that it's a good idea. ROS IS NOT A WINDOWS!!
by mrz
Thu May 10, 2007 10:05 pm
Forum: General
Topic: Upgrading Software Problem
Replies: 4
Views: 1384

then try netinstall
by mrz
Thu May 10, 2007 10:02 pm
Forum: General
Topic: load balancing using the same router
Replies: 8
Views: 2198

yes but this is not possible if you have dynamic IP addresses
by mrz
Thu May 10, 2007 9:59 pm
Forum: General
Topic: PING from client to outside with packet size biger then 1500
Replies: 6
Views: 3648

yes
by mrz
Thu May 10, 2007 1:27 pm
Forum: General
Topic: load balancing using the same router
Replies: 8
Views: 2198

only option is v3 beta interface routing
by mrz
Wed May 09, 2007 5:24 pm
Forum: General
Topic: OSPF between multiple backbone areas possible ?
Replies: 2
Views: 2009

make your current backbone areas as other areas, and link them in one backbone area.
by mrz
Wed May 09, 2007 12:36 pm
Forum: Scripting
Topic: monitor-traffic
Replies: 1
Views: 1510

you can do something like this in v3 beta :
:global recBits 0;

:do {
:global recBits  ( [/interface monitor-traffic ether1 as-value ]->"received-bits-per-second") ;

} while=(recBits<=10000);
# now you can execute other script

by mrz
Sun May 06, 2007 6:08 pm
Forum: Scripting
Topic: export all data and sitting
Replies: 9
Views: 3521

export on screen:
/export

export to file:
/export file=<filename>
by mrz
Sat May 05, 2007 4:15 pm
Forum: General
Topic: wds dont run in beta 7
Replies: 2
Views: 1616

post your mangle rules and queues which. you think, isn't working.
by mrz
Fri May 04, 2007 11:14 pm
Forum: General
Topic: how to keep people from trying to log in mikrotik via ftp
Replies: 10
Views: 3955

Accept ICMP before drop rule.
by mrz
Fri May 04, 2007 6:23 pm
Forum: General
Topic: OSPF fails to redistribute default route after a reboot
Replies: 13
Views: 3360

You must use routing-test for sure. Any bugs in routing are fixed only in routing-test package. Don't be afraid of "test" it doesn't mean that this package is only for testing
by mrz
Fri May 04, 2007 6:11 pm
Forum: General
Topic: Bandwidth shaping among several users
Replies: 6
Views: 2031

Yes PCQ will do the trick. As it was mentioned in previous post, search the forum, this topic was discussed many times.
by mrz
Fri May 04, 2007 6:09 pm
Forum: General
Topic: VRRP IP assignment question
Replies: 2
Views: 1054

VRRP won't work if you have no IP set to interface.
It is correct in your case. You should use 192.168.1.1 as gateway and avoid using .2 and .3
by mrz
Fri May 04, 2007 6:04 pm
Forum: Scripting
Topic: print output in one line
Replies: 5
Views: 2965

as far as i know it's not possible. Anyway, why would you need that?
by mrz
Thu May 03, 2007 11:16 am
Forum: Scripting
Topic: export command question
Replies: 4
Views: 2420

/export is only for exporting configuration.
If you want to export counters use print command, it is available printing to file.
by mrz
Wed May 02, 2007 1:12 am
Forum: Scripting
Topic: Scripting problem
Replies: 4
Views: 2010

this script works on v2.9.42
make sure you typed correct dst address and interface
by mrz
Wed May 02, 2007 1:05 am
Forum: Scripting
Topic: Scripting problem
Replies: 4
Views: 2010

Re: Scripting problem

...
Although searched IP address exists, script returns no value.
Are you looking route or ip address?
by mrz
Tue May 01, 2007 4:52 pm
Forum: General
Topic: Configuration File ?? (or am i a moron ?? )
Replies: 3
Views: 1626

/export file=<filename>
/import <filename>
by mrz
Fri Apr 27, 2007 7:13 pm
Forum: General
Topic: VRRP Help
Replies: 5
Views: 1374

please can you post the configuration!!!
here you go
http://www.mikrotik.com/testdocs/ros/2.9/ip/vrrp.php
by mrz
Thu Apr 26, 2007 9:51 pm
Forum: Scripting
Topic: moving firewall rules by command
Replies: 10
Views: 39701

1. only numbers can be specified. For example if you want to move rule 3 to first position:
/ip firewall nat move 3 0

2. use find command
/ip fire filter move [/ip firewall filter find comment=rule1] [/ip firewall filter find comment=rule2]
by mrz
Mon Apr 23, 2007 10:47 am
Forum: General
Topic: OSPF: Disable Interface / Router Dead Interval
Replies: 3
Views: 1562

/routing ospf interface is not made for that. /routing ospf network is where you set on which network ospf will work. For example if you have set 192.168.167.4/24 on ether1 and added ospf network 192.168.167.0/24 then ospf will work on ether1. ospf interface should be used only if you need to set sp...
by mrz
Mon Apr 23, 2007 12:39 am
Forum: General
Topic: Upgrade routerboard 150
Replies: 1
Views: 1160

RB150 is RB100 series board, it means that you must use package for routerboard.
As far as i know there are no time limits for upgrading anymore.
by mrz
Fri Apr 20, 2007 10:15 am
Forum: General
Topic: disable OSPF on a interface
Replies: 2
Views: 2728

IF you have for example set ip address 192.168.0.1/24 on ether1
and added to ospf network 192.168.0.0/24:
/routing ospf network add network=192.168.0.0/24
then ospf will run on ether1.
If you don' t want to run ospf on specific interface, remove it's network from ospf networks.
by mrz
Tue Apr 17, 2007 8:40 pm
Forum: General
Topic: OSPF - default static route not redistributed
Replies: 8
Views: 2499

why are you so afraid of new version? just upgrade and you will see fixed or not.
by mrz
Tue Apr 17, 2007 7:16 pm
Forum: General
Topic: Newbie with RouterOS as a Internet Router
Replies: 5
Views: 1737

Re: Newbie with RouterOS as a Internet Router

i have read the mikrotik manual for RouterOS, but still i cant make my RB acts as an internet router :? :? :?
doesn't look like :D
anyway
http://wiki.mikrotik.com/wiki/MikroTik_RouterOS
there are many examples that you can read and study
by mrz
Tue Apr 17, 2007 7:10 pm
Forum: General
Topic: how to block access to my gateway router
Replies: 7
Views: 2699

you have wlan but no wirelessinterface? :D:D hmm thats very interesting :D
by mrz
Tue Apr 17, 2007 7:07 pm
Forum: General
Topic: OSPF - default static route not redistributed
Replies: 8
Views: 2499

Try upgrading to latest version as there are some routing fixes. Probably this will fix your issue.
by mrz
Tue Apr 17, 2007 7:05 pm
Forum: Scripting
Topic: :put used to debug print
Replies: 5
Views: 2819

:put will output info to current session. this is available only in v3.0
And you can easily run scripts by names (by names is more preferable)
by mrz
Tue Apr 17, 2007 4:15 pm
Forum: General
Topic: cannot have more than 1 PPTP connection through MT
Replies: 5
Views: 1674

ports for gre and pptp are not needed, they should stay empty
by mrz
Mon Apr 16, 2007 7:29 pm
Forum: General
Topic: D-Link 580TX (4 port LAN card) not detecting
Replies: 8
Views: 2479

Download the latest version (currently 2.9.42) probably this will help
by mrz
Mon Apr 16, 2007 5:08 pm
Forum: General
Topic: D-Link 580TX (4 port LAN card) not detecting
Replies: 8
Views: 2479

check http://www.mikrotik.com/testdocs/ros/2. ... erlist.php
probably chipset is not supported.
by mrz
Mon Apr 16, 2007 10:24 am
Forum: General
Topic: tracert
Replies: 1
Views: 971

chain=forward protocol=icmp icmp-options=11:0 action=drop
by mrz
Mon Apr 16, 2007 10:13 am
Forum: General
Topic: IPIP VPN problems
Replies: 8
Views: 2367

As i understood, you are trying to send packets bigger than 1500 bytes. You won't be able to do that.
by mrz
Mon Apr 16, 2007 10:06 am
Forum: General
Topic: OSPF configuration problems using winbox
Replies: 4
Views: 1735

you should contact support
by mrz
Sun Apr 15, 2007 7:06 am
Forum: General
Topic: changeip script
Replies: 2
Views: 1237

there are some syntax differences in v3Beta. If you will post your script then probably we could solve the problem.
by mrz
Sat Apr 14, 2007 10:07 pm
Forum: General
Topic: OSPF is loosing routes
Replies: 9
Views: 2853

Yes you should upgrade to latest version, and it is preferred that all routers has the same version.

leonj:
ROS will detect network type automatically ( at least it will try to do :) ). There is no need to set network type on each interface running OSPF unless you need specific network type.
by mrz
Sat Apr 14, 2007 9:57 pm
Forum: General
Topic: OSPF configuration problems using winbox
Replies: 4
Views: 1735

Is the same happens if you do it in console?
by mrz
Thu Apr 05, 2007 11:57 pm
Forum: Wireless Networking
Topic: MME routing protocol?
Replies: 8
Views: 6392

by mrz
Thu Apr 05, 2007 10:53 pm
Forum: General
Topic: RB44G - Bug? - VLAN Trouble - RB44(100 mbit card) works fine
Replies: 10
Views: 2973

there is a driver fix since 2.9.41
we experienced some issues too, but since 2.9.41 was released, everything works fine, even VLANs.
by mrz
Thu Apr 05, 2007 10:44 pm
Forum: General
Topic: RB44G - Bug? - VLAN Trouble - RB44(100 mbit card) works fine
Replies: 10
Views: 2973

hm that's interesting, have you tried the same setup on other pc?
by mrz
Thu Apr 05, 2007 5:55 pm
Forum: General
Topic: Beta5 - Winbox crash when...
Replies: 8
Views: 3828

I am using latest wine-0.9.33, winbox runs fine, no issues.
by mrz
Thu Apr 05, 2007 11:17 am
Forum: General
Topic: NAT question
Replies: 4
Views: 1358

you need only one masquerade rule
by mrz
Thu Apr 05, 2007 12:21 am
Forum: General
Topic: NAT question
Replies: 4
Views: 1358

by mrz
Wed Apr 04, 2007 5:18 pm
Forum: General
Topic: Don't upgrade from Beta6 on production system ;)
Replies: 10
Views: 4005

why?
by mrz
Tue Apr 03, 2007 3:49 pm
Forum: General
Topic: beta6 OSPF area-id backwards
Replies: 4
Views: 2284

Re: beta6 OSPF area-id backwards

[quote="xxiii"]... Doing a packet capture reveals that it has the area ID backwards; .../quote]

already fixed in beta7
by mrz
Tue Apr 03, 2007 10:45 am
Forum: Scripting
Topic: Scripts won't run
Replies: 11
Views: 4961

correct code would be:
:log info ( "Dynamic IP Update Via Mail: Attempting to Send Updated IP " . $dip-ip )
and it works.
by mrz
Sun Apr 01, 2007 8:30 pm
Forum: General
Topic: easy way to export winbox log?
Replies: 4
Views: 32974

new terminal
/log print :)
by mrz
Sun Apr 01, 2007 6:28 pm
Forum: General
Topic: anyone ??????
Replies: 1
Views: 878

you can find many firewalling examples here http://wiki.mikrotik.com/wiki/Firewall

also there are some examples in manual on how to do certain things
by mrz
Sun Apr 01, 2007 3:08 pm
Forum: General
Topic: plzzzzzzh help urgent
Replies: 8
Views: 2340

mangle add chain=prerouting protocol=tcp dst-port=1863 action=mark-connection new-connection-mark=msn passthrough=yes add chain=prerouting connection-mark=msn action=mark-packet new-packet-mark=msn-packs passthrough=no add chain=prerouting protocol=tcp dst-port=80 action=mark-connection new-connecti...
by mrz
Sat Mar 31, 2007 9:24 pm
Forum: General
Topic: Just how efficient is the proxy in mikrotik ?
Replies: 5
Views: 1749

you need only one interface for web-proxy.
by mrz
Sat Mar 31, 2007 7:22 pm
Forum: General
Topic: VPN PROBLEM
Replies: 1
Views: 845

pptp server must be reachable. if you can ping it from remote destination, then you are able to set up pptp tunnel
by mrz
Fri Mar 30, 2007 4:29 pm
Forum: General
Topic: OSPF Implemention
Replies: 7
Views: 1861

You can filter out unneeded external routes.
/routing filter add chain=ospf-in prefix="192.x.x.x" prefix-
length=0-32 action=discard invert-match=yes
by mrz
Fri Mar 30, 2007 2:53 pm
Forum: General
Topic: OSPF-out filter not working
Replies: 13
Views: 5238

Hrm..
I do want to filter external routes... in-between areas.
ROS 2.9.x does not support inter-area filtering, and it looks like it is not planned in ROS 3.0 either. Just keep your OSPF clean and don't redistribute stuff into OSPF that is not needed. This will keep things simple.
by mrz
Thu Mar 29, 2007 10:22 am
Forum: General
Topic: OSPF Implemention
Replies: 7
Views: 1861

Everything works fine for me :)

What is your ospf configuration?
by mrz
Thu Mar 29, 2007 9:44 am
Forum: General
Topic: Forward HTTPS & FTP to Web-Proxy
Replies: 13
Views: 5779

do not try to forward https to proxy, you would have problems with signing in to email or bank account. But for FTP, you could try, but you need to increase the maximum cache size of your proxy
As it was mentioned before MT does not support transparent FTP in v2.9
by mrz
Wed Mar 28, 2007 10:01 pm
Forum: General
Topic: Forward HTTPS & FTP to Web-Proxy
Replies: 13
Views: 5779

https is using port 443. You must redirect port 443 traffic in order to pass https to web-proxy.
by mrz
Sat Mar 24, 2007 2:52 pm
Forum: General
Topic: Just how efficient is the proxy in mikrotik ?
Replies: 5
Views: 1749

you don't need to put web proxy before GW.

....ISP
......|
......|
....GW--------PROXY
......|
......|
...Clients

Just redirect all tcp port 80 traffic to webproxy server, that's all
by mrz
Fri Mar 23, 2007 11:20 am
Forum: Scripting
Topic: Scripts won't run
Replies: 11
Views: 4961

Could you be so kind and post script that isn't working?
by mrz
Tue Mar 20, 2007 6:27 pm
Forum: Scripting
Topic: Setting Variables within a for loop
Replies: 4
Views: 2381

:global aaa " " - define variable aaa
:global aaa - remove variable from environment

in your script :local traf; is not needed, because it does nothing, the same as :global mytext;
by mrz
Tue Mar 20, 2007 4:03 pm
Forum: Scripting
Topic: Setting Variables within a for loop
Replies: 4
Views: 2381

set initial valoe to global variable
:global mytext " ";
and everything should work
by mrz
Sat Mar 17, 2007 5:34 pm
Forum: Wireless Networking
Topic: Backbone link,hotspot,ping ok , no internet.
Replies: 8
Views: 2389

have you set allow remote requests in dns settings?
by mrz
Sat Mar 17, 2007 12:35 am
Forum: General
Topic: Routing Filter
Replies: 18
Views: 2719

Put 2.9.38
by mrz
Fri Mar 16, 2007 11:55 pm
Forum: General
Topic: Routing Filter
Replies: 18
Views: 2719

There are some known bugs in 2.9.40 you will have to wait until 2.9.41 is out
by mrz
Fri Mar 16, 2007 9:21 pm
Forum: General
Topic: Routing Filter
Replies: 18
Views: 2719

have you set out filter for bgp peer?
by mrz
Fri Mar 16, 2007 8:09 pm
Forum: General
Topic: how to set transparent proxy if:
Replies: 2
Views: 1226

isp1...... isp2
..|..........|
MT router
......|
......|
...switch-----------proxy-PC
......|
......|
..other pc's


MT can dial through ppoe, too. So there is no need for other D-Link router. Connect both ISPS to MT and redirect TCP port 80 traffic to proxy as shown in diagram above . That's it.
by mrz
Fri Mar 16, 2007 7:51 pm
Forum: Scripting
Topic: Scripts Value !
Replies: 1
Views: 1354

RTFM
http://www.mikrotik.com/testdocs/ros/2. ... ipting.php

there you will find almost all commands, script syntax and variable definitions.
by mrz
Wed Mar 14, 2007 11:01 pm
Forum: Scripting
Topic: Scripting Languge
Replies: 1
Views: 1410

ROS has its own built-in scripting language

check out manula:
http://www.mikrotik.com/testdocs/ros/2. ... ipting.php
by mrz
Wed Mar 14, 2007 10:58 pm
Forum: General
Topic: bandwidth PLZ HELP
Replies: 2
Views: 1271

/ppp profile

and check out rate-limit field of profile you are using for secrets
by mrz
Tue Mar 13, 2007 2:07 pm
Forum: General
Topic: How to load balancing PPPoE wih Dinamic IP ?
Replies: 4
Views: 2130

by mrz
Mon Mar 12, 2007 11:51 pm
Forum: General
Topic: VPN Server (Win2003 ) behind MiktoTik - L2TP, PPTP
Replies: 7
Views: 2669

Unfortunately I can't do this on the router, I know that will be better solution, i can do this only on the windows box.
ROS supports both L2TP and pptp.
by mrz
Sun Mar 11, 2007 11:28 pm
Forum: General
Topic: nth, just to know..
Replies: 15
Views: 4624

first of all look at the date of his post :D:D

http://wiki.mikrotik.com/wiki/Nth
here is detailed explanation
by mrz
Sun Mar 11, 2007 9:48 pm
Forum: General
Topic: Downgrading 3.0beta5 to 2.9.40
Replies: 2
Views: 2077

Try upgrading to Beta6. Downgrade from Beta6 to 2.9.40 works fine.
If it does not help, you can format NAND and then netinstall 2.9
by mrz
Sun Mar 11, 2007 7:52 pm
Forum: RouterBOARD hardware
Topic: nand format and netinstall on RB532
Replies: 3
Views: 3925

no, as far as i know it's not true, license will be kept
by mrz
Sun Mar 11, 2007 12:14 pm
Forum: General
Topic: OSPF-out filter not working
Replies: 13
Views: 5238

Hrm..

[admin@xxxxxx] routing ospf> /routing ospf status lsa print external
no such command or directory (status)
Yes it's for v3, sorry
by mrz
Sun Mar 11, 2007 12:09 pm
Forum: RouterBOARD hardware
Topic: nand format and netinstall on RB532
Replies: 3
Views: 3925

format NAND from bios, license is not affected

http://www.mikrotik.com/testdocs/ros/2. ... nstall.php
by mrz
Sat Mar 10, 2007 7:30 pm
Forum: General
Topic: need help ubuntu user.....
Replies: 16
Views: 3679

tHERE IS NO NEED FOR THAT

winbox works, perfectly on linux, if you don't know how to use wine on linux, then use windows
by mrz
Sat Mar 10, 2007 7:27 pm
Forum: General
Topic: How to mark packet/connection for 2 gateway 1 interface???
Replies: 2
Views: 1067

Please read documentation, it's all there
http://www.mikrotik.com/testdocs/ros/2.9/ip/mangle.php

just set in prerouting in-interface to ether1 and dst-address to your gateway address
by mrz
Sat Mar 10, 2007 7:08 pm
Forum: General
Topic: OSPF-out filter not working
Replies: 13
Views: 5238

only external routes can be filtered

list of routes that can be filtered is here:
/routing ospf status lsa print external
by mrz
Sat Mar 10, 2007 6:55 pm
Forum: General
Topic: need help ubuntu user.....
Replies: 16
Views: 3679

open console and type:
sudo apt-get install wine
by mrz
Sun Mar 04, 2007 7:00 pm
Forum: General
Topic: need help ubuntu user.....
Replies: 16
Views: 3679

You can open Winbox using wine.
by mrz
Sun Mar 04, 2007 6:55 pm
Forum: General
Topic: B6 on routerboard - OSPF problem
Replies: 3
Views: 1954

I hope it will be fixed in new release :)
by mrz
Sun Mar 04, 2007 11:03 am
Forum: General
Topic: B6 on routerboard - OSPF problem
Replies: 3
Views: 1954

OSPF works only if you have beta6 on all routers.
by mrz
Wed Feb 28, 2007 10:53 pm
Forum: Scripting
Topic: new in scripting
Replies: 16
Views: 4979

just set interval to 24 hours
by mrz
Wed Feb 28, 2007 10:39 pm
Forum: Scripting
Topic: new in scripting
Replies: 16
Views: 4979

you have to set interval for sys scheduler rules. In your case it runs only
once
jan/01/2007 01:00:00 and
jan/01/2007 06:00:00
by mrz
Tue Feb 27, 2007 9:28 pm
Forum: General
Topic: Access Denied
Replies: 7
Views: 2662

first of all you need web server up and running :)
then create your custom denied page, upload it to server .

after that set rules in access list:
/ip proxy access add action=deny redirect-to="web_servers_ip/
denied.html"
by mrz
Tue Feb 27, 2007 8:31 pm
Forum: General
Topic: Access Denied
Replies: 7
Views: 2662

One method is not to deny but redirect to custom page on your web server
by mrz
Tue Feb 27, 2007 4:50 pm
Forum: Scripting
Topic: new in scripting
Replies: 16
Views: 4979

it should work fine
by mrz
Tue Feb 27, 2007 4:20 pm
Forum: General
Topic: LOG
Replies: 5
Views: 1597

/system logging action set remote remote=[remote_ip_address_here]
/system logging add topics=[topic_needed] action=remote
by mrz
Tue Feb 27, 2007 4:13 pm
Forum: Scripting
Topic: new in scripting
Replies: 16
Views: 4979

It's not gonna work
ip proxy access enable mpg
as enable command expects item number

To enable all entries in access list use:
/ip proxy access enable [f]
And to disable use:
/ip proxy access disable [f]
by mrz
Mon Feb 26, 2007 10:08 am
Forum: General
Topic: simple queue fairness clarification
Replies: 20
Views: 5620

PCQ. SFQ or whatever type does not work on parent queues. It works only on child queue.
by mrz
Sat Feb 24, 2007 10:27 pm
Forum: General
Topic: Netinstall utility- where is it??
Replies: 5
Views: 2023

sure you have to reboot, because upgrade process is executed after service shutdown. If you simply unplug power cable nothing will happen.
by mrz
Sat Feb 24, 2007 9:23 pm
Forum: General
Topic: Netinstall utility- where is it??
Replies: 5
Views: 2023

I don't know where are you looking, but here it is...

http://www.mikrotik.com/download/netinstall-2.9.40.exe
by mrz
Sat Feb 24, 2007 7:47 pm
Forum: General
Topic: need help new in MT
Replies: 2
Views: 1062

I already said that in one post. Set PCQ rate to 0.

/queue type set PCQ_download pcq-rate=0
/queue type set PCQ_upload pcq-rate=0

This will divide all bandwidth equally among users.
by mrz
Fri Feb 23, 2007 9:28 pm
Forum: RouterBOARD hardware
Topic: "connection closed" when configuring new rb with m
Replies: 1
Views: 1483

you can try serial console
by mrz
Tue Feb 20, 2007 6:06 pm
Forum: General
Topic: queue not work
Replies: 1
Views: 992

set pcq-rate to 0, i suppose you have set pcq-rate to 64000
by mrz
Tue Feb 20, 2007 12:04 am
Forum: General
Topic: can i do this in MT
Replies: 7
Views: 2223

Re: PCQ

Yes, mrz your link is good. But mr wissammohamed says that he want to flexible his connection.. ex : 10 connextion or 20 connection, the entire network must have the equal bw. Can anyone suggest the script for this??, coz i didn't understand about how to script.... :lol: You don't need scripts at a...
by mrz
Mon Feb 19, 2007 1:13 am
Forum: General
Topic: can i do this in MT
Replies: 7
Views: 2223

I think pcq is what you need ;)

http://wiki.mikrotik.com/wiki/PCQ_Examples
by mrz
Sun Feb 18, 2007 11:10 pm
Forum: General
Topic: when new beta? When wireless QoS?
Replies: 29
Views: 9285

wireless QoS ?? I don't get it. You can do QoS on wireless interfaces even in 2.9.xx
by mrz
Sun Feb 18, 2007 10:38 pm
Forum: General
Topic: queue tree p2p all not work
Replies: 6
Views: 2476

try upgrading to 2.9.40
also it's impossible to catch all p2p traffic
by mrz
Sat Feb 17, 2007 3:29 pm
Forum: General
Topic: p2p Traffic
Replies: 2
Views: 1462

you can drop all p2p traffic in firewall filters
or limit p2p traffic using queues
by mrz
Tue Feb 13, 2007 6:24 pm
Forum: General
Topic: Simple queue and p2p -> not the way it should be
Replies: 3
Views: 1626

Target- Upload is incoming raffic
Target-Download is outgoing trafiic

to get 1M you should set
limit-at=128000/64000 max-limit=1000000/128000
by mrz
Tue Feb 13, 2007 5:55 pm
Forum: General
Topic: Simple queue and p2p -> not the way it should be
Replies: 3
Views: 1626

Re: Simple queue and p2p -> not the way it should be

For me personally is not a problem I figured out a solution myself.
If someone is intrested I can publish it!
I'm interested in your solution, could you please post it?