Community discussions

MikroTik App
 
User avatar
n2m
newbie
Topic Author
Posts: 47
Joined: Mon Feb 25, 2008 8:48 am

OpenDNS setup!

Sat Jul 12, 2008 3:59 pm

I am testing OpenDNS now for filtering sites but I have some questions(after reading on the forum).
I'm running MT 2.9.x. Tested with some different configurations but im not able so see exactly which one is correct, since OpenDNS need some time to put the information on their servers. So i'm looking to set up in the good way.

At the moment this is my config.
Rules
ip web-proxy set enabled=yes src-address=0.0.0.0 port=8080 hostname="***" transparent-proxy=yes \
parent-proxy=0.0.0.0:0 cache-administrator="***" \
max-object-size=4096KiB cache-drive=secondary-master max-cache-size=unlimited \
max-ram-cache-size=none

ip firewall filter add chain=input in-interface=***(ISP) protocol=tcp dst-port=8080 action=drop \
comment="prevent using web-proxy as open proxy" disabled=no

ip firewall nat add chain=dstnat dst-address=!192.168.0.254 protocol=tcp dst-port=80 action=redirect \
to-ports=8080 comment="redirect http traffic from port 80 to 8080" disabled=no


ip dns set primary-dns=ISP Prim. secondary-dns=ISP Sec. allow-remote-requests=no \
cache-size=2048KiB cache-max-ttl=1w

Will OpenDNS work with ip web-proxy enabled redirecting http traffic from port 80 to 8080 and preventing it to be used from outside and default ISP DNS's, only by redirecting port 53 to OpenDNS? If it does work show me the way please! The same if it doesn't :D

Also I suppose the surfing speed will decrease,the firsts packet will arrive after 1ms(router)+120ms(to OpenDNS)+120ms(back to router)+1ms(client) since the client will first request something on my router > redirect DNS to OpenDNS(filter) > back to my router > client. Will the speed decrease, i am right at those calculations !?

Thank you :)
 
User avatar
jwcn
Forum Guru
Forum Guru
Posts: 1495
Joined: Sun Aug 27, 2006 6:49 am
Location: Maryland, USA
Contact:

Re: OpenDNS setup!

Sat Jul 12, 2008 6:29 pm

Works differently depending on version. What version are you running? 2.9. ??
 
User avatar
n2m
newbie
Topic Author
Posts: 47
Joined: Mon Feb 25, 2008 8:48 am

Re: OpenDNS setup!

Sun Jul 13, 2008 3:01 am

2.9.51 now upgrating :evil: , planning to switch to version 3, 3.11(latest) exactly in a month or so!
Last edited by n2m on Sun Jul 13, 2008 6:56 pm, edited 2 times in total.
 
User avatar
jwcn
Forum Guru
Forum Guru
Posts: 1495
Joined: Sun Aug 27, 2006 6:49 am
Location: Maryland, USA
Contact:

Re: OpenDNS setup!

Sun Jul 13, 2008 6:28 am

Had a feeling. Come back once you upgrade.
 
User avatar
n2m
newbie
Topic Author
Posts: 47
Joined: Mon Feb 25, 2008 8:48 am

Re: OpenDNS setup!

Sun Jul 13, 2008 5:18 pm

Well i will figure out myself when i upgrade, i wouldn't have been creating this thread if i had upgrated. I want it to set up on this version. Thanks anyway :wink:. Anyone better help!
 
User avatar
jwcn
Forum Guru
Forum Guru
Posts: 1495
Joined: Sun Aug 27, 2006 6:49 am
Location: Maryland, USA
Contact:

Re: OpenDNS setup!

Sun Jul 13, 2008 5:24 pm

Help is not available here for people using illegal versions. Period.
 
User avatar
n2m
newbie
Topic Author
Posts: 47
Joined: Mon Feb 25, 2008 8:48 am

Re: OpenDNS setup!

Sun Jul 13, 2008 6:52 pm

it iss not illegal :o , a friend of mine installed it about 2 years ago, lvl 4 license, upgrated later to lvl6. And im already sure that there is no difference on versions 2.9.x about proxy(only the new proxy package).
 
User avatar
omega-00
Forum Guru
Forum Guru
Posts: 1167
Joined: Sat Jun 06, 2009 4:54 am
Location: Australia
Contact:

