Community discussions

MikroTik App

Search found 36 matches

by 1littlewisp
Wed Jul 18, 2012 6:14 pm
Forum: Beginner Basics
Topic: vlan isolation not working
Replies: 12
Views: 4650

Re: vlan isolation not working

I had considered ways that I could prevent this behavior with firewalling but my gut told me that it shouldn't even be happening. I thought that the 802.1Q tag would stop the inter-vlan communication no matter what since it works on layer2. As long as there isn't a better way to design it, I'll pro...
by 1littlewisp
Wed Jul 18, 2012 2:00 pm
Forum: Beginner Basics
Topic: vlan isolation not working
Replies: 12
Views: 4650

Re: vlan isolation not working

What are your forwarding rules in /IP Firewall? Just masquerading the ranges at the Gateway. Always remember - Router OS will route all attached IP subnets by default! Since each VLAN presents a virtual interface to RouterOS it will route them unless you block that in the forwarding rules. If you c...
by 1littlewisp
Wed Jul 18, 2012 1:54 pm
Forum: Beginner Basics
Topic: vlan isolation not working
Replies: 12
Views: 4650

Re: vlan isolation not working

Hello! I think vlan's settings cause the problem: [user@MikroTik] > /interface vlan print Flags: X - disabled, R - running, S - slave # NAME MTU ARP VLAN-ID INTERFACE 0 R vlan100 1500 enabled 100 lan_bridge 1 R vlan200 1500 enabled 200 lan_bridge 2 R vlan300 1500 enabled 300 lan_bridge You should c...
by 1littlewisp
Wed Jul 18, 2012 5:24 am
Forum: Beginner Basics
Topic: vlan isolation not working
Replies: 12
Views: 4650

Re: vlan isolation not working

What are your forwarding rules in /IP Firewall?
Just masquerading the ranges at the Gateway.
by 1littlewisp
Wed Jul 18, 2012 12:48 am
Forum: Beginner Basics
Topic: vlan isolation not working
Replies: 12
Views: 4650

vlan isolation not working

Hello all! I've set up some vlans which appear to all be functioning properly except for one thing: traffic is allowed to pass between them unhindered. Here's the config: Gateway [user@MikroTik] > interface vlan print Flags: X - disabled, R - running, S - slave # NAME MTU ARP VLAN-ID INTERFACE 0 R v...
by 1littlewisp
Sun May 20, 2012 5:12 am
Forum: Scripting
Topic: `cat` equivalent for scripting / for loop / exclude comments
Replies: 1
Views: 2049

`cat` equivalent for scripting / for loop / exclude comments

Hello, all! Found this awesome list of up-to-date bogon IPs. http://www.team-cymru.org/Services/Bogons/fullbogons-ipv4.txt I'm grabbing the current version nightly. The idea is to iterate through the entries in this list and add them to an address list to be blocked on the WAN interface. There are t...
by 1littlewisp
Thu May 17, 2012 4:49 pm
Forum: The Dude
Topic: Dude Agent Won't Accept Connections
Replies: 4
Views: 2285

Re: Dude Agent Won't Accept Connections

Thanks much! I'll read the rest of the Dude manual before proceeding.
by 1littlewisp
Thu May 17, 2012 12:47 am
Forum: The Dude
Topic: Dude Agent Won't Accept Connections
Replies: 4
Views: 2285

Re: Dude Agent Won't Accept Connections

Is this a new install or an existing install? Try username 'admin' with no password?
My god, man! You did it! How do I change the password on the agent? That was the problem. I can't leave it set at "admin" and "".
by 1littlewisp
Wed May 16, 2012 10:27 pm
Forum: The Dude
Topic: Dude Agent Won't Accept Connections
Replies: 4
Views: 2285

Dude Agent Won't Accept Connections

So I've got the Dude module installed at a deployment and seem to be having some difficulty with it. The package is running and can be observed in Tools>Profile. I can telnet to ports 2210 and 2211. There is no banner to confirm that it's The Dude accepting the connection, but I can tell that it is ...
by 1littlewisp
Wed Mar 14, 2012 10:18 pm
Forum: General
Topic: Masquerade, dst-nat and policy based routing
Replies: 1
Views: 1651

