Community discussions

MikroTik App

Search found 278 matches

by mudasir
Mon Jul 30, 2018 6:32 pm
Forum: General
Topic: PHP MT Panel: PHP Based PPP Secrets Management System
Replies: 39
Views: 16907

Re: PHP MT Panel: PHP Based PPP Secrets Management System

Thanks for the update on this.
by mudasir
Mon Jul 30, 2018 5:43 am
Forum: General
Topic: PHP MT Panel: PHP Based PPP Secrets Management System
Replies: 39
Views: 16907

Re: PHP MT Panel: PHP Based PPP Secrets Management System

This was posted almost 7 years back. I had no idea that even existed anymore.
by mudasir
Mon Dec 14, 2015 12:15 pm
Forum: General
Topic: PHP MT Panel: PHP Based PPP Secrets Management System
Replies: 39
Views: 16907

Re: PHP MT Panel: PHP Based PPP Secrets Management System

Hi, It's been years since I worked on this (and almost 3 years since I properly worked on any Mikrotik device). I am not sure if this can / will work on new version of Mikrotik RouterOS. The main reason I can think of is that it does not use API rather it uses simple (some not so simple) SSH command...
by mudasir
Wed Apr 30, 2014 9:48 am
Forum: General
Topic: PHP MT Panel: PHP Based PPP Secrets Management System
Replies: 39
Views: 16907

Re: PHP MT Panel: PHP Based PPP Secrets Management System

Hi,

It is not designed to work with HotSpot. You can make changes in the functions to make it work for HotSpot.
by mudasir
Sat Aug 10, 2013 11:37 am
Forum: General
Topic: Interface BW not going above 30Mbps
Replies: 3
Views: 1315

Re: Interface BW not going above 30Mbps

Hi,

I found the problem. It was in my configuration. I am using a very complex config having bandwidth and client link on same ethernet. My client traffic was being masqueraded because of which my total traffic was getting stuck at about 30Mbps. So I fixed my NAT rules and now it is working fine.
by mudasir
Thu Aug 08, 2013 1:24 am
Forum: RouterBOARD hardware
Topic: CLOUD CORE ROUTER
Replies: 1374
Views: 1040201

Re: CLOUD CORE ROUTER

Hi everyone.

I am facing a very odd issue. Please check this post where I have detailed the issue http://forum.mikrotik.com/viewtopic.php?f=2&t=75556
by mudasir
Thu Aug 08, 2013 12:36 am
Forum: General
Topic: Interface BW not going above 30Mbps
Replies: 3
Views: 1315

Re: Interface BW not going above 30Mbps

I would like to add one thing. The same settings when used on a PC with RouterOS installed, it works fine without any issue. This issue is coming only on CCR.
by mudasir
Wed Aug 07, 2013 11:48 pm
Forum: General
Topic: Interface BW not going above 30Mbps
Replies: 3
Views: 1315

Interface BW not going above 30Mbps

HI, I am using CCR-1036 and for some reason (which I am unable to figure out) the WAN interface is not going above 30Mbps. When I reboot CCR the WAN interface goes to around 70Mbps to 80Mbps which is usually the case in peak times. However after some time the bandwidth comes down to around 30Mbps. E...
by mudasir
Thu May 16, 2013 10:55 am
Forum: General
Topic: CCR-1036-12G-4S disconnecting again and again
Replies: 9
Views: 1920

Re: CCR-1036-12G-4S disconnecting again and again

Hi, I am facing some issues regarding CCR-1036-12G-4S. It is disconnecting again and again and I have to reboot the router to get it back working. Once it is disconnected, I can not connect to it using anything (Winbox, Webfig, Console) and this happens randomly. It can happen after 5 min or after ...
by mudasir
Thu May 16, 2013 10:51 am
Forum: General
Topic: CCR-1036-12G-4S disconnecting again and again
Replies: 9
Views: 1920

Re: CCR-1036-12G-4S disconnecting again and again

Hi,

The device again got hanged... It is creating allot of issues for me now. I was planning to put this on production, but this behavior is creepy. If this happens in production, I really dont what what I will be doing.

If possible, please look into this issue.
by mudasir
Wed May 15, 2013 1:22 pm
Forum: General
Topic: CCR-1036-12G-4S disconnecting again and again
Replies: 9
Views: 1920

Re: CCR-1036-12G-4S disconnecting again and again

Hi,

I have sent the support.rif file on support.
by mudasir
Wed May 15, 2013 12:45 pm
Forum: General
Topic: CCR-1036-12G-4S disconnecting again and again
Replies: 9
Views: 1920

CCR-1036-12G-4S disconnecting again and again

Hi, I am facing some issues regarding CCR-1036-12G-4S. It is disconnecting again and again and I have to reboot the router to get it back working. Once it is disconnected, I can not connect to it using anything (Winbox, Webfig, Console) and this happens randomly. It can happen after 5 min or after 3...
by mudasir
Tue May 14, 2013 12:36 pm
Forum: General
Topic: How to group ports?
Replies: 3
Views: 803

How to group ports?

Hi, I am looking for a solution for CCR-1036-12G-4S where I can group first 4 ether ports. Like in Cisco we can create a VLAN and add multiple ports in that VLAN and can give IP address to that VLAN and perform all the routing for that VLAN. Can we do something similar in CCR-1036-12G-4S, like 1 DHC...
by mudasir
Mon May 13, 2013 10:43 am
Forum: General
Topic: First time config CCR-1036-12G-4S
Replies: 4
Views: 5782

Re: First time config CCR-1036-12G-4S

Hi,

Got it working after doing the RESET.
It will be great if the touch screen comes pre-calibrated.
by mudasir
Sun May 12, 2013 11:01 am
Forum: General
Topic: First time config CCR-1036-12G-4S
Replies: 4
Views: 5782

First time config CCR-1036-12G-4S

Hi,

Is there any "First time config" article on Wiki for CCR. I have tried almost everything.
Touch is not calibrated I think, because of which I am unable to use the touch screen properly.
Unable to connect to the router using Winbox.
Serial console is also not working.

I am stuck for this.
by mudasir
Fri Mar 01, 2013 5:53 pm
Forum: General
Topic: PHP MT Panel: PHP Based PPP Secrets Management System
Replies: 39
Views: 16907

Re: PHP MT Panel: PHP Based PPP Secrets Management System

HI,

Mikrotik UserManager and My system are both RADIUS based. You can use anyone of them at a time.
by mudasir
Thu Feb 28, 2013 10:31 am
Forum: General
Topic: PHP MT Panel: PHP Based PPP Secrets Management System
Replies: 39
Views: 16907

Re: PHP MT Panel: PHP Based PPP Secrets Management System

Hi, It will be great if you can share your work, so everyone can benifit from it. I am glad that you like this system. I stopped working on this because I started working on something way cooler than this. Check out the link below http://forum.mikrotik.com/viewtopic.php?f=2&t=69983 I am preparing a ...
by mudasir
Mon Feb 18, 2013 2:14 pm
Forum: General
Topic: A RADIUS system I am working on
Replies: 7
Views: 2338

Re: A RADIUS system I am working on

Hi,

Thanks for the feedback.
Actually that feature is there, I forgot to mention.

A cronjob runs on daily basis and send email to the User and to the entity (Dealer, Sub-Dealer) that user belongs to.
by mudasir
Sun Feb 17, 2013 5:02 pm
Forum: General
Topic: A RADIUS system I am working on
Replies: 7
Views: 2338

A RADIUS system I am working on

Hi everyone, I have been working on a RADIUS system and its almost complete. Based on Freeradius. Below are the features which are complete and are running in a production environment for an ISP of about 3000 customers. 1. Server Management a. Add / Remove / Edit Mikrotik Routers from web interface ...
by mudasir
Sun Dec 09, 2012 11:35 am
Forum: General
Topic: A very odd problem
Replies: 3
Views: 823

Re: A very odd problem

Hi, I can not use Free DNS Servers. I have local-sites running with few custom DNS entries and Reverse Pointers setup on the DNS Server. The issue that is confusing me is that how can it works when connecting the ID created in Mikrotik and not work when connecting the ID created in RADIUS. If anyone...
by mudasir
Sat Dec 08, 2012 10:14 pm
Forum: General
Topic: A very odd problem
Replies: 3
Views: 823

Re: A very odd problem

BUMP
by mudasir
Sat Dec 08, 2012 12:52 am
Forum: General
Topic: Special Routing Inquiry
Replies: 6
Views: 1077

Re: Special Routing Inquiry

Hi, If I am getting it right you want all the traffic from both CPE's to be routed to Ether11 (private IP NAT, public IP route). Private IP NAT is very easy (and from your first post I get an idea that you have already done this). Public IP routing can also be achieved but there are some limitations...
by mudasir
Sat Dec 08, 2012 12:41 am
Forum: General
Topic: A very odd problem
Replies: 3
Views: 823

A very odd problem

Hi, I have setup Freeradius with a custom developed PHP/MySQL based fronted for Freeradius. Mikrotik is using freeradius for PPP based authentication. Freeradius is configured with very basic "radcheck" and "radgroupreply" attributes. The issue is that there is a specific Wireless routers which when...
by mudasir
Thu Dec 06, 2012 1:52 am
Forum: General
Topic: Remove active pppoe using SNMP
Replies: 0
Views: 487

Remove active pppoe using SNMP

Hi,

Is there a way by which we can kick / remove an active user from PPPoE using a SNMPSET command.
by mudasir
Thu Dec 06, 2012 1:44 am
Forum: General
Topic: radius package-wise limitation internet & HIGH SPEED CACHE
Replies: 2
Views: 753

Re: radius package-wise limitation internet & HIGH SPEED CAC

Hi, This can be achieved easily. However some Mikrotik side settings will also be needed, as I can not think of a solution which only requires RADIUS side settings. What you can do is quiet simple. In RADIUS (radgroupreply or radreply) table you can create an entry that adds the user in a firewall a...
by mudasir
Tue Jul 24, 2012 4:58 pm
Forum: General
Topic: Something weird
Replies: 2
Views: 483

Re: Something weird

Hi.
I have properly implemented these rules in order...
Also passthrough is needed in this case, i have these rules working on another router.
by mudasir
Tue Jul 24, 2012 3:45 pm
Forum: General
Topic: Something weird
Replies: 2
Views: 483

Something weird

Hi, Recently I was implementing QoS in my Office router and came across something weird. These are working and limiting User bandwidth in a Queue. /ip firewall mangle add action=mark-connection chain=forward disabled=no new-connection-mark=BIG src-address=192.168.10.28 passthrough=yes add action=mar...
by mudasir
Mon May 14, 2012 10:04 am
Forum: General
Topic: WebFig Skin not being implemented
Replies: 7
Views: 1051

Re: WebFig Skin not being implemented

Yes I figured that out :)
by mudasir
Mon May 14, 2012 9:45 am
Forum: General
Topic: WebFig Skin not being implemented
Replies: 7
Views: 1051

Re: WebFig Skin not being implemented

Hi,

The settings are working but only from web interface and not on Winbox.
by mudasir
Fri May 11, 2012 4:32 pm
Forum: General
Topic: WebFig Skin not being implemented
Replies: 7
Views: 1051

Re: WebFig Skin not being implemented

Hi,

I have upgraded to Mikrotik v5.16, still WebFig skin not working. User is able to see everything and edit everything.
webfig.png
by mudasir
Fri May 11, 2012 3:38 pm
Forum: General
Topic: WebFig Skin not being implemented
Replies: 7
Views: 1051

Re: WebFig Skin not being implemented

I forgot to update it :)
Will do that right now and will see what happens.
by mudasir
Fri May 11, 2012 3:33 pm
Forum: General
Topic: WebFig Skin not being implemented
Replies: 7
Views: 1051

WebFig Skin not being implemented

Hi,

I just created a skin in WebFig and assigned that to a group and assigned that group to a User as show in http://forum.mikrotik.com/viewtopic.php?f=2&t=52184

But when I log-in using that User, the user is able to perform almost all the task system wide.

I am using Mikrotik ROS 5.7
by mudasir
Fri Jan 27, 2012 4:23 pm
Forum: General
Topic: how to protect against UDP flood
Replies: 11
Views: 13791

Re: how to protect against UDP flood

Hi,

Yes that is exactly what I initially figured out. My upstream provider does blackhole my IP address and it blocks everything. Up till now I have not been able to get any updates from my provider as to how we can control this.

