Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us $3,400 per month for bandwidth bills alone, and since we don't believe in shoving popup ads to our registered users, we try to make the money back through forum registrations.
  • Post
  • Reply
NOTinuyasha
Oct 17, 2006

 


The Great Twist

I've been screwing around in Winbox for the last three hours juggling three different PPTP clients with my 750G, partying it up on thursday night as usual.

It's a rock solid router and I'm trying to convince my boss to start deploying these to clients.

NOTinuyasha fucked around with this message at Feb 11, 2011 around 19:09

Adbot
ADBOT LOVES YOU

NOTinuyasha
Oct 17, 2006

 


The Great Twist

CuddleChunks posted:

Winbox *does* have a learning curve but I've found that the documentation on their wiki has been very helpful, but I have the distinct advantage of working with these every single day at work.

Most official documentation only covers shell configuration. It gets worse if you run a pre-release like v5. You really need background in networking to figure it all out. Basic things come preconfigured (upnp is not one of those things, if I recall).

NOTinuyasha
Oct 17, 2006

 


The Great Twist

CuddleChunks posted:

Would it be helpful to put together some screenshots of common tasks or something? How about a walkthrough on setting up a basic NAT-ed home network with some ports forwarded?

Thispony is most interested in queue trees, the official documentation is awful and I've never gotten it to work right. I'd be delighted to see some example configurations...

I can see a raw beginners guide that translates common functions like 'port forwarding' into NAT/firewall entries in Winbox as useful for the thread since that sort of thing looks terribly overwhelming compared to home router UIs.

NOTinuyasha
Oct 17, 2006

 


The Great Twist

CuddleChunks posted:

I'll see what I can do. I have ham-handedly helped with putting together some queueing systems and one of my coworkers is working with our other admins on learning some new hotness for queueing that will probably make all of my info obsolete.

The OP of the MikroTik thread, scared of a little QoS?

Also, I know at least one guy going for a MTCNA seminar in Lithuania. Too bad they don't really have them here in the USA.

NOTinuyasha
Oct 17, 2006

 


The Great Twist

Weird Uncle Dave posted:

1W output power sounds probably-illegal (at least in the US) with just about any antenna people would use in the real world.

I don't think MikroTik hardware is sold with any of the regulatory stuff in the US so does it really matter anyway?

NOTinuyasha
Oct 17, 2006

 


The Great Twist

mono posted:

I'm delving into the MikroTik world and I'm having a hell of a time with port forwarding. I followed the Anypony guide and although the forwarding works fine (I started with 80 and 443 to an SBS 2011 box and I can access it from the outside no problem) it kills any outgoing traffic to 80 and 443 from inside the network. I'm wondering if I screwed something up elsewhere in Winbox, or if I'm missing something. I'm running 5.5 on an RB750G (it had the same behavior before upgrading it to 5.5). Any help is appreciated.

the rule either needs to filter traffic by destination address or in. interface

NOTinuyasha
Oct 17, 2006

 


The Great Twist

krackpot posted:

Does anyone have QOS setup? Just wondering if there are any good setups to throttle down torrent/newsgroup traffic and prioritize web/gaming etc?

the way to do it is specify mangle rules to mark the packets, and then create a queue tree to limit and distribute bandwidth based on that marking. layer7 tagging works too, but at a higher cpu cost, and certain services may be untaggable.

queue trees will do exactly what you tell them, so it's easy to create (subtly) broken setups if you aren't familiar with HTB.

edit: the *only* way to do it

NOTinuyasha fucked around with this message at Jul 11, 2011 around 04:37

NOTinuyasha
Oct 17, 2006

 


The Great Twist

It's probably unrelated to the Mikrotik but it would be helpful if you could post both the client/server config files and the log from both ends.

NOTinuyasha
Oct 17, 2006

 


The Great Twist

code:
/ip dns static add name yourwebsite.com address=192.168.what.ever
Assuming you use RouterOS as a local DNS server.

I don't really understand MikroTik's whole issue with loopback.

NOTinuyasha
Oct 17, 2006

 