Re: OpenDNS setup!

Mon Jul 14, 2008 3:01 am

I don't really understand what you're trying to do with the proxy.. but if you're trying to use OpenDNS, just set your 2 dns servers to 208.67.222.222 and 208.67.220.220 then allow that to be assigned to users via dhcp.
 
User avatar
jwcn
Forum Guru
Forum Guru
Posts: 1495
Joined: Sun Aug 27, 2006 6:49 am
Location: Maryland, USA
Contact:

Re: OpenDNS setup!

Mon Jul 14, 2008 3:21 am

Unfortunately the forum rules require you upgrade.
 
User avatar
n2m
newbie
Topic Author
Posts: 47
Joined: Mon Feb 25, 2008 8:48 am

Re: OpenDNS setup!

Mon Jul 14, 2008 8:41 am

I don't really understand what you're trying to do with the proxy.. but if you're trying to use OpenDNS, just set your 2 dns servers to 208.67.222.222 and 208.67.220.220 then allow that to be assigned to users via dhcp.
Yes i supposed that should work just like that, but wanted to be sure if i have configured it right. Thanks :D
I now have set Primary DNS my ISP's primary and Secondary DNS OpenDNS 208.67.222.222.

But one question still remains: is this supposed to make a delay on dns requests?
 
User avatar
hilton
Long time Member
Long time Member
Posts: 634
Joined: Thu Sep 07, 2006 5:12 pm
Location: Jozi (aka Johannesburg), South Africa

Re: OpenDNS setup!

Mon Jul 14, 2008 7:52 pm

I see you originally said you had 2.9.27 and now you've edited the post to reflect 2.9.51.

Have you actually upgraded, made a mistake or trying to circumnavigate jwcn's stance on illegal software?
 
User avatar
jwcn
Forum Guru
Forum Guru
Posts: 1495
Joined: Sun Aug 27, 2006 6:49 am
Location: Maryland, USA
Contact:

Re: OpenDNS setup!

Tue Jul 15, 2008 5:04 am

Have to wonder why you would upgrade to 2.9.51 but wait a month to 3.11. It's not like there is any added cost. Oops, you would have a legal license to know that :-p
 
User avatar
n2m
newbie
Topic Author
Posts: 47
Joined: Mon Feb 25, 2008 8:48 am

Re: OpenDNS setup!

Wed Jul 16, 2008 1:02 pm

no you misunderstood me, i didn't have what for to upgrade to latest 2.9.x, since i was happy with the config i had, but since u wanted me to upgrade (unbelievers :lol:) i did it to you believe me(what for :lol:, do i really need it haha), nau do u want some screens or anything or what the heck. And yes that is not an new license, i can not upgrade to version 3, but i meant i was going to buy a new license (from local reseller Negenet) ;).
And one other thing, i HAVE solved OpenDNS setup(what i requested in this thread) OK. And btw in the moment i was writing this u had 1111 posts, take care my friend, that can be an unlucky number haahha :D.

Have a very great time with ur self :lol:
 
User avatar
jwcn
Forum Guru
Forum Guru
Posts: 1495
Joined: Sun Aug 27, 2006 6:49 am
Location: Maryland, USA
Contact:

Re: OpenDNS setup!

Wed Jul 16, 2008 3:32 pm

If you had a legal license to upgrade to 2.9.51 it would also work to V3. You seem to be having some problems being truthful.
 
User avatar
Eskimo
newbie
Posts: 47
Joined: Thu Mar 22, 2007 9:57 am
Location: Oklahoma, USA
Contact:

Re: OpenDNS setup!

Wed Jul 16, 2008 7:14 pm

....and with punctuation.
 
User avatar
jwcn
Forum Guru
Forum Guru
Posts: 1495
Joined: Sun Aug 27, 2006 6:49 am
Location: Maryland, USA
Contact:

Re: OpenDNS setup!

Thu Jul 17, 2008 12:32 am

LOL. Eskimo, you have a WISP in Okie?
 
User avatar
n2m
newbie
Topic Author
Posts: 47
Joined: Mon Feb 25, 2008 8:48 am

Re: OpenDNS setup!

Thu Jul 17, 2008 9:14 am