Lets see, if I come up with any solution, I will share it here.
by mudasir
Thu Jan 26, 2012 10:59 pm
Forum: General
Topic: how to protect against UDP flood
Replies: 11
Views: 13791

Re: how to protect against UDP flood

Hi, It is somewhat similar, however I can not add another Mikrotik instance, as still my core router will be receiving this attack which at some time will get saturated link. Core router is also a Mikrotik Router. I thought of implementing PCQ on Interface Queue to restrict complete traffic, but aga...
by mudasir
Thu Jan 26, 2012 4:11 pm
Forum: General
Topic: how to protect against UDP flood
Replies: 11
Views: 13791

Re: how to protect against UDP flood

Hi,

Snapshot in my initial post shows the torch screen also, there I tested it from my local IP address "10.6.24.2". I have a perl script which I use to perform this this, I define port, packet size and few other parameters in there and then start the test.
by mudasir
Thu Jan 26, 2012 3:09 pm
Forum: General
Topic: how to protect against UDP flood
Replies: 11
Views: 13791

Re: how to protect against UDP flood

Hi,

Not working, attached snapshot.
floodtest.JPG
by mudasir
Wed Jan 25, 2012 10:56 pm
Forum: General
Topic: how to protect against UDP flood
Replies: 11
Views: 13791

how to protect against UDP flood

Hi, I have recently setup a TeamSpeak 3 Server to provide Voice Services to my Clients on Network. However shortly after putting on Public IP I started receiving UDP Flooding. The behavior is very odd, as the IP from which flooding is being done is caught in a dynamic Address-List and all packets ar...
by mudasir
Sat Nov 19, 2011 12:19 am
Forum: General
Topic: PHP MT Panel: PHP Based PPP Secrets Management System
Replies: 39
Views: 16907

Re: PHP MT Panel: PHP Based PPP Secrets Management System

HI,

Dear to make it work with 2.9.6, I will have to re-write almost all the functions, as there are many things that got upgraded while moving from 2.9.X to 3.X and then moving from 3.X to 4.X...
So its better to upgrade.

If you want this to be ported, you will have to sponsor.
by mudasir
Sun Oct 16, 2011 9:59 am
Forum: Scripting
Topic: Wierd Issue
Replies: 0
Views: 444

Wierd Issue

Hi, Recently I was writing a script to create backup of router and send it using gmail smtp. But I faced an issue that I could not figure out. The code that is creating issue is :local ip [:resolve smtp.gmail.com] :local user "xyz@gmail.com" :local pass "xyzxyz" :local to "backup@gmail.com" :local c...
by mudasir
Fri Sep 16, 2011 12:35 pm
Forum: General
Topic: PHP MT Panel: PHP Based PPP Secrets Management System
Replies: 39
Views: 16907

Re: PHP MT Panel: PHP Based PPP Secrets Management System

I think the app is not good enough...any ways...I thought that it might help few..
by mudasir
Thu Sep 15, 2011 11:07 am
Forum: General
Topic: PHP MT Panel: PHP Based PPP Secrets Management System
Replies: 39
Views: 16907

Re: PHP MT Panel: PHP Based PPP Secrets Management System

Hi, Thanks for pointing that out. Attached in this post is the patch for that. The zip file only contains "functions.php", just replace current functions.php in folder "inc" nothing else needed be done. I will try to add that Login authorization system as soon as I get time. I have also updated the ...
by mudasir
Thu Sep 15, 2011 1:47 am
Forum: General
Topic: PHP MT Panel: PHP Based PPP Secrets Management System
Replies: 39
Views: 16907

Re: PHP MT Panel: PHP Based PPP Secrets Management System

Hi, This is the first update which includes some bug fixes and a new feature to create PPP Profile. I have update the code to work with v5.X but now its not working for v3.X. So I will not be updating this code to work for v3.X as that is very old. Also I have added the Feature to create "Profile". ...
by mudasir
Wed Sep 14, 2011 5:09 pm
Forum: General
Topic: PHP MT Panel: PHP Based PPP Secrets Management System
Replies: 39
Views: 16907

Re: PHP MT Panel: PHP Based PPP Secrets Management System