Masquerade, dst-nat and policy based routing

So i've got a customer who's got some servers hosted behind a NAT and ports forwarded to it. He's also got two WAN links. We'll call them WAN1 and WAN2. I need to do some policy-based routing over WAN1 which just so happens to be the WAN link that the dst-nat rules are on. Here's what I set up: 1) R...
by 1littlewisp
Thu Feb 16, 2012 12:18 am
Forum: General
Topic: traffic identification for queue misbehaving
Replies: 1
Views: 643

Re: traffic identification for queue misbehaving

i can haz reply?
by 1littlewisp
Fri Feb 10, 2012 7:03 pm
Forum: General
Topic: traffic identification for queue misbehaving
Replies: 1
Views: 643

traffic identification for queue misbehaving

So I've got this router... It sits at (let's say) 192.168.100.230. We have assigned a block to them of 192.168.100.80/29. I'm trying to build a single queue which encompasses all traffic flowing from that customer's location. The solution I had devised to accomplish this was to mark packets with man...
by 1littlewisp
Sun Dec 04, 2011 7:40 pm
Forum: Beginner Basics
Topic: L7 RegExp for .mp4 and .flv file types
Replies: 12
Views: 16328

Re: L7 RegExp for .mp4 and .flv file types

Okay, I corrected a couple of things here. First of all, I wasn't specifying the address list I wanted it to pull from. Second, I did have it in the output chain. I'm running a proxy on this device. My logic was that since it was a proxy redirect, it would be seen as coming from the router, but you...
by 1littlewisp
Sat Dec 03, 2011 6:23 pm
Forum: Beginner Basics
Topic: L7 RegExp for .mp4 and .flv file types
Replies: 12
Views: 16328

Re: L7 RegExp for .mp4 and .flv file types

BTW, if you know of a more effective way to accomplish what I'm attempting here, I would not be opposed to a complete redesign. All I want is to slow *just* video traffic from youtube.
by 1littlewisp
Sat Dec 03, 2011 6:04 pm
Forum: Beginner Basics
Topic: L7 RegExp for .mp4 and .flv file types
Replies: 12
Views: 16328

Re: L7 RegExp for .mp4 and .flv file types

/ip firewall mangle add action=jump chain=prerouting content=youtube.com disabled=no jump-target=\ youtube add action=add-dst-to-address-list address-list=Youtube address-list-timeout=\ 5m chain=youtube comment=\ "All packets processed in this chain should be added to Youtube list." \ dis...
by 1littlewisp
Sat Dec 03, 2011 2:25 am
Forum: General
Topic: QoS: prioritizing certain content while slowing other
Replies: 0
Views: 1105

QoS: prioritizing certain content while slowing other

I've been dicking with this all day. I had it working once but I'm doing something wrong now. One of the objectives is to accomplish this . That part is working. Traffic being redirected by the proxy is queued as specified. Direct connections do not get queued. The next objective is to prioritize sk...
by 1littlewisp
Fri Dec 02, 2011 11:04 pm
Forum: Beginner Basics
Topic: L7 RegExp for .mp4 and .flv file types
Replies: 12
Views: 16328

Re: L7 RegExp for .mp4 and .flv file types

Okay, so I think I've got the L7 filters put together right but the counter for the "packet-mark" rules is not getting ticked when I hit youtube and start a video. Here's how I'm identifying the traffic: /ip firewall mangle add action=jump chain=prerouting content=youtube.com disabled=no j...
by 1littlewisp
Wed Nov 02, 2011 3:50 pm
Forum: Beginner Basics
Topic: L7 RegExp for .mp4 and .flv file types
Replies: 12
Views: 16328

Re: L7 RegExp for .mp4 and .flv file types

/ip firewall layer7-protocol add name="Extension \" .mp4 \"" regexp="\\.(mp4)" add name="Extension \" .flv \"" regexp="\\.(flv)" Thanks, Muqatil. I'll give those a try and post the results. It looks like this format would work for pretty m...
by 1littlewisp
Tue Nov 01, 2011 9:33 pm
Forum: Beginner Basics
Topic: L7 RegExp for .mp4 and .flv file types
Replies: 12
Views: 16328