If you had a legal license to upgrade to 2.9.51 it would also work to V3. You seem to be having some problems being truthful.
And you have a problem with your trust :). And yes, my bad, i don't really know if the license I've got is legal, since i didn't install it, but in the mean time it is an old license(mentioned above) and back there 2-3 years ago there we're time restriction for upgrading your ROS, and now licenses allow you to upgrade to latest of your version. And I guess that license is purchased when the change was made and that's why I'm able to upgrade only to latest 2.9.x. Or It could be that this a real fake license, don't really know now, you confused me. Tha's it. But I have a license just standing there on my MT.com(yeah you can really check this) profile and I will upgrade it soon.

Thanks anyway :S
 
User avatar
jwcn
Forum Guru
Forum Guru
Posts: 1495
Joined: Sun Aug 27, 2006 6:49 am
Location: Maryland, USA
Contact:

Re: OpenDNS setup!

Thu Jul 17, 2008 4:58 pm

Post a screenshot of your system-license and I'm sure one of the MT guys here would be happy to confirm you are legal.
 
User avatar
Eskimo
newbie
Posts: 47
Joined: Thu Mar 22, 2007 9:57 am
Location: Oklahoma, USA
Contact:

Re: OpenDNS setup!

Thu Jul 17, 2008 9:35 pm

LOL. Eskimo, you have a WISP in Okie?
Not really an ISP. Mostly software development and network administration. Most (may be all) of our sites use MT equipment. We do some wireless point to point for clients that can use it. Mostly ridding the world of $500 a month T1 lines.

n2m - A screenshot and a nod from Normis would go a long way.
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26933
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia
Contact:

Re: OpenDNS setup!

Fri Jul 18, 2008 12:09 pm

there are very simple ways how to get a free, legal license. Also, RouterOS is something you use in networks, not at home for your own pleasure. I can't see how a company can't afford 45$ for a router. And it saves you time and money that you spend looking for help.
 
User avatar
n2m
newbie
Topic Author
Posts: 47
Joined: Mon Feb 25, 2008 8:48 am

Re: OpenDNS setup!

Fri Jul 18, 2008 7:42 pm

there are very simple ways how to get a free, legal license. Also, RouterOS is something you use in networks, not at home for your own pleasure. I can't see how a company can't afford 45$ for a router. And it saves you time and money that you spend looking for help.
Yes Normis you are totally right, i totally agree with you. That's why i bothered to get a license(you can check on my mt.com profile) and i will buy new ones from local reseller. And i didn't have a clue that my license could be illegal(paid to much money for it when i first installed). And yes license prices are not expensive at all ,however i've seen some big companies using illegal versions(as claimed from some users here), even on your tiktube.

Have a good day.
 
User avatar
tplecko
Member Candidate
Member Candidate
Posts: 122
Joined: Mon Jun 11, 2007 12:18 pm
Location: Croatia
Contact:

Re: OpenDNS setup!

Thu May 28, 2009 4:21 pm

there are very simple ways how to get a free, legal license. Also, RouterOS is something you use in networks, not at home for your own pleasure. I can't see how a company can't afford 45$ for a router. And it saves you time and money that you spend looking for help.
I would not agree with that statement.
Mikrotik is so good and inexpencive that I (and most of my friends) use it at home.

Price of a good SOHO router (with virtually no functionality compared to MT) is about 100-250$ (here in Croatia). I think that an old PC and a 45$ licence or 100$ routerboard with licence included is far better investment.

I have bought a licence in every company i have worked in, I use it in my own company and have recomended it to many of my clients and am happy to tell that over 90% of them have selected MT over CISCO and are very satisfyed with their decision.

(sorry for my spelling errors)
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26933
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia
Contact:

Re: OpenDNS setup!

Thu May 28, 2009 4:24 pm

Sure, I didn't mean it that way. I meant to say that "I assume that you use it in a company, so 45$ is even less"

today, we sell RouterBOARD411 for 49$!!! That's including the license
 
iwantlemonjuice
Member Candidate
Member Candidate
Posts: 101
Joined: Tue Nov 04, 2008 4:53 am
Location: Boracay Island, Philippines

Re: OpenDNS setup!

Fri May 29, 2009 7:50 am

pirating software is a crime.... lol jowk