Hi, The function that is being called on "User Stats" menu is function user_stats() { $ssh_command = ':global user :global fname :global lname :global traffic :global up :global down :foreach i in=[/queue simple find] do={ :set user [/queue simple get $i name] :for m from=([:len $user]) to=0 do={:if...
by mudasir
Wed Sep 14, 2011 11:13 am
Forum: General
Topic: PHP MT Panel: PHP Based PPP Secrets Management System
Replies: 39
Views: 16907

Re: PHP MT Panel: PHP Based PPP Secrets Management System

Something is really weird.
The same function when being executed from Mikrotik CLI is showing proper results, but the same thing when being executed from remote SSH is giving errors.

I am working on this and by tonight I will update and remove errors and will also add the "Adding Profile Feature".
by mudasir
Wed Sep 14, 2011 10:34 am
Forum: General
Topic: PHP MT Panel: PHP Based PPP Secrets Management System
Replies: 39
Views: 16907

Re: PHP MT Panel: PHP Based PPP Secrets Management System

Which version of mikrotik are you using to test this.
by mudasir
Wed Sep 14, 2011 10:25 am
Forum: General
Topic: PHP MT Panel: PHP Based PPP Secrets Management System
Replies: 39
Views: 16907

Re: PHP MT Panel: PHP Based PPP Secrets Management System

Yes.

As the topic of the post sepcifies "PHP Based PPP Secrets Management System".

This can be added as a feature request. Not much work is needed to be done for this..

Creating a profile is not that difficult, but for that you will also have to create an IP Pool, so that's why I left it.
by mudasir
Wed Sep 14, 2011 9:24 am
Forum: General
Topic: PHP MT Panel: PHP Based PPP Secrets Management System
Replies: 39
Views: 16907

Re: PHP MT Panel: PHP Based PPP Secrets Management System

Hi, Yes that is just a spelling mistake, nothing else. About the SQL import method that I have used. In my video tutorial, I have clearly mentioned that I am using a different method then specified in Wiki Article, because a MySQL library is required for that import method to work "libmysqlclient16"...
by mudasir
Tue Sep 13, 2011 1:19 pm
Forum: General
Topic: PHP MT Panel: PHP Based PPP Secrets Management System
Replies: 39
Views: 16907

Re: PHP MT Panel: PHP Based PPP Secrets Management System

Hi,

Will keep that in mind next time...
Thanks.

Also if you think that the app is nice...you can also make this post sticky.
by mudasir
Tue Sep 13, 2011 1:12 pm
Forum: General
Topic: PHP MT Panel: PHP Based PPP Secrets Management System
Replies: 39
Views: 16907

Re: PHP MT Panel: PHP Based PPP Secrets Management System

Hi,

I have uploaded a video tutorial on http://www.tiktube.com. It is under the evaluation process, the video is a complete installation guide of the application.

http://www.tiktube.com/index.php?video= ... vGlloKnGE=
by mudasir
Tue Sep 13, 2011 9:29 am
Forum: General
Topic: PHP MT Panel: PHP Based PPP Secrets Management System
Replies: 39
Views: 16907

Re: PHP MT Panel: PHP Based PPP Secrets Management System

Hi,

@aacable

I have also written an article on how to setup a WebMin based Mikrotik Panel with some of the scripts that provide basic functionality to perform PPP User Management using SSH.
The article is at following URL http://wiki.mikrotik.com/wiki/Useful_Bash_Scripts
by mudasir
Tue Sep 13, 2011 9:23 am
Forum: General
Topic: PHP MT Panel: PHP Based PPP Secrets Management System
Replies: 39
Views: 16907

Re: PHP MT Panel: PHP Based PPP Secrets Management System

Hi, I have tested this. I did setup this panel for one of my clients. Now I am working on a complete RADIUS Manager which is 100% based on PHP+AJAX+CSS and has many more features than this Panel. But to be honest, I will not be sharing that for FREE. I will also submit a Video tutorial on how to per...
by mudasir
Mon Sep 12, 2011 3:47 pm
Forum: General
Topic: PHP MT Panel: PHP Based PPP Secrets Management System
Replies: 39
Views: 16907

PHP MT Panel: PHP Based PPP Secrets Management System

Hi everyone, I have created a very simple but a very useful PHP Based PPP Secrets Management System. Currently following features are present in these scripts, more will be added if I get time. 1. Creating New User ( PPP->Secret + MySQL ). 2. Searching User ( this is only from MySQL ). 3. Show a lis...
by mudasir
Mon Aug 15, 2011 9:50 am
Forum: General
Topic: Feature Request.
Replies: 1
Views: 541

Feature Request.

Hi,

I would like to see OpenSSL integration with Mikrotik for creating certificates. This will help in managing certificates more easily.

Also PUSH Route for OpenVPN is a feature that i am waiting for.
by mudasir
Mon Aug 15, 2011 12:47 am
Forum: General
Topic: Filter VPN traffic fro SPAM
Replies: 2
Views: 631

Re: Filter VPN traffic fro SPAM

Hi,

Thanks for your quick reply. And thanks for the information.
by mudasir
Mon Aug 15, 2011 12:35 am
Forum: General
Topic: Filter VPN traffic fro SPAM
Replies: 2
Views: 631

Filter VPN traffic fro SPAM

Hi,

I would like to know, is it possible to filter VPN traffic to stop SPAM. I just want to block all traffic of port 25 and 110 that is coming through VPN ( either SSTP, PPTP, L2TP ).
by mudasir
Tue Aug 02, 2011 3:34 am
Forum: General
Topic: ACK Packet Prioritization
Replies: 0
Views: 509

ACK Packet Prioritization

Hi, I am trying to implement ACK packet prioritization, but its not working properly. Below is the rule that I am implementing. add action=mark-packet chain=prerouting disabled=no in-interface=lan new-packet-mark=QoS_ACK packet-size=0-120 passthrough=no protocol=tcp tcp-flags=ack,!fin,!syn,!rst,!psh...
by mudasir
Wed Jul 27, 2011 11:20 am
Forum: General
Topic: Restrict UPnP ports
Replies: 3
Views: 663

Re: Restrict UPnP ports

Hi,

Thanks for your quick reply.

Can you please give me some example rules for Static DST-NAT rules for port >30000.
by mudasir
Wed Jul 27, 2011 10:35 am
Forum: General
Topic: Restrict UPnP ports
Replies: 3
Views: 663

Restrict UPnP ports

Hi,

How can I restrict Port range for UPnP.
Like UPnP should only be for ports greater than 30000.
by mudasir
Sun Jul 17, 2011 2:07 am
Forum: General
Topic: Router Problem...please advice
Replies: 3
Views: 914

Re: Router Problem...please advice

Hi,

Thanks for you reply.

I have solved the problem. For some reason IP route was not accepting 10.6.24.0/23 and 10.6.28.0/23 as dst-address while adding routes, so I have to add /24 routes. Now its working fine.
by mudasir
Fri Jul 15, 2011 8:03 pm
Forum: General
Topic: Router Problem...please advice
Replies: 3
Views: 914

Re: Router Problem...please advice

Bump...

Can any one help me out in this.
by mudasir
Mon Jul 11, 2011 9:35 pm
Forum: General
Topic: Router Problem...please advice
Replies: 3
Views: 914

Router Problem...please advice

Hi, I have configured Mikrotik on a PC as a normal router, performing simple routing functions. There are total 6 ports, each port with different IP range and using DHCP-Relay on each port from a linux based dhcp server. Port 1 = 10.6.32.0/29 (used for ISP end connectivity) Port 2 = 10.6.24.0/23 Por...
by mudasir
Wed Jul 06, 2011 5:37 pm
Forum: General
Topic: Multi-Wan with Proxy and Live IPs
Replies: 2
Views: 894

Re: Multi-Wan with Proxy and Live IPs

Hi, Thanks for your reply, below are the details that you asked, i have removed replaced IP's with "XXX" [admin@firewall.mywall] > ip address print detail Flags: X - disabled, I - invalid, D - dynamic 0 address=192.168.10.253/24 network=192.168.10.0 interface=LAN actual-interface=LAN 1 address=XXX.X...
by mudasir
Wed Jul 06, 2011 3:36 pm
Forum: General
Topic: Multi-Wan with Proxy and Live IPs
Replies: 2
Views: 894

Multi-Wan with Proxy and Live IPs

Hi, I have a scenario where i am a bit stuck. Below is a brief info of what i am working on. 1. We have 2 ISP. (ISP1 and ISP2). 2. We have 2 separate Live IP pools from both ISPs (pool1 and pool2). 3. Local Clients use 192.168.10.0/24 , few clients are provided with live IP (from ISP1 and ISP2 at ra...
by mudasir
Fri Jun 03, 2011 2:16 am
Forum: General
Topic: Freeradius Multiple logins with PPTP
Replies: 1
Views: 1726

Freeradius Multiple logins with PPTP

Hi, After doing google for about 5 days, i am writing here. I am using Ubuntu 10.04.2 LTS Server. I have configured Freeradius to work with Mikrotik to authenticate PPTP users. But the issue that i am facing is that i want to limit a user to single login not multiple, but users are able to login as ...
by mudasir
Fri Mar 25, 2011 1:26 pm
Forum: General
Topic: Mikrotik on VMWare ESX
Replies: 6
Views: 1344

Re: Mikrotik on VMWare ESX

MT 4.17 is running fine. I am talking about 3.28, me system hangs during installation
by mudasir
Fri Mar 25, 2011 1:00 pm
Forum: General
Topic: Mikrotik on VMWare ESX
Replies: 6
Views: 1344

Re: Mikrotik on VMWare ESX

Thanks for your reply.
I really appreciate your quick response.
by mudasir
Fri Mar 25, 2011 12:57 pm
Forum: General
Topic: Mikrotik on VMWare ESX
Replies: 6
Views: 1344

Re: Mikrotik on VMWare ESX

Hi,

I was trying to install 3.28 but it did not work now i tried to install 4.17 and it is installed.
Can you please tell me why is this.
by mudasir
Fri Mar 25, 2011 12:39 pm
Forum: General
Topic: Mikrotik on VMWare ESX
Replies: 6
Views: 1344

Mikrotik on VMWare ESX

Hi, I am trying to install Mikrotik on an ESX Server. It boots properly from ISO Image, then i select the packages that i want to install and then press "i" then "n" and then as soon as I press "y" to continue my keyboards NUM LOCK and SCROLL LOCK starts blinking and systems hangs up. Then i have to...
by mudasir
Fri Mar 18, 2011 4:50 pm
Forum: General
Topic: OVPN Error
Replies: 3
Views: 665

Re: OVPN Error

Hmmm...
I have setup OpenVPN on linux behind Mikrotik. Its working. So i dont think i need Mikrotik OVPN anymore. Anyways thanks for the answer.
by mudasir
Fri Mar 18, 2011 2:22 pm
Forum: General
Topic: OVPN Error
Replies: 3
Views: 665

Re: OVPN Error

Hi,

When i try to decrypt the certificate, it asks for passphrase, and i have not created certificates with any passphrase, i leave the passphrase blank and press ok. Then nothing happens.
by mudasir
Fri Mar 18, 2011 1:54 pm
Forum: General
Topic: OVPN Error
Replies: 3
Views: 665

OVPN Error

Hi, I am setting up OVPN. I have created certificate on my Linux box using below steps. # cd /etc/openvpn/easy-rsa/2.0 # source vars # ./clean-all # ./build-ca # ./build-key-server Server # ./build-key client After creating Keys, i imported them in mikrotik using below steps. # cd /etc/openvpn/easy-...
by mudasir
Fri Jan 28, 2011 9:32 am
Forum: Scripting
Topic: Regular expression match
Replies: 7
Views: 2298

Re: Regular expression match

Thanks allot.

Got it working..
by mudasir
Fri Jan 28, 2011 9:09 am
Forum: Scripting
Topic: Regular expression match
Replies: 7
Views: 2298

Re: Regular expression match

Ok.

I can loop through all users, but can you please guime me how can i check name for "cn".
by mudasir
Fri Jan 28, 2011 8:18 am
Forum: Scripting
Topic: Regular expression match
Replies: 7
Views: 2298

Re: Regular expression match

Thanks allot.

I got that working in 4 of my v4.16 ROS, but is there any way to get this working in v3.23. Because I have 2 ROS v3.23 and 4 ROS v4.16.

Please let me know if there is any method in v3.23
by mudasir
Fri Jan 28, 2011 5:09 am
Forum: Scripting
Topic: Regular expression match
Replies: 7
Views: 2298

Regular expression match

Hi,

I would like to know how can i do regular expression matching.
I am trying to figure out all active users in "/ppp active print" which starts with "cn-", like
cn-mudasir
cn-abc
cn-xyz
So how can i only print information about the users having cn- at the begining of the user id.
by mudasir
Fri Jan 14, 2011 10:07 pm
Forum: General
Topic: PPTP Logs
Replies: 2
Views: 567

Re: PPTP Logs

Hi,

Thanks allot dear.
by mudasir
Wed Jan 12, 2011 6:03 pm
Forum: General
Topic: PPTP Logs
Replies: 2
Views: 567

PPTP Logs

Dear All,

In VPN, when any user logs out, series of numbers are shown in logs. I would like to know what does those numbers means. Example is an attached snapshot.
pptp.JPG
by mudasir
Tue Sep 07, 2010 4:18 am
Forum: General
Topic: PHP based PPP user panel
Replies: 4
Views: 1425

Re: PHP based PPP user panel

Hi,

Yes this is the main reason i am working with SSH and CLI, not with API, becasue API is still under development and is not 100%. On the other hand CLI is 100%.

I am using phpseclib for all the SSH commands.
by mudasir
Sun Sep 05, 2010 4:29 am
Forum: Scripting
Topic: Error in Script with SSH
Replies: 3
Views: 1064

Error in Script with SSH

Hi, I am working on a script to show all active interfaces in PPTP. The script is working fine when run in mikrotik console. I want to execute this script through SSH, it gives error when executed through SSH. :global iname;:foreach i in=[/interface find type=pptp-in] do={:set iname [interface get $...
by mudasir
Sat Sep 04, 2010 10:45 pm
Forum: General
Topic: PHP based PPP user panel
Replies: 4
Views: 1425

Re: PHP based PPP user panel

Dear, The snapshots are taken differently, in the user creation form the data entered is for 512kbps, then i deleted the user and created again with 768kbps. Today i have integrated "Live User Monitoring", "User Stats", "PPP Profile Creation" and "IP Pool Creation". 1. Profile creation right now has...
by mudasir
Sat Sep 04, 2010 4:59 am
Forum: General
Topic: PHP based PPP user panel
Replies: 4
Views: 1425

PHP based PPP user panel

Dear All, I am working on a PHP based PPP User Control Panel with MySQL support. I need some ideas, like what to integrate in this panel. Currently i have completed below listed features. 1. Create User. (with monthly restriction, at the month end the user id will be disabled automatically). 2. Dele...
by mudasir
Fri Jun 25, 2010 3:55 pm
Forum: Scripting
Topic: Email not being sent
Replies: 11
Views: 2074

Re: Email not being sent

Hi, Now i am using the code below, still no progress. The ip is provided by my ISP. :global file ([/system identity get name] . [:pick [/system clock get date ] 7 11] . [:pick [/system clock get date ] 0 3] . [:pick [/system clock get date ] 4 6] . ".backup") /system backup save name=$file /tool e-m...
by mudasir
Thu Jun 24, 2010 7:54 pm
Forum: Scripting
Topic: Email not being sent
Replies: 11
Views: 2074

Re: Email not being sent

So can you tell me any other way to do so. I contacted my ISP and they gave me another SMTP server but still i am unable to send emails.
by mudasir
Thu Jun 24, 2010 5:05 pm
Forum: Scripting
Topic: Email not being sent
Replies: 11
Views: 2074

Email not being sent

Hi, I am trying to send my systems backup via email tool, but it is unable to send email. I am not getting errors in logs. :global smtp (:put ([:resolve smtp.gmail.com].":25")) :global file ([/system identity get name] . [:pick [/system clock get date ] 7 11] . [:pick [/system clock get date ] 0 3] ...
by mudasir
Fri May 21, 2010 6:32 pm
Forum: Scripting
Topic: Change hotspot password with PHP API
Replies: 73
Views: 46364

Re: Change hotspot password with PHP API

Dear,

i have done all the scripts in bash and have created a complete user management panel in Webmin. Its working great and have solved all my problems. I will very soon be publishing all my bash scripts to mikrotik wiki.
by mudasir
Thu Mar 18, 2010 8:30 pm
Forum: Beginner Basics
Topic: How to configure Mikrotik with ADSL on Intel-PC !
Replies: 7
Views: 7529

Re: How to configure Mikrotik with ADSL on Intel-PC !

Dear friend,

You can follow the link in my previous post to share internet with the help of mikrotik.

If you dont know how to configure your ADSL modem them you should contact you ISP from which you got the DSL Service. They are always there to help you out, better then us.
by mudasir
Sat Jan 23, 2010 10:12 pm
Forum: Scripting
Topic: Change hotspot password with PHP API
Replies: 73
Views: 46364

Re: Change hotspot password with PHP API

Hi,

Thanks for th reply.

the CLI command is simple.
"ip hotspot user set User_Name password=New_Password"

i want this to do through the PHP API, a working example would be great.

Thanks in advance.
by mudasir
Sat Jan 23, 2010 3:05 am
Forum: Scripting
Topic: Change hotspot password with PHP API
Replies: 73
Views: 46364

Re: Change hotspot password with PHP API

HI, uptill now i have only made login system, and a simple html form with required fields. form has following fields 1. userid 2. old password 3. new password 4. confirm password. i have made a function to check new password and confirm password. after that the password should go through the php.api...
by mudasir
Thu Jan 21, 2010 9:19 pm
Forum: Scripting
Topic: Change hotspot password with PHP API
Replies: 73
Views: 46364

Change hotspot password with PHP API

Hi, I am working on a simple PHP script to change password of a hotspot user. A simple example would be great. Right now i am doing this with a BASH script from a Linux Server. I get a STD Timeout error almost all the time while changing password, i dont understand why i get this. Also if someone ca...
by mudasir
Sun Dec 06, 2009 7:03 pm
Forum: General
Topic: Disable / Uninstall Web-Proxy
Replies: 2
Views: 2164

Disable / Uninstall Web-Proxy

Hi, I would like to know how can i Disable / Uninstall the web-proxy packge in mikrotik version 3.30. And also one more thing. I am using Mikrotik version 3.30 with hotspot, at peak time almost 2800 users are online at this time my CPU utilization goes to 100% and my clients start to see strange pro...
by mudasir
Sun Nov 29, 2009 8:00 am
Forum: General
Topic: Radius Attribute Query
Replies: 2
Views: 517

Re: Radius Attribute Query

Thanks allot man...
by mudasir
Sun Nov 29, 2009 7:36 am
Forum: General
Topic: Radius Attribute Query
Replies: 2
Views: 517

Radius Attribute Query

Hi,

I have setup FreeRadius on Ubuntu to work with Mikrotik as PPPoE, its working fine.
I want to ask what is the Attribute to be used in FreeRadius to bind MAC-Address to an User-ID.

Like we use "called-id" option in mikrotik to set MAC-Address. What is the option to be used in Free-Radius.
by mudasir
Mon Aug 31, 2009 12:32 pm
Forum: General
Topic: PPPoE - How to Use DNS
Replies: 3
Views: 1248

Re: PPPoE - How to Use DNS

Hi, Is there any other way, becasue i need some particular DNS entries which i can not make in the DNS provided in Local Area Connection. I have no cotrol over DHCP server i can only change settings of PPPoE server. Is there any tweak that can be made in registry. I will try the registry things whic...
by mudasir
Mon Aug 31, 2009 12:29 pm
Forum: General
Topic: Virtual Ethernet Problem.
Replies: 3
Views: 1172

Re: Virtual Ethernet Problem.

Hi,

Dear XEN package is not installed.
by mudasir
Mon Aug 31, 2009 9:29 am
Forum: General
Topic: PPPoE - How to Use DNS
Replies: 3
Views: 1248

PPPoE - How to Use DNS

Hi, I would like to know how to use DNS assigned by PPPoE. When i connect my PPPoE dialer and after that when i do nslookup, it is not doing lookup from my PPPoE DNS. It is doing lookup with the DNS assigned in Local Area Connection. I would like to know how to be able to make use of the DNS provide...
by mudasir
Mon Aug 31, 2009 8:50 am
Forum: General
Topic: Virtual Ethernet Problem.
Replies: 3
Views: 1172

Virtual Ethernet Problem.

Hi, I tried to add a Virtual Ethernet and it gave me an error saying that "the feature is not implemented". And since then i dont see any of my Ethernet Interfaces in "Interfaces" section. Also when i try to add a firewall rule and when i try to select interface it only says "unknown" none of my int...
by mudasir
Thu Aug 27, 2009 12:39 pm
Forum: General
Topic: Load Balancing over 2 gateways with Proxy
Replies: 3
Views: 636

Re: Load Balancing over 2 gateways with Proxy

Hi,

I know that Traffic Routing is done in PREROUTING chain. Proxy work on input and output chain.

I would like to know that is it possible or not.
by mudasir
Thu Aug 27, 2009 9:42 am
Forum: General
Topic: Load Balancing over 2 gateways with Proxy
Replies: 3
Views: 636

Load Balancing over 2 gateways with Proxy

Hi,

I am trying to do load balancing over 2 gateways. It works great without Proxy, however as soon as i enable redirection in NAT for proxy only the default route is selected for complete traffic.

How to resolve this issue.

Looking for a quick and positive reply.
by mudasir
Thu Aug 27, 2009 9:39 am
Forum: General
Topic: New software id
Replies: 3
Views: 740

Re: New software id

HI,

I am also facing this issue. I upgraded my ROS to 3.28 and since then i am facing this...
by mudasir
Sun Aug 23, 2009 5:03 am
Forum: General
Topic: PPTP Giving Error
Replies: 3
Views: 836

Re: PPTP Giving Error

Hi. This is my config. / tool user-manager router add subscriber=mudasir name="CrystalNet" ip-address=10.100.74.10 shared-secret="123456" comment="" disabled=no / tool user-manager user add subscriber=mudasir username="demo" password="demo" comment="" disabled=no / tool user-manager customer add sub...
by mudasir
Wed Aug 19, 2009 7:43 pm
Forum: General
Topic: PPTP Giving Error
Replies: 3
Views: 836

PPTP Giving Error

Hi, I am trying to setup PPTP on Mikrotik with User Manager. But it keeps giving me error that the UserName or Password is invalid. In the logs i see Authentication Failed. I also followed the article in the wiki section to remove all the doubts that i had in my mind. PPTP when connecting goes till ...
by mudasir
Sat Jun 06, 2009 4:40 pm
Forum: Scripting
Topic: Routing with original source address
Replies: 15
Views: 2695

Re: Routing with original source address

Its simple.

In mangle table just add a simple rule to accept traffic of port 80....
by mudasir
Tue Jun 02, 2009 9:27 am
Forum: Scripting
Topic: Routing with original source address
Replies: 15
Views: 2695

Re: Routing with original source address

Hi,

Thanks to all, i have resolved my problem.
Thanks again.
by mudasir
Sun May 24, 2009 8:54 am
Forum: Scripting
Topic: Routing with original source address
Replies: 15
Views: 2695

Re: Routing with original source address

Hi,

yes i have a "masquerade" rule in my NAT table, without it internet will not work at the client side.

If you have any other method then "masquerade" please let me know, becasue it will help me in obtaining the desired result
by mudasir
Sun May 24, 2009 3:46 am
Forum: Scripting
Topic: Routing with original source address
Replies: 15
Views: 2695

Re: Routing with original source address

Dear chupaka,

i tried this, but the traffic that i recieve at proxy has the src address of my mikrotik machine, not the original host machine.
by mudasir
Sat May 23, 2009 7:39 am
Forum: Scripting
Topic: Routing with original source address
Replies: 15
Views: 2695

Routing with original source address

Hi,

I would like to know, is it possible to route port 80 traffic to an external machine with original src-address. I am talking about an external proxy / cache machine, mikrotik routing port 80 traffic with original src-address to an external machine.
by mudasir
Tue May 19, 2009 11:30 am
Forum: General
Topic: Proxylizer Issue
Replies: 13
Views: 3241

Re: Proxylizer Issue

Hi, Dear when i make a rule "topics=web-proxy" still the logs that i see have the "debug" option in it. So its no use. I am using 2.9 as well as 3.23. I have 3 machine on 2.9 and 2 machine on 3.23. And i want to make a centralized loggin server, for which i have re-installed my server with CentOS 5....
by mudasir
Tue May 19, 2009 11:09 am
Forum: General
Topic: Proxylizer Issue
Replies: 13
Views: 3241

Re: Proxylizer Issue

Hi, Dear let me requote, when i use "topics=web-proxy, !debug" i get no logs at all. And i really mean no logs, so what will be transfered if i have no logs. The only way i see any sort of web-proxy logs is "topics=web-proxy,debug" . I am using Red-Hat Enterprise 5, with Apache2 and PHP 5.xx and MyS...
by mudasir
Tue May 19, 2009 6:33 am
Forum: General
Topic: How to save web-proxy logs (its urgent)
Replies: 5
Views: 2669

Re: How to save web-proxy logs (its urgent)

Hi,

Can any of you point me to any article or tutorial related to this topic, in regards with mikrotik.
by mudasir
Mon May 18, 2009 4:16 pm
Forum: General
Topic: Proxylizer Issue
Replies: 13
Views: 3241

Re: Proxylizer Issue

Hi. Dear Normis, First thing is that, when i enable logging for "topic=web-proxy, !debug" . I see no logs at all, not in Mikrotik's Log or anywhere. The only way i see logs related to Web-proxy is "web-proxy,debug,packet". So I had to edit the file webproxylogtomysql.php I did the follosing chages /...
by mudasir
Mon May 18, 2009 3:10 am
Forum: General
Topic: Proxylizer Issue
Replies: 13
Views: 3241

Re: Proxylizer Issue

I resolved this issue also by editing he PHP file. There are allot of mistakes in PHP files, believe me. Now when i do cat /root/mysql.pipe , i see the logs going. And aslo in my proxylizer page it is showing that i have logs. But how to use this Dumb thing. Unable to do any thing. For me Proxylizer...
by mudasir
Mon May 18, 2009 3:06 am
Forum: General
Topic: How to save web-proxy logs (its urgent)
Replies: 5
Views: 2669

How to save web-proxy logs (its urgent)

HI, I would like to know is there any possible way to save web-proxy logs. Right now i have made a log rule to save all logs to disk and i have increased the number of lines to maximum. Please if any one says about "PROXYLIZER", i tried that and its not working for me, follow the link to see http://...
by mudasir
Thu May 14, 2009 2:58 am
Forum: General
Topic: Proxylizer Issue
Replies: 13
Views: 3241

Re: Proxylizer Issue

Hi, Somehow i have come around the problem that i described in my last. My last problem was resolved by using "/usr/bin/php" to execute .php files. Now i am facing a new problem. i am getting " Not valid web proxy log!!! " message in /var/log/proxylizer/webproxytodb_debug.log , how i ever i am able ...
by mudasir
Wed May 13, 2009 4:07 pm
Forum: General
Topic: Proxylizer Issue
Replies: 13
Views: 3241

Re: Proxylizer Issue

Hi, I got it working, by doing a complete re-install of the Proxylizer. Now i am facing anther issue. When i execute the Crontab of Proxylizer manually i get the following error PHP Notice: Undefined property: DB_mysql::$disconnect in /var/www/proxylizer/mail_send.php on line 54 Please let me know w...
by mudasir
Wed May 13, 2009 3:20 pm
Forum: General
Topic: Proxylizer Issue
Replies: 13
Views: 3241

Re: Proxylizer Issue

Hi, Dear Normis, I installed Chrome as well as Opera. Still the same. The source of the page from Chrome is as follows <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>M...
by mudasir
Wed May 13, 2009 2:51 am
Forum: General
Topic: Proxylizer Issue
Replies: 13
Views: 3241

Proxylizer Issue

Hi, I was tryting to install Proxylizer, but its not working. I get a blank page with only a Mikrotik Logo at the bottom. I followed all the steps as per the Wiki, but no progress. Please let me know how will i be able to set it up properly. I have made database. when i try to open the web-page this...
by mudasir
Fri Apr 17, 2009 9:08 pm
Forum: General
Topic: Bandwidth Restriction for a Pool
Replies: 6
Views: 1103

Re: Bandwidth Restriction for a Pool

Hi,

Dear chupaka,

It would be great if you can give me an example, becasue i am a bit confused regarding this.

I tried creating single queue with target add "192.168.0.0/29" , but it gave me error to give correct IP address.
by mudasir
Fri Apr 17, 2009 2:24 pm
Forum: General
Topic: Bandwidth Restriction for a Pool
Replies: 6
Views: 1103

Re: Bandwidth Restriction for a Pool

Hi,

can any of you show me an example. I dont want to add queue for each IP in the Pool of /29. How is it possible with only one QUEUE for the whole /29 Pool.
by mudasir
Fri Apr 17, 2009 6:09 am
Forum: General
Topic: Bandwidth Restriction for a Pool
Replies: 6
Views: 1103

Bandwidth Restriction for a Pool

Hi,

I have an IP pool of /29 subnet and i want to restrict this whole IP pool to 4mb. How to do this.

Like if all IP are using internet, the total bandwidth restriction on all IP's should be 4mb, each IP should not be restricted to 4mb.

Let me know this.
by mudasir
Sat Apr 11, 2009 12:53 pm
Forum: General
Topic: Public IP routing without NAT
Replies: 2
Views: 904

Re: Public IP routing without NAT

Hi,

Thanks chupaka for the information. I will try it, might be today or tomorrow and will let you know.
by mudasir
Sat Apr 11, 2009 5:50 am
Forum: General
Topic: Public IP routing without NAT
Replies: 2
Views: 904

Public IP routing without NAT

Hi, I want to know how is it (i.e if) possible to provide live ip's to client without using NAT. I have three "/24" subnets of live ip's and i want to give them to client by creating virtual interfaces and doing subnetting. Like for example i have this subnet 137.0.0.1/24 Now i divide it further "13...
by mudasir
Tue Apr 07, 2009 9:05 am
Forum: General
Topic: SSH not working...
Replies: 2
Views: 493

Re: SSH not working...

Hi,

Its unbelievable, its working now and i did nothing to it. :shock:

If this sort of thing happened again i will post logs of both side.
by mudasir
Tue Apr 07, 2009 1:35 am
Forum: General
Topic: Running multiple PPPoE Servers
Replies: 4
Views: 3817

Re: Running multiple PPPoE Servers

Hi, Thanks for the quick reply. I know this, becasue till yesterday i only had single server running, but today as i setup my second pppoe server, i faced this issue. I divided the area and it was working fine. but the thing is i can not setup only 1 server on my network, or you can say not single s...
by mudasir
Tue Apr 07, 2009 1:19 am
Forum: General
Topic: Running multiple PPPoE Servers
Replies: 4
Views: 3817

Running multiple PPPoE Servers

Hi, Is it possible to run multiple PPPoE server in single network. I tried it but many of clients are not properly being authenticated. Like if a client is supposed to login to PPPoE server1 but all its login attempts goes to PPPoE server2, thus not allowing the client to login. Please let me know w...
by mudasir
Tue Apr 07, 2009 1:17 am
Forum: General
Topic: SSH not working...
Replies: 2
Views: 493

SSH not working...

Hi, My Mikrotik machine is mainly being controlled by my linux machine with my custom made BASH scripts. Now till 2 days back, everything was working fine, but now i am unable to SSH to my mikrotik box. I am getting ssh_exchange_notification error, and now i am facing very serious issues just becaus...
by mudasir
Tue Apr 07, 2009 1:02 am
Forum: Scripting
Topic: adding a lot of ppp secret on mikrotik script
Replies: 13
Views: 9540

Re: adding a lot of ppp secret on mikrotik script

Hi, It is very easy only if you have a linux machine available. The following script can help you out. FPATH="/path/to/dir" FILE="raw-data-file" NEW="newfile.rsc echo "/ppp secret" >> $FPATH/$NEW cat $FILE | while read users do UID=`echo $users | cut-d, -f1` PASS=`echo $users | cut-d, -f2` LOC_ADD=`...
by mudasir
Tue Mar 31, 2009 12:52 am
Forum: General
Topic: What type of encryption done by pppoe
Replies: 2
Views: 779

Re: What type of encryption done by pppoe

Hi, Thanks dear Normands. That page was usefull. I want to ask, if we set encryption=yes , then what will be the effect on the CPU Load, like what will be the average load. Currently i have a 2.8 GHz systeb with 1.5 GB RAM. I am thinking of shifting about 1000 clients to PPPoE with MPPE 128bit RSA. ...
by mudasir
Sun Mar 29, 2009 1:52 am
Forum: General
Topic: What type of encryption done by pppoe
Replies: 2
Views: 779

What type of encryption done by pppoe

Hi, When creating a profile in PPP, if we set encryption=yes , what type of encryption is done over PPPoE. And is it possible to do 256bit or 128bit encryption with Mikrotik with pppoe or with l2tp. I am looking for some security measures. Please help me out. I want to create a point to poin link be...
by mudasir
Sat Mar 21, 2009 4:35 am
Forum: General
Topic: QoS HTTP Masking
Replies: 0
Views: 404

QoS HTTP Masking

Hi, I am using simple queues to limit bandwidth on per IP basis. Now what happens is that when any one is downloading a file, their browsing dies. I want to implement QoS on HTTP Traffic so that even if they are downloading their browsing should work at good rate. I tried to use MARK with Mangle usi...
by mudasir
Sun Mar 15, 2009 9:58 am
Forum: General
Topic: SSH Error plz help.
Replies: 1
Views: 473

SSH Error plz help.

Hi, I am recieving an error while using commands through SSH. failure: std failure: timeout (13) This is the error that i am facing. I use a BASH script to generate .RSC file then copy the script to Mikrotik with SCP then import the script, and during the import process this error comes up. What is ...
by mudasir
Fri Mar 13, 2009 5:39 am
Forum: General
Topic: Blocking VoIP with Content Filtering
Replies: 4
Views: 1166

Re: Blocking VoIP with Content Filtering

Hi,

Dear right now i am using L7 to block this and it is working great. Just wanted to know how to block VoIP using content filtering. I dont know SIP or any other server's IP.
by mudasir
Thu Mar 12, 2009 7:56 pm
Forum: General
Topic: How to use Parent-proxy feature
Replies: 0
Views: 313

How to use Parent-proxy feature

Hi,

How to use Parent-Proxy feature. I have a working squid and i want to set it up as the parent proxy and cache server.

What settings will i need to do on squid and on mikrotik, please let me know
by mudasir
Thu Mar 12, 2009 5:51 pm
Forum: General
Topic: cache full speed
Replies: 0
Views: 678

cache full speed

Hi, I am using squid as my proxy server, and i want to give full speed to my clients for cache contents. Below is my squid.conf file. Please tell me which TOS DSCP number should i mark with firewall according to this squid.conf. http_port 8080 transparent http_port 80 vport vhost hierarchy_stoplist ...
by mudasir
Thu Mar 12, 2009 5:46 pm
Forum: General
Topic: Blocking VoIP with Content Filtering
Replies: 4
Views: 1166

Blocking VoIP with Content Filtering

Hi,

Please tell me how to block VoIP with Content Filtering not using L7 Protocols.
by mudasir
Thu Feb 26, 2009 11:05 pm
Forum: General
Topic: How to block Complete VoIP Traffic
Replies: 1
Views: 664

How to block Complete VoIP Traffic

Hi,

I want to know ho to block complete VoIP traffic. I am using v2.9 and v3.20. Please help me out in blocking complete VoIP traffic using both 2.9 and 3.20.

Looking forward for a positive and quick response.
by mudasir
Wed Feb 25, 2009 6:58 pm
Forum: General
Topic: Public IP's with PPPoE
Replies: 4
Views: 883

Public IP's with PPPoE

Hi, I am working on a scenario where i will have to give Public IP's to wach user who gets connected with PPPoE. Please tel me how to accomplish this, and what configuration will be required at my Router, i am using v3.20 , and i have about 200 clients. They should be directly connected to internet ...
by mudasir
Tue Feb 24, 2009 10:58 pm
Forum: General
Topic: IP Breakup in Mikrotik
Replies: 1
Views: 535

IP Breakup in Mikrotik

Hi,

I have an IP pool of about 20 public IP's and i have about 200 users and i want to give each user a public ip.

Basically how to break up IP's and give my clients public ip using DHCP. How to accomplish this.

Please help me out.
by mudasir
Fri Feb 20, 2009 7:20 am
Forum: Scripting
Topic: changing default route
Replies: 1
Views: 548

changing default route

Hi, I am trying to write a script for changing default route. During the day the route should be different and after say 8pm the route should be automatically changed to something else. Like during the day time the route should be 192.168.1.1 and after 8pm the route should change to 192.168.200.1 Pl...
by mudasir
Fri Feb 13, 2009 12:44 am
Forum: General
Topic: web proxy debug???
Replies: 17
Views: 4960

Re: web proxy debug???

Hi, msundman is right, i just messed it up. Mikrotik is making my Linux skills weak. By the he is right, in linux iptables work on chaing 1. PREROUTING 2. INPUT 3. FORWARD 4. OUTPUT 5. POSTROUTING Rules are read in chains following the orders of chain above. However not same in Mikrotik, rules are r...
by mudasir
Fri Feb 13, 2009 12:07 am
Forum: General
Topic: Which Board can handle these amounts of users..
Replies: 4
Views: 897

Re: Which Board can handle these amounts of users..

Hi, I have recently deployed a network of about 700 users on Mikrotik. Mikrotik providing: 1. QoS 2. PPPoE 3. Graphing 4. Some simple Firewall Rules 5. Load Balancing over two WAN Links Specification of PC is as follows total-memory: 774536kB cpu: "Intel(R)" cpu-frequency: 1793MHz CPU Usage very rar...
by mudasir
Thu Feb 12, 2009 10:49 pm
Forum: General
Topic: simple PCQ setup needed for MT OS 3.20
Replies: 1
Views: 1100

Re: simple PCQ setup needed for MT OS 3.20

Hi, Material below taken from http://wiki.mikrotik.com/wiki/PCQ_Examples , edited to meet your needs. There are two ways how to make this: using mangle and queue trees, or, using simple queues. 1. Mark all packets with packet-mark all: /ip firewall mangle add chain=prerouting action=mark-packet new-...
by mudasir
Thu Feb 12, 2009 10:36 pm
Forum: General
Topic: PPPoE Creating Problems
Replies: 11
Views: 1381

Re: PPPoE Creating Problems

Hi, I dont have a L6 License, running two L5 on different machines, so i can not use User-Manager. Normally at night more than 50 clients are online, so user-manager will not be of great help to me. If i would want to shift to user-manager, i will simply create a script using linux to add all users ...
by mudasir
Thu Feb 12, 2009 10:29 pm
Forum: General
Topic: Two interface with same gateway
Replies: 9
Views: 1220

Re: Two interface with same gateway

Hi,

Thanks, i will try and let you all know
by mudasir
Thu Feb 12, 2009 1:04 am
Forum: General
Topic: Two interface with same gateway
Replies: 9
Views: 1220

Two interface with same gateway

Hi, I have two DSL connections having same gateway. And i have to IP Networks (10.0.1.0/24 and 10.10.100.0/24). Is it possible that i will make 10.0.1.0/24 use one DSL connection and 10.10.100.0/24 should use the other one. Remember both have same gateway. Mikrotik also acts as PPPoE Client and is d...
by mudasir
Thu Feb 12, 2009 1:01 am
Forum: General
Topic: Help with external squid proxy with Debian
Replies: 24
Views: 5922

Re: Help with external squid proxy with Debian

Hi, Which scenario are you using 1. Internet directly connected to Mikrotik, Mikrotik connected to Proxy with another interface, Mikrotik connected to Local Network 2. Internet directly connected to Proxy, Proxy connected to Mikrotik, Mikrotik connected to Local network. If using Scenario number 1 t...
by mudasir
Thu Feb 12, 2009 12:44 am
Forum: General
Topic: Big Problem Please solve
Replies: 4
Views: 839

Re: Big Problem Please solve

Hi,

He was using dynamic queues, i made him use static queues with burst rate settings to avoid extra usage of bandwidth.
by mudasir
Thu Feb 12, 2009 12:42 am
Forum: General
Topic: Help for redirection setup
Replies: 1
Views: 452

Re: Help for redirection setup

Hi, If their account expires then they will not be able to login, and also no query will be answered by the server if they are not logged in. What you can do is write a script which will give STATIC to those ID's and set the whole network of /24 of that IP tp redirect to a specific page. You can do ...
by mudasir
Thu Feb 12, 2009 12:39 am
Forum: General
Topic: PPPoE Creating Problems
Replies: 11
Views: 1381

Re: PPPoE Creating Problems

Hi,

I am using PPPoE with profiles. Profiles are only used to give different IP's to different package based users.
I have static QUEUE for each IP. For local network using DHCP with static ARP, ARP=reply-only on Local interface.
by mudasir
Thu Feb 12, 2009 12:29 am
Forum: General
Topic: web proxy debug???
Replies: 17
Views: 4960

Re: web proxy debug???

Hi,

Firewall rules are read from top to bottom, same in linux, it does not matter to which chain it belongs.
If the rule at top matches the query it will not go to any other rule to check. So its very important to make your DST-NAT Rule above all.
by mudasir
Tue Feb 10, 2009 11:25 pm
Forum: General
Topic: PPPoE Creating Problems
Replies: 11
Views: 1381

Re: PPPoE Creating Problems

Hi,

The problem usually occurs at peak time, but it some times also occurs at normal time. And i have enabled CPU graphing and i dont see my CPU usage going even near to 90%.

I am using CAT5 to provide internet services to client.

I am not using RADIUS, using simple SECRET feature.
by mudasir
Tue Feb 10, 2009 11:16 pm
Forum: General
Topic: DHCP Server MT for 1000 users ?
Replies: 5
Views: 2434

Re: DHCP Server MT for 1000 users ?

Hi,

roc-noc you are right, you should divide users in segments, may be segments of 200 would be enough, again it depends on your needs
by mudasir
Tue Feb 10, 2009 10:51 pm
Forum: General
Topic: web proxy debug???
Replies: 17
Views: 4960

Re: web proxy debug???

Hi,

Dear i have been using this feature for sometime now, but this is the first time i am facing issues.

I have send support file to support lets see what do they tell me.
by mudasir
Mon Feb 09, 2009 11:05 am
Forum: General
Topic: 5000 PPPoE simultanous connections on MikroTik PPPoE server
Replies: 28
Views: 6961

Re: 5000 PPPoE simultanous connections on MikroTik PPPoE server

Hi,

yes its very true 2.9.5 is more stable then 3.X. I have recently done a setup of about 1000 clients on 2.9.5 and it is running very smooth, and me my self running about 100 clients on 3.20 and believe me its a headache.
by mudasir
Mon Feb 09, 2009 2:48 am
Forum: The User Manager
Topic: Creating a "Free" hotspot
Replies: 11
Views: 8186

Re: Creating a "Free" hotspot

Hi, Its not that hard. I would say dont even use Perl/PHP. This can be done using simple BASH scripts. I have recently provided a complete web-based user managemenet system for PPPoE to a Local client of about 700 users. Not very difficult. Believe me, just generate SSH key and share it wil your MT ...
by mudasir
Sun Feb 08, 2009 1:16 pm
Forum: General
Topic: web proxy debug???
Replies: 17
Views: 4960

Re: web proxy debug???

Hi, Let me add something to it. Since i have upgraded to 3.20 i am unable to use Web-Proxy Feature. There is some sort of bug in it thats for sure. Every thing was working fine till 3.17 then suddenly 3.18 started the problem, then came 3.19 almost the same problem, then 3.20 the problem is at its p...
by mudasir
Sat Feb 07, 2009 3:56 pm
Forum: General
Topic: PPPoE Creating Problems
Replies: 11
Views: 1381

Re: PPPoE Creating Problems

Hi,

I am not using PPPoE on Wifi.
by mudasir
Sat Feb 07, 2009 12:02 am
Forum: General
Topic: 5000 PPPoE simultanous connections on MikroTik PPPoE server
Replies: 28
Views: 6961

Re: 5000 PPPoE simultanous connections on MikroTik PPPoE server

Hi, I have used MT with 3000+ PPPoE Sessions. It was working fine. A Local Cable Internet System with almost 15000 Clients I was using it only for PPPoE Authentication purpose not for any other. My setup was Like This INTERNET < -- > LINUX < -- > MT < -- > CLIENTS It was working. I was managing ever...
by mudasir
Fri Feb 06, 2009 11:40 pm
Forum: General
Topic: PPPoE Creating Problems
Replies: 11
Views: 1381

Re: PPPoE Creating Problems

Hi,

This type of problem occurs at peak time. I can not say for sure why, but this is happening.

I dont have any faulty HDD or RAM. I am not using any L7 Protocol Filter.

Please guys help me out.
by mudasir
Fri Feb 06, 2009 11:25 pm
Forum: General
Topic: ROS 3.20 proxy is dead
Replies: 1
Views: 590

ROS 3.20 proxy is dead

Hi,

Since i upgraded my ROS to version 3.20, whenever i start my proxy, everything gets stuck, no web-browsing no messenger nothing.

Please check is there any sort of bug in proxy in 3.20 because it was working fine uptill veriosn 3.17 and after that i have not been able to use PROXY properly.
by mudasir
Fri Feb 06, 2009 6:13 pm
Forum: General
Topic: How to stop MAC Cloning
Replies: 15
Views: 10522

Re: How to stop MAC Cloning

AOA,

Dear Atif,

why can not you implement to PPPoE or Hotspot, they are the best authentication methods. Where are you running your cable internet system
by mudasir
Fri Feb 06, 2009 6:12 pm
Forum: General
Topic: Memory leak in 3.20??
Replies: 2
Views: 761

Re: Memory leak in 3.20??

Hi,

Dear it is definitely web-proxy. I was facing the same issue, and when i disbale proxy then every thing seems normal.
by mudasir
Fri Feb 06, 2009 6:10 pm
Forum: General
Topic: User Manager Database Error
Replies: 2
Views: 762

Re: User Manager Database Error

Hi,

Dear can you tell me how to reset user-manager. I dont want to reset my System as whole, only user-manager.
by mudasir
Thu Feb 05, 2009 7:11 pm
Forum: General
Topic: User Manager Database Error
Replies: 2
Views: 762

User Manager Database Error

Hi,

I was setting up user-manager and got an error saying
failed to remove customer: unable to open database file
Please tell me how to resolve this.
I am using Level 4 mikrotik 3.20
by mudasir
Thu Feb 05, 2009 10:28 am
Forum: Wireless Networking
Topic: Problem WDS mode
Replies: 4
Views: 920

Re: Problem WDS mode

Hi,

Dear Atif,
If you have enabled masquerading then it should work, there must be something wrong in your settings. What are the ARP settings on your interface is it "reply-only" if yes then you will have to set dhcp to add ARP for leases.
By the way where are you from PK, Khi.
by mudasir
Wed Feb 04, 2009 2:21 am
Forum: Wireless Networking
Topic: How much distance can be achieved
Replies: 2
Views: 795

How much distance can be achieved

Hi, I want to ask a simple question. I have made up a combination of devices which i to buy to setup a WISP. I just want to ask can any tell me how much distance can be achieved with this combination. Base Station Side. 1. R52H 802.11a/b/g miniPCI card. 2. RB/433AH. 3. 15dB Omni Directional Antenna....
by mudasir
Tue Feb 03, 2009 11:03 pm
Forum: General
Topic: PPPoE Creating Problems
Replies: 11
Views: 1381

PPPoE Creating Problems

Hi, I implemented PPPoE on my network, and facing allot of problems. The main issue is that users get disconnected after some time normally 30min. Another issue that, when users dials in he/she is disconnected immidiately. At the same time when i dial from the same PC but with different ID it works,...
by mudasir
Tue Feb 03, 2009 11:49 am
Forum: General
Topic: A Problem...Plz Help
Replies: 1
Views: 387

A Problem...Plz Help

Hi, I am stuck in a small problem. My senario is as follows. Mikrotik with 4NIC's ether1 -- connected to linux machine (linux machine connected to internet). ether2 -- directly connected to internet. (Static Live IP) ether3 -- also directly connected to internet (conntected to modemm, private IP) et...
by mudasir
Tue Jan 27, 2009 7:40 pm
Forum: Wireless Networking
Topic: New Wireless Setup
Replies: 4
Views: 852

Re: New Wireless Setup

Hi,

Thanks for the info, i read about routerboard its very good.

Can anyone please guide me with some technical details.
As i said, dont know for sure what should i put up at client side, thats why i am asking help from experts. Please Guide me.
by mudasir
Tue Jan 27, 2009 9:05 am
Forum: Wireless Networking
Topic: New Wireless Setup
Replies: 4
Views: 852

New Wireless Setup

Hi, I want to start a WISP for about 150 users in an area of about maximum of 5km. Please guide me which equipment should i use to setup base station. One of my friend told me to use an 15db omni antenna with an AMP with a Linksys-G AP. I am totally new to wireless technology, right now running my o...
by mudasir
Sat Dec 06, 2008 12:10 pm
Forum: Beginner Basics
Topic: Error sending e-mail: invalid TO address
Replies: 11
Views: 15037

Re: Error sending e-mail: invalid TO address

Hi, Thanks for the reply. I dont understand that script completely. Dear Normis, when you say try other kind of e-mail address, i have tried gmail.com, hotmail.com, yahoo.com, live.com. Same error on all e-mail address. I only want a simple way to mail my backup file created on alternate days to my ...
by mudasir
Fri Dec 05, 2008 10:11 am
Forum: Beginner Basics
Topic: Error sending e-mail: invalid TO address
Replies: 11
Views: 15037

Re: Error sending e-mail: invalid TO address

Hi,

Dear i am using this SMTP server on other machine, and it does not require any authentication. So there must be something else worng wtih MT.
by mudasir
Wed Dec 03, 2008 8:19 am
Forum: Beginner Basics
Topic: Error sending e-mail: invalid TO address
Replies: 11
Views: 15037

Error sending e-mail: invalid TO address

Hi, I am trying to send my Backup file using "/tool e-mail" options, but it is giving me error. Error is "Error sending e-mail: invalid TO address" I am using following command /tool e-mail send to="cool_mudasir@hotmail.com" subject"Testing Mail" body="This is a Test Mail From Mikrotik ROS" server[:...
by mudasir
Tue Dec 02, 2008 8:50 am
Forum: Beginner Basics
Topic: Bandwidth Restrction to Cache Contents
Replies: 1
Views: 668

Re: Bandwidth Restrction to Cache Contents

Hi, My Firewall and Queue rules are as follows /ip firewall mangle add action=mark-packet chain=output comment="" disabled=no dscp=4 dst-port=80 new-packet-mark=cache-out out-interface=ether1 passthrough=no protocol=tcp add action=mark-packet chain=prerouting comment="" disabled=no in-interface=ethe...
by mudasir
Tue Dec 02, 2008 8:26 am
Forum: Beginner Basics
Topic: Bandwidth Restrction to Cache Contents
Replies: 1
Views: 668

Bandwidth Restrction to Cache Contents

Hi, I was trying to implement bandwidth restriction in such way that all cache contents will not be restricted at all. I was following http://wiki.mikrotik.com/wiki/Queue_with_Masquerading_and_Internal_Web-Proxy But this is not working for me. When i Create QUEUE TREE all contents are being included...
by mudasir
Mon Dec 01, 2008 11:59 pm
Forum: Beginner Basics
Topic: Cache performance very low in 3.16
Replies: 4
Views: 1064

Re: Cache performance very low in 3.16

Hi,

Sorry its my mistake, before posting i changed the value from "Unlimited to 15000", i thought it might clear things up here. But still on "Unlimited" also i am getting almost the same type of response
by mudasir
Mon Dec 01, 2008 10:43 pm
Forum: Beginner Basics
Topic: Cache performance very low in 3.16
Replies: 4
Views: 1064

Cache performance very low in 3.16

Hi, I was using 3.14 then upgraded to 3.15, the cache performance was very good in both version, but as i upgraded to 3.16 cache seems almost not working at all. Due to which my bandwidth consumption has gone high. Graphs clearly shows that cache is not being buildup at all since i have implemented ...
by mudasir
Tue Nov 25, 2008 10:01 am
Forum: Beginner Basics
Topic: PPPoE multi session
Replies: 5
Views: 1996

Re: PPPoE multi session

AOA,

Dear Zaib bhai,

I think i will be able t modify the script in order for it to work with our environment. However it might take about 1 or 2 week, as i am a bit busy in my own work.

Will mail you as soon as i am done.
by mudasir
Mon Nov 24, 2008 4:43 am
Forum: Beginner Basics
Topic: PPPoE multi session
Replies: 5
Views: 1996

PPPoE multi session

Hi, I have setup PPPoE Server. Now i am facing some difficulties. Single User ID is able to sign in at multiple places at same time, which is obviously i dont want. I also checked "One Session Per Host" but still same thing. How can i restrict each ID on signle session. looking forward for a positiv...
by mudasir
Sun Nov 23, 2008 4:07 am
Forum: Beginner Basics
Topic: Question About PPPoE and User Manager
Replies: 0
Views: 541

Question About PPPoE and User Manager

Hi, I would like to ask one question. I am thinking to implement PPPoE with User Manager, how ever on my main server i have a L4 License, and in L4 only 10 sessions are allowed with User Manager. What if i setup another machine with L6 license on which i will create all the users and my main GATEWAY...
by mudasir
Sat Oct 11, 2008 5:25 pm
Forum: Beginner Basics
Topic: How to migerate License
Replies: 1
Views: 862

How to migerate License

Hi,

I would like to know is there any way that i can shift my license from one PC to another, or from one installation to other.

As my current HDD is making allot of voises and i am afraid that it might die soon. Please let me know any possible way.

Looking forward for a positive reply.
by mudasir
Sun Sep 07, 2008 3:23 pm
Forum: Beginner Basics
Topic: MAC Filtering/Restriction
Replies: 8
Views: 2065

Re: MAC Filtering/Restriction

Hi, First Set Your Local Interface ARP Parameter to "reply-only" /interface ethernet set ether1 arp=reply-only Replace Ether1 with your interface connected to local network Now create static ARP entries in IP > ARP /ip arp add address=172.16.254.244 mac-address=00:01:02:03:04:05 comment="demo" Repla...
by mudasir
Sat Sep 06, 2008 6:19 pm
Forum: Scripting
Topic: Getting list of active users
Replies: 2
Views: 954

Re: Getting list of active users

Hi,

Dear SurferTim,

Thanks allot for your kind help. I am making a script that will change the active users rate-limit if the total number of users online are less then a particular number...
by mudasir
Sat Sep 06, 2008 1:18 pm
Forum: Scripting
Topic: Getting list of active users
Replies: 2
Views: 954

Getting list of active users

Hi, I would like to know, how can i get a list of active user in user-manager. by active user i mean who are currently logged in. i am using PPTP with user-manager. i can get the total number of users from the following code :put ([:len [/tool user-manager user find subscriber=mudasir]]) but i only ...
by mudasir
Sat Sep 06, 2008 1:04 am
Forum: Scripting
Topic: script testing tool
Replies: 3
Views: 1128

Re: script testing tool

HI,

I have accomplished my task and made a small script.
:foreach i in=[/tool user-manager user find subscriber=mudasir] \
\... do={:if ([/tool user-manager user get $i credit-left] != "4w3d00:00:00") do={/tool user-manager user disable $i }}
by mudasir
Sat Sep 06, 2008 12:52 am
Forum: Scripting
Topic: script testing tool
Replies: 3
Views: 1128

Re: script testing tool

Hi, Basically i am writing a script (my first one). I have accomplished half of the task :foreach i in=[/tool user-manager user find subscriber=mikrotik] \ do={:put ([/tool user-manager user get $i credit-left])} These lines print the credit-left parameters of all the users of subscriber named MIKRO...
by mudasir
Fri Sep 05, 2008 10:20 pm
Forum: Scripting
Topic: script testing tool
Replies: 3
Views: 1128

script testing tool

Hi,

I want to know, is there any tool on which we can check whether the script that we have made is correct or not.
by mudasir
Fri Sep 05, 2008 7:19 pm
Forum: Beginner Basics
Topic: MAC Filtering/Restriction
Replies: 8
Views: 2065

Re: MAC Filtering/Restriction

Hi, I can only guide you on ethernet not on wireless... while using ethernet what i am doing right now is giving static LEASE through DHCP to all users, and have statically entered their MAC Addresses in IP > ARP. And have set my ethernet card's ARP property to reply-only. This way only those users ...
by mudasir
Thu Sep 04, 2008 4:04 pm
Forum: Beginner Basics
Topic: PPTP Issue
Replies: 3
Views: 1168

Re: PPTP Issue

Hi, I have figured out a way to resolve this issue. I have set the ARP on interface to REPLY-ONLY, which is solving this issue of mine. I still have one last issue that i want to solve. My User Manager is working fine, i have setup Credits also which are working fine, but they only reduce the credit...
by mudasir
Thu Sep 04, 2008 12:23 pm
Forum: Beginner Basics
Topic: PPTP Issue
Replies: 3
Views: 1168

Re: PPTP Issue

Hi, Dear Mr. Ashish, Can you please tell me in a bit detail what do you mean by that. Still then i have to masquerade an IP Pool, and if any user enters any IP from the IP Pool which is masqueraded he/she will still be able to use the INTERNET. :( This is a security issue i am facing right now in mi...
by mudasir
Wed Sep 03, 2008 11:19 pm
Forum: Beginner Basics
Topic: PPTP Issue
Replies: 3
Views: 1168

PPTP Issue

Hi, I have setup PPTP with User Manager, but i am facing one issue. My PPTP server assings IP's through a Pool. If a user enters any IP Address from that Pool Manually, he/she is able to use the Internet with out the authentication from PPTP. I want to know how will i be able to resolve this issue t...
by mudasir
Wed Sep 03, 2008 11:43 am
Forum: Beginner Basics
Topic: PPTP and User Manager
Replies: 5
Views: 1190

Re: PPTP and User Manager

Hi, When i was using 3.11 User Manager was not working, i upgraded to 3.13 and its working great. I have used the Credit option and its working, but this reduces time only when the person logs in. What i want to do is that from the first login exactly after 32 days the account should be removed whet...
by mudasir
Wed Sep 03, 2008 12:51 am
Forum: Beginner Basics
Topic: PPTP and User Manager
Replies: 5
Views: 1190

Re: PPTP and User Manager

Hi, Thanks for the help. I have successfully setup User Manager with PPTP, working 100% fine. I have created a user "test" with pass "test". I want to know is there any such option in User Manager that this user will be disabled and deleted after a month or a time period specified. I hope you guys u...
by mudasir
Tue Sep 02, 2008 1:28 am
Forum: Beginner Basics
Topic: PPTP and User Manager
Replies: 5
Views: 1190

PPTP and User Manager

Hi, I am using ROS 3.11, i have setup PPTP Server and its working fine when i create a Secret in winbox. However i am unable to make it authenticate using User Manager. Can any one please guide me how will i be able to accomplish this task. I need some urgent help. Looking forward for a positive rep...
by mudasir
Sat Aug 16, 2008 12:47 am
Forum: Beginner Basics
Topic: Layer 7 Protocol
Replies: 2
Views: 1203

Layer 7 Protocol

Hi, I am using ROSv3.11 with L4. I want to know, is it possible to define multiple Regex in single Layer 7 Protocol. Like i have created one Layer 7 Protocl Rule in which i have included .mp3 . As far as i use single Regex, it works fine, however as i use more than one Regex in one L7 rule, the rule...
by mudasir
Tue Aug 12, 2008 1:23 pm
Forum: General
Topic: Feature Request, SMTP Server
Replies: 4
Views: 1812

Re: Feature Request, SMTP Server

Hi,

Dear nz_monkey,

Right now i am using RHEL5 with QMAIL as my main Mail Server. It was just a suggestion.
by mudasir
Tue Aug 12, 2008 6:51 am
Forum: Beginner Basics
Topic: Mail Server
Replies: 5
Views: 1119

Re: Mail Server

Dont worry...i think someone will help us out.
by mudasir
Tue Aug 12, 2008 6:37 am
Forum: Beginner Basics
Topic: Mail Server
Replies: 5
Views: 1119

Re: Mail Server

Hi,

Dear QpoX,

I really appreciate your reply, however i dont know anything about scripting in Mikrotik :(
by mudasir
Tue Aug 12, 2008 5:15 am
Forum: Wireless Networking
Topic: Wireless Setup about 3KM
Replies: 1
Views: 893

Wireless Setup about 3KM

Hi, I have a running local ISP of about 150 clients, using Mk 3.11 as my Server. I am thinking to switch to wireless. The maximum area that is being covered is about 3KM radius. I have no prioir knowledge of wireless, also would like if any one can suggest some basic docs that i can go through to ge...
by mudasir
Tue Aug 12, 2008 5:05 am
Forum: General
Topic: Feature Request, SMTP Server
Replies: 4
Views: 1812

Feature Request, SMTP Server

Hi,

I would like to see Mikrotik work as a SMTP Server, that can be a great feature to addup, as it can help out many people. For guys who use multiple ISP's as there uplinks they can setup a SMTP Server on there MK machine, and use this on the client side.
by mudasir
Tue Aug 12, 2008 4:55 am
Forum: General
Topic: Feature request, antivirus
Replies: 5
Views: 2656

Re: Feature request, antivirus

Dear, I was also facing the same problem. It is basically a virus, but i have not been able to find any thing about this sort of virus on google, and i also tried allot of Anti-Virus Softwares but no progress. I also tried AntiARP, but i can not purchase it for all the clients on my network as my ne...
by mudasir
Tue Aug 12, 2008 4:42 am
Forum: Beginner Basics
Topic: Mail Server
Replies: 5
Views: 1119

Mail Server

Hi, I would like to know one thing. I am using two ADSL Lines, each from different ISP. And both have a different SMTP Server. Is there any way that Mikrotik can automatically forward traffic to the specified SMTP Server of the current ADSL Connection that is being used, and if the working connectio...
by mudasir
Mon Jul 28, 2008 6:06 pm
Forum: Beginner Basics
Topic: Mikrotik 3.11 not installing
Replies: 6
Views: 1491

Re: Mikrotik 3.11 not installing

Hi,

I would like to tell you guyz something, I just burned the iso image to a CD-R and it worked very well... :o

I still dont know the exact logic..
by mudasir
Mon Jul 28, 2008 1:43 am
Forum: Beginner Basics
Topic: Mikrotik 3.11 not installing
Replies: 6
Views: 1491

Re: Mikrotik 3.11 not installing

Hi,

Dear Jwcn,

I really appreciate your suggestion, however can you please kindly tell me why i should write it to CD-R to be specific, why not CD-RW.

I have selected CD-ROM to be my First Boot Device.
by mudasir
Mon Jul 28, 2008 12:13 am
Forum: Beginner Basics
Topic: Mikrotik 3.11 not installing
Replies: 6
Views: 1491

Mikrotik 3.11 not installing

Hi, I have downloaded https://www.mikrotik.com/download/mikrotik-3.11.iso and burned it on the CD-RW. But as i put it in my CD-ROM to boot it up, it just skips it and goes to my old installed Mikrotik. Can any one please guide me what can be wrong here. As i have to make a new install not an upgrade...
by mudasir
Mon Jul 21, 2008 11:48 pm
Forum: Wireless Networking
Topic: How to setup WISP from scratch..need help...
Replies: 2
Views: 1121

Re: How to setup WISP from scratch..need help...

Hi!!..

Thanks allot.. i will look into it and will let you know...
by mudasir
Sun Jul 13, 2008 12:49 am
Forum: Wireless Networking
Topic: How to setup WISP from scratch..need help...
Replies: 2
Views: 1121

How to setup WISP from scratch..need help...

Hi, I am right now running a local ISP, totally wired and about 100 to 120 clients. I want to shift my network to wireless. The total distance that is covered is about 2km in radius. I would like some guide line regarding equipment and configuration. I dont know anything about wireless at all. Pleas...
by mudasir
Fri Jul 04, 2008 12:03 am
Forum: Beginner Basics
Topic: User Manager not working with PPTP Server
Replies: 1
Views: 1318

User Manager not working with PPTP Server

Hi, I have setup PPTP Server on Mikrotik 3.9, and want to authenticate users with radius from User Manager. I tired allot, however its not working, when i try to login with an accont created in Secrets Section, it works fine. However when i try to connect with an account created on User Manager, it ...
by mudasir
Wed Jun 25, 2008 8:58 pm
Forum: Beginner Basics
Topic: How to configure Mikrotik with ADSL on Intel-PC !
Replies: 7
Views: 7529

Re: How to configure Mikrotik with ADSL on Intel-PC !

Hi,

Mr. Ashish is right, first use ADSL MODEM between INTERNET AND MIKROTIK, then you can follow following example to setup simple internet sharing

http://wiki.mikrotik.com/wiki/Internet_Sharing
by mudasir
Wed Jun 25, 2008 8:48 pm
Forum: Beginner Basics
Topic: hotspot
Replies: 1
Views: 934

Re: hotspot

Hi,

A complete howto on HOTSPOT Server Setup on Mikrotik can be found at.

http://wiki.mikrotik.com/wiki/Hotspot_server_setup
by mudasir
Wed Jun 25, 2008 8:46 pm
Forum: Beginner Basics
Topic: Routing mark problem, driving me bonkers.
Replies: 4
Views: 2664

Re: Routing mark problem, driving me bonkers.

Hi,

It can be that the order of the FIREWALL MANGLE rules if wrong, make sure that the TCP MARK rule is at the TOP.
by mudasir
Wed Jun 25, 2008 8:43 pm
Forum: Beginner Basics
Topic: I need to setup PPPOE
Replies: 1
Views: 1073

Re: I need to setup PPPOE

Hi,

A complete howto of PPPoE Server Setup with Profiles can be found here

http://wiki.mikrotik.com/wiki/Pppoe_ser ... h_profiles
by mudasir
Wed Jun 25, 2008 9:28 am
Forum: Beginner Basics
Topic: User manager with PPTP server
Replies: 5
Views: 2040

Re: User manager with PPTP server

Hi.. I tried with ip=127.0.0.1 , still same error. The error that i am getting is as follows. Access was denied because the username and/or password was invalid on the domain. (Error 691) For customized troubleshooting information for this connection, click Help. This is the error that i am getting ...
by mudasir
Wed Jun 25, 2008 2:08 am
Forum: Beginner Basics
Topic: User manager with PPTP server
Replies: 5
Views: 2040

Re: User manager with PPTP server

Hi, My config of PPTP Server and User Manager is as follows. PPTP Server /ppp aaa print use-radius: yes accounting: no interim-update: 0s /ppp profile print 0 * name="default" remote-address=10.10.10.1 use-compression=default use-vj-compression=default use-encryption=default only-one=default change-...
by mudasir
Wed Jun 25, 2008 1:41 am
Forum: Beginner Basics
Topic: User manager with PPTP server
Replies: 5
Views: 2040

Re: User manager with PPTP server

Hi..

Found an example on WIKI
http://wiki.mikrotik.com/wiki/User_Manager/PPP_Example

however it is not working. I only have single machine, which i want to setup as user manager and also as my PPTP server. SO what are the steps that i should follow now.
by mudasir
Wed Jun 25, 2008 1:28 am
Forum: Beginner Basics
Topic: User manager with PPTP server
Replies: 5
Views: 2040

User manager with PPTP server

Hi, I have my PPTP server setup and working fine. Now i want to setup User Manager to work with my PPTP Server. I want to know is it possible and how can i get it done. One more thing, i have setup User Manager, when i login or perform any sort of activity in User Manager Web Interface i recieve an ...
by mudasir
Wed Jun 18, 2008 4:01 pm
Forum: Beginner Basics
Topic: Routing issue
Replies: 1
Views: 899

Routing issue

HI. I have been facing an issue while setting up ROUTES. I am using a firewall rule to mark-route all tcp port 80 packets, the rule is working fine. Now the problem starts as soon as i create a ROUTE for all marked packets. /ip firewall mangle chain=prerouting protocol=tcp src-port=80 action=mark-ro...
by mudasir
Wed Jun 18, 2008 6:01 am
Forum: Beginner Basics
Topic: Microtik Configuration
Replies: 4
Views: 1708

Re: Microtik Configuration

HI... so can i configure all other stuff with winbox to make it easy or i need now all to do manually with commands I the link that i gave you i have done every thing through WINBOX so if you feel that you can do it easily from command line then its up to you....however it is more easy to o it from ...
by mudasir
Tue Jun 17, 2008 5:29 pm
Forum: Beginner Basics
Topic: PPTP issue
Replies: 2
Views: 1127

PPTP issue

Hi... I have setup PPTP server on Mikrotik OS, wokring fine with all the features that i have configured. I only face one issue regarding it. I get connected to the SERVER and if there is no activity on the computer for like 10 minutes then the connected automatically asks wheather i want to stay on...
by mudasir
Tue Jun 17, 2008 9:10 am
Forum: Beginner Basics
Topic: Microtik Configuration
Replies: 4
Views: 1708

Re: Microtik Configuration

Dear Crown,

Please also look into the following page

http://wiki.mikrotik.com/wiki/Pppoe_ser ... h_profiles
by mudasir
Thu Jun 12, 2008 5:16 pm
Forum: Beginner Basics
Topic: Bonding between two ADLS Lines.
Replies: 10
Views: 2419

Re: Bonding between two ADLS Lines.

Hi...

It is still not the thing that i am looking for. As i said i have ADSL Modems on both ends. So i can not configure them to use EoIP. Is there any other solution.
by mudasir
Thu Jun 12, 2008 12:43 pm
Forum: Beginner Basics
Topic: Bonding between two ADLS Lines.
Replies: 10
Views: 2419

Re: Bonding between two ADLS Lines.

HI..

Can you please direct me to the exact link, it will become much easier for me.
by mudasir
Thu Jun 12, 2008 9:03 am
Forum: Beginner Basics
Topic: Bonding between two ADLS Lines.
Replies: 10
Views: 2419

Re: Bonding between two ADLS Lines.

Hi..

Dear JWCN,

Thanks for the information.
by mudasir
Thu Jun 12, 2008 2:24 am
Forum: Beginner Basics
Topic: Bonding between two ADLS Lines.
Replies: 10
Views: 2419

Bonding between two ADLS Lines.

Hi.. I am trying to setup bonding with EoIP tunnels between two ADSL Lines. First ADSL Line (2mb) connected to ether1 ether1 address=192.168.1.50/24 ADLS Modem ip=192.168.1.1/24 Second ADSL Line (2mb) connected to ether3 ether1 address=192.168.2.50/24 ADLS Modem ip=192.168.2.1/24 ether2 connected to...
by mudasir
Wed Jun 11, 2008 10:48 am
Forum: Beginner Basics
Topic: how can i create my own ads in firewall rule
Replies: 7
Views: 1805

Re: how can i create my own ads in firewall rule

HI..

The best and most simple thing that i can tell you to do is that...turn on proxy and create an ACCESS LIST and add all the ADDRESSES that you want to block..and show your PAGE when ever they are opned...SIMPLE...
by mudasir
Wed Jun 11, 2008 10:39 am
Forum: General
Topic: virtualization
Replies: 60
Views: 23424

Re: virtualization

HI..

Awesome feature...As it is not that old...and has recently been integrated on LINUX platform...I think it is one of the most greatest achievements of MT...

GO MT GO!!!! :lol:
by mudasir
Wed Jun 11, 2008 6:00 am
Forum: Beginner Basics
Topic: how can i create my own ads in firewall rule
Replies: 7
Views: 1805

Re: how can i create my own ads in firewall rule

Hi...

I think what he meant is that...how to block web advertisements through FIREWALL RULES. And place custom ADS on it.
by mudasir
Sat May 31, 2008 4:58 pm
Forum: General
Topic: How to link an article in wiki
Replies: 2
Views: 735

Re: How to link an article in wiki

HI...

Thanks allot for your comments...i will definitly upgrade to MT 3.9 ASAP. And from next time i will not write my name in an article.

Right now can you please tell me how to create a catagory in WIKI, and link my article in that catagory.
by mudasir
Sat May 31, 2008 6:10 am
Forum: General
Topic: How to link an article in wiki
Replies: 2
Views: 735

How to link an article in wiki

Hi.. I have created another article "PPPoE Server Setup with Profiles". Please tell me the method to link this to WIKI. Like in the main page we see a section for VPN, so how can i create a new section fot pppoe and inside which this article can come up. My article is at http://wiki.mikrotik.com/wik...
by mudasir
Sun May 25, 2008 2:21 pm
Forum: Beginner Basics
Topic: Different UPLINK and Different DOWNLINK
Replies: 9
Views: 2597

Re: Different UPLINK and Different DOWNLINK

Hi..

My question is still there. How can i use my ADSL Line for UPLINK and my SATELLITE line for DOWNLINK. Is it possible or not. If yes then can any one assist me is achieving such case.
by mudasir
Sun May 25, 2008 2:18 pm
Forum: Beginner Basics
Topic: What happens if Ip addresses of dhcp server ends.
Replies: 5
Views: 1590

Re: What happens if Ip addresses of dhcp server ends.

Hi...


HMmmm....i think it will not give out any more IP Addresses, then the clients will face the issue of "Limited or no connectivity". However i have not tried any thing like this. Its just my assumption.
by mudasir
Sun May 25, 2008 2:17 pm
Forum: Beginner Basics
Topic: Mikrotik with Hotspot help me plzzzzzzz !!!!!!!!!!!!!!!!!
Replies: 7
Views: 1824

Re: Mikrotik with Hotspot help me plzzzzzzz !!!!!!!!!!!!!!!!!

Hi...

Its not that difficult....quite easy...

In IP > Hotspot....setup a hotspot server....
by mudasir
Sat May 24, 2008 1:43 am
Forum: Beginner Basics
Topic: Different UPLINK and Different DOWNLINK
Replies: 9
Views: 2597

Different UPLINK and Different DOWNLINK

Hi...

I am settng up a server to use two different links for up and down. Can nay one guide me how will i be able to accomplish this task. I have a DSL line which i want to use as my UPLINK and a SATELITE which i want to use as my DOWNLINK.

Any help will be really appreciated.
by mudasir
Thu May 22, 2008 3:39 pm
Forum: Beginner Basics
Topic: ( help me ) mikrotik with external proxy
Replies: 5
Views: 6206

Re: ( help me ) mikrotik with external proxy

Hi...

Please post the LOGS of squid cache server, so that it will become a bit clear what issues are you having.
by mudasir
Wed May 21, 2008 1:23 am
Forum: Beginner Basics
Topic: my DNS settings
Replies: 4
Views: 2121

Re: my DNS settings

Hi..

In your DHCP server settings, only give your MT Router's IP address as your DNS server. You are giving other IP's also as secondary DNS server.
by mudasir
Tue May 20, 2008 8:33 pm
Forum: Beginner Basics
Topic: How to do two wan ports
Replies: 2
Views: 3205

Re: How to do two wan ports

HI.. Regarding load balancing....its easy follow this example on wiki http://wiki.mikrotik.com/wiki/Load_Balancing_over_Multiple_Gateways And regarding setting up multiple WAN interfaces....its not that difficult... Just enter IP and set it to particulat interface as follows /ip address add address=...
by mudasir
Tue May 20, 2008 12:35 am
Forum: Beginner Basics
Topic: Mikrotik Configuration
Replies: 32
Views: 9305

Re: Mikrotik Configuration

Hi...

its quiet simple...

/users edit admin group (press enter)

change the value to full (ctrl+o)

But there is one condition, you must be login as Admin (remember its case sensitive)
by mudasir
Mon May 19, 2008 1:49 pm
Forum: Beginner Basics
Topic: ( help me ) mikrotik with external proxy
Replies: 5
Views: 6206

Re: ( help me ) mikrotik with external proxy

Hi... In squid.conf look for some ims seetings that has to be done in order to use squid as peer....also look for cache_peer becasue you are trying to set it up as a peer..... Go through this page http://www.visolve.com/squid/squid24s1/neighbour.php you will know what settings has to be done on squi...
by mudasir
Mon May 19, 2008 1:43 pm
Forum: Beginner Basics
Topic: Mikrotik Configuration
Replies: 32
Views: 9305

Re: Mikrotik Configuration

Hi...

The plus sign is disabled becasue you dont have enough permissions to create any rules or make any changes....
So make sure that you have enough permissions to make and edit rules.....

And regarding system reset....you have to login as user=admin to make any system level changes...
by mudasir
Fri May 16, 2008 10:29 am
Forum: Beginner Basics
Topic: Mikrotik Configuration
Replies: 32
Views: 9305

Re: Mikrotik Configuration

Hi..

Thanks...

Its been almost a week, ia have send the mail at support@mikrotik.com , but no response.
by mudasir
Wed May 14, 2008 11:59 pm
Forum: Beginner Basics
Topic: What is the "best" way for bandwidth control?
Replies: 20
Views: 3969

Re: What is the "best" way for bandwidth control?

Hi.

Dear heinb,

blank dst address means 0.0.0.0/0. It will work fine do not worry.
by mudasir
Wed May 14, 2008 1:59 pm
Forum: Beginner Basics
Topic: Bandwidth Management
Replies: 2
Views: 1106

Re: Bandwidth Management

Hi..

Please follow this post, Bandwidth Management has been discussd in this Topic.

http://forum.mikrotik.com/viewtopic.php?f=13&t=23889
by mudasir
Wed May 14, 2008 1:56 pm
Forum: Beginner Basics
Topic: Very basic question about mikrotiks firewall
Replies: 2
Views: 1189

Re: Very basic question about mikrotiks firewall

Hi.. You can deny all incomming traffic from INTERNET in many ways, one simple and easy way is. By using Winvox goto IP > Firewall. in Filter Rules, create a new rule by pressing plus sign. Now select chain=INPUT and then select the In. Interface=(interfce connected to INTERNET), then goto ACTION ta...
by mudasir
Wed May 14, 2008 1:49 pm
Forum: Beginner Basics
Topic: What is the "best" way for bandwidth control?
Replies: 20
Views: 3969

Re: What is the "best" way for bandwidth control?

Hi... Here is the example of a simple queue that i am using. add name="172.16.50.10" target-addresses=172.16.50.10/32 dst-address=0.0.0.0/0 interface=all parent=none direction=both priority=8 queue=default-small/default-small limit-at=160000/160000 max-limit=160000/160000 total-queue=default-small d...
by mudasir
Tue May 13, 2008 6:55 pm
Forum: Beginner Basics
Topic: What is the "best" way for bandwidth control?
Replies: 20
Views: 3969

Re: What is the "best" way for bandwidth control?

Hi.. 1) How many users can simple queues handle (as far as the example above is concerned)? As far as the example above is concerned, i have tested it on my network with approximately 60 users. It was working fine. 2) In the example, it states that you can EITHER use PCQ queues or SIMPLE queues. Whi...
by mudasir
Tue May 13, 2008 1:14 pm
Forum: Beginner Basics
Topic: Mikrotik Configuration
Replies: 32
Views: 9305

Re: Mikrotik Configuration

Hi..

Glad to help you out.
by mudasir
Tue May 13, 2008 1:13 pm
Forum: Beginner Basics
Topic: What is the "best" way for bandwidth control?
Replies: 20
Views: 3969

Re: What is the "best" way for bandwidth control?

Glad to help out.
by mudasir
Tue May 13, 2008 1:11 pm
Forum: Beginner Basics
Topic: MAC Redirection
Replies: 3
Views: 1235

Re: MAC Redirection

Hi.. You can aslo do this in another way. If you are using DCHP, then set it up in such a way that it should give different class of IP Address to those who have not paid the bill, and redirect that IP Class to the age you want them to see. I have done this sort of SETUP on Linux, it was quite easy....
by mudasir
Mon May 12, 2008 6:45 am
Forum: Beginner Basics
Topic: What is the "best" way for bandwidth control?
Replies: 20
Views: 3969

Re: What is the "best" way for bandwidth control?

Hi..

You can create a New Queue Type as PCQ and then create one Simple Queue, define the IP Pool and set the Queue Type the same as you created in Queue Type.

http://wiki.mikrotik.com/wiki/PCQ_Examples
by mudasir
Sat May 10, 2008 11:30 am
Forum: Beginner Basics
Topic: Gateway Failover with Ping
Replies: 6
Views: 2002

Re: Gateway Failover with Ping

Hi...

Still looking for some guidence...
Any help will be really appreciated..