Re: L7 RegExp for .mp4 and .flv file types

I checked http://l7-filter.sourceforge.net/protocols
but it doesn't have any regexp for mp4 and flv. But it have some useful regexp and you may need them in future.
Yeah, I've already searched the forum and found that most L7 threads inevitably link to that site. Looked there first.
by 1littlewisp
Tue Nov 01, 2011 8:36 pm
Forum: Beginner Basics
Topic: L7 RegExp for .mp4 and .flv file types
Replies: 12
Views: 16328

L7 RegExp for .mp4 and .flv file types

Looking to identify video content coming from youtube. I've already got the content filter sending all traffic containing "youtube.com" to the Youtube chain. Within the Youtube chain I want to pick out only .flv and .mp4 content. To the best of my understanding, the right way to do this is...
by 1littlewisp
Tue Oct 18, 2011 6:25 pm
Forum: General
Topic: [SOLVED] Policy Based Routing test with ipchicken.com
Replies: 2
Views: 1471

Re: Policy Based Routing test with ipchicken.com

Thanks, Fewi. I think you have helped me a few times in the past as well. I believe I may be able to trick the system into appearing to work by creating a destination address list. Mwahahaha!

It's not perfect, but it will help me build a QoS system that otherwise wouldn't have worked.
by 1littlewisp
Sun Oct 16, 2011 4:26 am
Forum: General
Topic: [SOLVED] Policy Based Routing test with ipchicken.com
Replies: 2
Views: 1471

[SOLVED] Policy Based Routing test with ipchicken.com

So I've got a location with two gateways. I want to route traffic to a certain destination through only one of the gateways. I'm testing this with ipchicken.com because it should be a good indication of whether I've got it working or not. Here's the setup that's not working: /ip firewall mangle add ...
by 1littlewisp
Tue Jun 14, 2011 12:55 am
Forum: General
Topic: [SOLVED] Hotspot HTML Redirect
Replies: 2
Views: 5968

Re: Hotspot HTML Redirect

After hours of troubleshooting, I just discovered independently of this thread what was going on. Yes, it was shared users. :facepalm: Thanks for wasting your time reading/replying to this!
by 1littlewisp
Mon Jun 13, 2011 11:28 pm
Forum: General
Topic: [SOLVED] Hotspot HTML Redirect
Replies: 2
Views: 5968

[SOLVED] Hotspot HTML Redirect

I'm trying to set up a MT hotspot for the sole purpose of redirecting new users to a web page the first time they connect to the network. The only things I have changed from the default Hotspot setup are: 1. Changed authentication from CHAP to PAP 2. Added a username "admin" with the passw...
by 1littlewisp
Mon Jun 06, 2011 5:36 pm
Forum: General
Topic: [SOLVED]An Interesting Challenge... ~or~ Choking Youtube...
Replies: 6
Views: 4227

Re: An Interesting Challenge... ~or~ Choking Youtube Videos

This did pretty much what I wanted. How would you configure it just to add .flv and .mp4 content to the list, though? With this, if someone googles "youtube.com" Google will be throttled for 5 minutes. Nice to hear that helped you. Abt flv & mp4 ... well, I guess it's necessary then t...
by 1littlewisp
Fri Jun 03, 2011 9:46 pm
Forum: General
Topic: [SOLVED]An Interesting Challenge... ~or~ Choking Youtube...
Replies: 6
Views: 4227

Re: An Interesting Challenge... ~or~ Choking Youtube Videos

This is working for me: Ip Firewall Mangle: to add Youtube server to address list for 5 minutes. ;;; Youtube Address List chain=prerouting action=add-dst-to-address-list protocol=tcp address-list=Youtube address-list-timeout=5m in-interface=!(PUBLIC) dst-port=80 content=youtube.com Ip Firewall Mang...
by 1littlewisp
Thu Jun 02, 2011 11:05 pm
Forum: General
Topic: [SOLVED]An Interesting Challenge... ~or~ Choking Youtube...
Replies: 6
Views: 4227

[SOLVED]An Interesting Challenge... ~or~ Choking Youtube...