The Great Twist

mindphlux posted:

so

if I wanted a cheap routing device that could bridge multiple networks via vpn/pptp connections, would mikrotik be what I'm looking for?

edit : I mean that can act as a client for multiple vpns or whatever. I feel like I'm being confusing in my wording. I'm probably not. I'm going to stop typing.

If you're looking for some sort of point-to-point bridge between routers you might want to consider EoIP, that's much cleaner.

OpenVPN TAP adpaters are the coolest way to manage any client/server VPN (and that sounds more in-line with what you want), but MikroTik's implementation is total crap.

All of that requires setup from the ground-up and a very specific set of requirements, it's probably not what you're looking for.

NOTinuyasha
Oct 17, 2006

 


The Great Twist

The RB751G is now available - same as the RB751U, but with gigabit ethernet.

http://routerboard.com/RB751G-2HnD

NOTinuyasha
Oct 17, 2006

 


The Great Twist

The incoming queue tree isn't functional, unless you didn't intend to use it in the first place? You don't have any connection tracking set up, so...

I don't think this rule will work as intended either:

code:
 3   ;;; TCP control packets
     chain=postrouting action=mark-packet new-packet-mark=priority_critical passthrough=no tcp-flags=fin,syn,rst protocol=tcp 
     out-interface=ether1-wan 
Since it will only match packets with those three flags set at once.

MikroTik QoS is still alien to me so I could very well be wrong about all that.

NOTinuyasha
Oct 17, 2006

 


The Great Twist

Weiz posted:

Yeah, its kind of a joke how people are waiting more than 1 year for fixes on real problems but they manage to find the time to add a SMB server to a router.

The developers declined to add record types to the DNS server because "it's just a router"

NOTinuyasha
Oct 17, 2006

 


The Great Twist

Actually trying to prioritize specific types of traffic really isn't gonna work very well. If you do any sort of QoS at all, I'd just use a queue to ensure fairness between connected devices:

code:
 
[admin@MikroTik] > /queue type print
Flags: * - default 

7   name="custom-out" kind=pcq pcq-rate=0 pcq-limit=50 
     pcq-classifier=src-address pcq-total-limit=2000 pcq-burst-rate=0 
     pcq-burst-threshold=0 pcq-burst-time=10s pcq-src-address-mask=32 
     pcq-dst-address-mask=32 pcq-src-address6-mask=64 
     pcq-dst-address6-mask=64 

 8   name="custom-in" kind=pcq pcq-rate=0 pcq-limit=50 
     pcq-classifier=dst-address pcq-total-limit=2000 pcq-burst-rate=0 
     pcq-burst-threshold=0 pcq-burst-time=10s pcq-src-address-mask=32 
     pcq-dst-address-mask=32 pcq-src-address6-mask=64 
     pcq-dst-address6-mask=64 
code:
[admin@MikroTik] > /queue tree print
Flags: X - disabled, I - invalid 
 0   name="wan-out-temp" parent=global packet-mark=wan-out limit-at=4500k 
     queue=custom-out priority=8 max-limit=4500k burst-limit=0 
     burst-threshold=0 burst-time=0s 

 1   name="wan-in-temp" parent=global packet-mark=wan-in limit-at=28M 
     queue=custom-in priority=8 max-limit=28M burst-limit=0 burst-threshold=0 
     burst-time=0s 
code:
[admin@MikroTik] > /ip firewall mangle print
Flags: X - disabled, I - invalid, D - dynamic 
 0   chain=prerouting action=mark-packet new-packet-mark=wan-out 
     passthrough=yes src-address=192.168.88.0/24 
     in-interface=ether2-master-local 

 1   chain=postrouting action=mark-packet new-packet-mark=wan-in 
     passthrough=yes dst-address=192.168.88.0/24 
     out-interface=ether2-master-local 

NOTinuyasha
Oct 17, 2006

 


The Great Twist

You can sign up for Hurricane Electric's IPv6 tunnel service and push all DNS requests over that? That seems like a sane response to me. It's free and they probably have a tunnel server local enough that there's no impact on performance.