So I've got this client with a seemingly innocent request. He doesn't want to block Youtube outright, he just wants to queue traffic down so that the video streams don't kill his 3Mbps connection. Simple enough, right? Here's the solution I had come up with: 1) We can't throttle Youtube by name, but...
by 1littlewisp
Wed May 11, 2011 9:27 pm
Forum: General
Topic: Routerboard PC Beep
Replies: 1
Views: 1060

Routerboard PC Beep

When I get RB450G's from a certain vendor, the pc speaker has a different startup beep than normal. I've read how to do this with /system scheduler and /system script, but the default configuration does not have anything set up here. How, then, did they change the startup beep?
by 1littlewisp
Tue Apr 12, 2011 9:41 pm
Forum: General
Topic: having some troubles with [find...]
Replies: 4
Views: 830

Re: having some troubles with [find...]

Thanks, fewi. I'm not well trained in programming logic, so learning the CLI can be especially difficult. I've written a few scripts with conditional statements, but anything C-like really starts to screw with me. I've been trying to figure it out by trial and error, picking up bits of information h...
by 1littlewisp
Tue Apr 12, 2011 6:59 pm
Forum: General
Topic: having some troubles with [find...]
Replies: 4
Views: 830

Re: having some troubles with [find...]

Oh, I see. I just needed to escape the values of burst-limit because the "/" is a special character. I'll tell you what the ultimate goal is here: to change the bust limits of queues that meet certain conditions. In other words, "if the queue's burst-limit is 5120k/5120k, set it to 10...
by 1littlewisp
Sat Apr 09, 2011 12:26 am
Forum: General
Topic: having some troubles with [find...]
Replies: 4
Views: 830

having some troubles with [find...]

so I'm trying to use find to change queues. what I'd like to do is change them based on what they're set at now. So I'm using find like this: /queue simple print from=[find burst-limit=5120k/5120k] just to try to get the data that I want to change. the command above doesn't work. it does work when I...
by 1littlewisp
Thu Mar 31, 2011 11:40 pm
Forum: General
Topic: [Solved] changing queues from the command line
Replies: 1
Views: 2797

[Solved] changing queues from the command line

Hey, guys! What I'm doing seems like it should be simple, but I'm just not getting the hang of it. All I want to do is change the values of all of my simple queues from the command line. In specific, I want to change the values of max-limit, burst-limit, burst-threshold, and burst-time. I have about...
by 1littlewisp
Fri Jul 09, 2010 9:12 pm
Forum: Scripting
Topic: Scripting n00b with what is probably a stupid question...
Replies: 5
Views: 1423

Re: Scripting n00b with what is probably a stupid question..

1littlewisp who can copy from winbox text with color :S Yeah, I just used color tags. Sorry if it made it more difficult to read. I thought it would be helpful. I find it to be extremely helpful on the command line. syntax highlighting helps me determine what the different parts of my command/scrip...
by 1littlewisp
Fri Jul 09, 2010 12:16 am
Forum: Scripting
Topic: Scripting n00b with what is probably a stupid question...
Replies: 5
Views: 1423

Re: Scripting n00b with what is probably a stupid question..

thank you. that was perfect! good thing someone has already done all of the hard work for me. this has really fueled my desire to delve into routeros scripting, though.
by 1littlewisp
Thu Jul 08, 2010 4:21 am
Forum: Scripting
Topic: Scripting n00b with what is probably a stupid question...
Replies: 5
Views: 1423

Scripting n00b with what is probably a stupid question...

#This is the first time I have written a RouterOS script and what I'm trying to do is to isolate the IPs of three entries in my firewall ruleset, compare them to the [:resolve]'d value, and replace the value if it is different. I can't seem to get my output to only display the IP address present in ...
by 1littlewisp
Wed Jun 10, 2009 7:02 pm
Forum: Beginner Basics
Topic: Que list...
Replies: 0
Views: 666

Que list...

So I work for a WISP in Northwest IL, and I just got connected through them. Our towers all run RouterOS, and we generally Winbox into them. All of our towers have Hotspot enabled. If a user connects to a tower with their computer, it pukes out a hotspot page to them. So here's my predicament... In ...