NOTinuyasha
Oct 17, 2006

 


The Great Twist

It shouldn't matter if he's using the the RouterOS DNS server for his LAN, which is the default configuration. Though according to this thread, the built-in DNS server is totally busted and worth avoiding so there's no way to win.

NOTinuyasha
Oct 17, 2006

 


The Great Twist

Got an SSL-related error too, not using a MikroTik router right now.

NOTinuyasha
Oct 17, 2006

 


The Great Twist

NAT isn't supposed to be a firewall

NOTinuyasha
Oct 17, 2006

 


The Great Twist

If you're building something that thirty users will be relying on at a time, you shouldn't be looking at embedded crap.

NOTinuyasha
Oct 17, 2006

 


The Great Twist

I don't have any problems with TWC and my 750GL. I'm using the Motorola SBG6580 modem that they gave me.

You might want to try adding a switch between the modem and the MikroTik, that fixed connection issues with my co-worker's RB951G.

NOTinuyasha
Oct 17, 2006

 


The Great Twist

That kind of sounds like an MTU issue. Try setting an MSS clamp to 1300 or something for outbound syn packets over the PPTP interface, like:

code:
/ip firewall mangle add out-interface=pptp-whatever protocol=tcp tcp-flags=syn action=change-mss new-mss=1300 chain=forward

NOTinuyasha
Oct 17, 2006

 


The Great Twist

If you want good performance you probably want ipip if possible, I've used that for months at a time and didn't have any problems. My 750GL can pull 30Mbps through it. That's not really a VPN but it might do what you want.

I've tried the OpenVPN client too and I can confirm it's garbage, the connection randomly reset every 4-24 hours for no reason, the statistics don't work, and the speed is poo poo. Options for enabling udp and disabling the cipher would've helped but MikroTik hates it's users too much to add any of that.

NOTinuyasha
Oct 17, 2006

 


The Great Twist

Oh poo poo.

I have the ssh service disabled, but only to get rid of the log noise generated by bad logins. Isn't it enabled by default? That's gonna gently caress up a lot of people.

Edit: Looks like you can only use that exploit to crash sshd, not gain access. So it's not really that big of a deal.

NOTinuyasha fucked around with this message at Sep 3, 2013 around 14:54

NOTinuyasha
Oct 17, 2006

 


The Great Twist

thebigcow posted:

Updated the AP in the office to 6.17, now it can't talk to other IPv6 networks despite nothing else changing. I should know better than touching things on read only Friday.

You violated rule number one of using RouterOS products: if it's working fine, don't upgrade. Don't upgrade ever unless you have a reason to. They break about as much in upgrades as they manage to fix.

NOTinuyasha
Oct 17, 2006

 


The Great Twist

CrazyLittle posted:

Cut MikroTik some slack.

code:
What's new in 6.10 (2014-Feb-12 13:46):

*) ovpn - make it work again;

NOTinuyasha
Oct 17, 2006

 


The Great Twist

I am not a book posted:

I'm about to pull the trigger on a 750GL. I absolutely need wifi though, is there a suggested AP besides an Apple product?

If it's a home setup, buy a used Linksys E2000 (or E3000 if you need simultaneous dual band) off Amazon, it's the gold standard 802.11n router that the WRT54G(L) was to 802.11g. It's ancient but there's been no advancement besides 802.11ac, which (for a decent one) currently comes at a premium that's difficult to justify, especially if you don't have any devices that actually support it.

NOTinuyasha
Oct 17, 2006

 


The Great Twist

NOTinuyasha posted:

You violated rule number one of using RouterOS products: if it's working fine, don't upgrade. Don't upgrade ever unless you have a reason to. They break about as much in upgrades as they manage to fix.

NOTinuyasha
Oct 17, 2006

 


The Great Twist

TWC rolled out MAXX to my neighborhood, I got the 300/20 plan but my old TomatoUSB E4200 maxes out at ~180-200Mbit WAN/LAN routing (w/ BCM_NAT or stock w/ CTF). I haven't used a MikroTik since my RB750G died but after buying and returning some dissapointing routers (Netgear R7000, Linksys EA6500, Airport Extreme) I gave in and bought a RB750Gr2 ('hEX'):



...and it's the best performer, by a large margin, for less than half the price. I'd like to run benchmarks and see what the actual routing/NAT performance limit is it but I don't have the hardware to test that kind of throughput.

I'm still using TomatoUSB as a DHCP/DNS/VPN/etc server, there's a lot of features our Latvian friends neglected, but the hEX is worth it just as a gateway. As for 802.11ac, the five year old E4200 held it's ground and everything I care about is wired anyway, too many neighbors on 5GHz, including three with 80MHz 802.11ac. And I expect it to get worse because TWC is leasing MAXX customers simultaneous dual band Arris modem/routers now. Maybe I need to step up my game and setup some bridges with superchannel.

NOTinuyasha
Oct 17, 2006

 


The Great Twist

So my adventures with the new RB750Gr2/hEX didn't go so well.

First, the speed I received, almost exactly ~343Mbit down, suspiciously close to DOCSIS 3.0 8-channel max downstream (though I'm getting 16x4, but there's more to it than that). My bet is TWC found a creative way to cap the speed at this tier. Which resulted in a really awful case of bufferbloat. That's an issue with my modem that didn't appear until it met a router that could saturate it. RouterOS software queues performed ~130Mbit at best. But it didn't really matter because it rarely got saturated. So I just set it up as a plain gateway.

...but then I started having all sorts of issues, in particular TCP connections dropping for no apparent reason. An iperf3 udp test complained loudly about packets arriving out of order (regardless of the quantity of traffic). I messed around with it (and disabled fasttrack) but couldn't solve the problem. Then I'd get random bouts of extremely high latency that could only be resolved by rebooting my modem every day or so. I've had an Arris/Motorola SB6183 for a while, had no prior problems...

So I figured I'd downgrade, maybe an older version wouldn't suffer from these issues. 5.26 looked like a good place to start. It's even compatible with the brand new hEX routers according to MikroTik!



Except not at all . It bricked immediately and I had to waste hours trying to restore it with Netinstall. I tried 5.26, 6.31, neither worked, only 6.32rc3 brought it back for some reason. There's no real documentation and not much on the forums. The full user guide is missing and the quick start guide was just copy pasted from another device. The reset instructions are poorly worded and refer to one LED when there's actually two...

Bonus points it didn't have any obvious problems with my Wii U but Splatoon just refused to connect through it. Reminded me of my PS3 refusing to deal with my old 750G for no reason either years ago.

So I'm starting to think RouterOS just doesn't like me. I was gonna ship it to the first goon who'd paypal me the cost of a flat rate box but I have some other ideas. It's just destined to serve another purpose I think.

NOTinuyasha
Oct 17, 2006

 


The Great Twist

thebigcow posted:

Did you see what the CPU utilization was at those speeds? The numbers they claim on their website for models with that CPU are pretty out of line with other offerings and I'm assuming the test was misconfigured or just outright cooked.

I tried to do a local NAT performance test with iperf3 but all I have is my iMac and a USB 3.0 gigabit ethernet adapter that maxes out at 339Mbit. RouterOS CPU usage was <10%, but it suffered from the same problem with dropped connections and out of order packet delivery.

Adbot
ADBOT LOVES YOU

NOTinuyasha
Oct 17, 2006

 


The Great Twist

thebigcow posted:

You've done a bit of troubleshooting. If the default config isn't working on brand new equipment you should get it replaced.

I have no energy to deal with MikroTik and/or r0c-n0c, but especially MikroTik. There isn't even a listed warranty or return policy. I could send in an email begging for a replacement and probably get one but there's an excellent chance that unit is defective as well. Or as jeeves mentioned this behavior could just be normal for hEX + RouterOS because Latvia.

I'll nerd out on it when I feel like nerding out but right now I work from home and this week in particular is especially important and I need my stable internet access back.

  • 1
  • 2
  • 3
  • 4
  • 5
  • Post
  • Reply