Community discussions

MikroTik App

Search found 37 matches

by sergiom99
Thu Mar 05, 2009 1:50 pm
Forum: Beginner Basics
Topic: Load Balacing between an ADSL link and a cablemodem link
Replies: 9
Views: 1549

Re: Load Balacing between an ADSL link and a cablemodem link

do an ip firewall mangle rule to add a routing mark for port xxx in interface x
then add a routing rule based on the mark
Already tried that, but didn't work. Couldn't go out with those packets at all.

Thanks for your help dude.
by sergiom99
Wed Mar 04, 2009 2:04 pm
Forum: Beginner Basics
Topic: Load Balacing between an ADSL link and a cablemodem link
Replies: 9
Views: 1549

Re: Load Balacing between an ADSL link and a cablemodem link

I think this is what you want. In winbox ip -> routes -> rules add a rule that ip x.x.x.x goes out interface public Thanks for your reply, It doesnt seem what I am looking for. I need all postgresql related traffic (to port 5432) to go out through my Public interface instead of my adsl interface. T...
by sergiom99
Tue Feb 24, 2009 4:34 pm
Forum: Beginner Basics
Topic: Load Balacing between an ADSL link and a cablemodem link
Replies: 9
Views: 1549

Re: Load Balacing between an ADSL link and a cablemodem link

Thanks for your reply. I started with the wiki's solution, however both my links does not have an static IP, so I dont have a fixed gateway. Does it work the same way if I choose 'Gateway Interface' instead of 'Interface' in this rule? / ip route add dst-address=0.0.0.0/0 gateway=10.111.0.1,10.112.0...
by sergiom99
Wed Feb 18, 2009 6:21 pm
Forum: Beginner Basics
Topic: Load Balacing between an ADSL link and a cablemodem link
Replies: 9
Views: 1549

Load Balacing between an ADSL link and a cablemodem link

Hey there, I just got a new Pirelli ADSL modem/router from the ARNET ISP (Argentina) and I want to balance load between both links. The older one is a Fibertel Cablemodem. I tried to followerd this howto in the wiki [1], but it balances load between 2 groups of LAN PCs and I want every computer to u...
by sergiom99
Fri Jun 27, 2008 12:40 am
Forum: Beginner Basics
Topic: Problem with NAT rules and security
Replies: 13
Views: 2881

Re: Problem with NAT rules and security

yes, its the only gateway in the net.
I have a W2k domain/dhcp/dns server though, but I guess its not involved in this issue.
by sergiom99
Thu Jun 26, 2008 10:55 pm
Forum: Beginner Basics
Topic: Problem with NAT rules and security
Replies: 13
Views: 2881

Re: Problem with NAT rules and security

With this rules 0 chain=srcnat action=src-nat to-addresses=200.235.6.240 to-ports=0-65535 src-address=10.0.2.2 1 ;;; NATear la red interna para salir chain=srcnat out-interface=Publica action=masquerade 2 X ;;; Oracle a Indy chain=dstnat in-interface=Publica protocol=tcp dst-port=1528 action=dst-nat...
by sergiom99
Thu Jun 26, 2008 5:56 pm
Forum: Beginner Basics
Topic: Problem with NAT rules and security
Replies: 13
Views: 2881

Re: Problem with NAT rules and security

Hey Thom here are my NAT Rules: 1 ;;; NATear la red interna para salir chain=srcnat out-interface=Publica action=masquerade 2 X ;;; Oracle a Indy chain=dstnat in-interface=Publica protocol=tcp dst-port=1528 action=dst-nat to-addresses=10.0.2.2 to-ports=1528 3 ;;; VMWare Web chain=dstnat in-interface...
by sergiom99
Wed Jun 25, 2008 10:34 pm
Forum: Beginner Basics
Topic: Problem with NAT rules and security
Replies: 13
Views: 2881

Re: Problem with NAT rules and security

Hi Thom, I've set up these rules (one version at a time) but neither succeeded in letting me write kb.domain.com:9000 from inside my network and be equal as writing 10.0.2.2:9000. 5 ;;; el KB desde adentro? chain=dstnat dst-address=200.235.6.240 protocol=tcp dst-port=9000 action=dst-nat to-addresses...
by sergiom99
Wed Jun 25, 2008 7:02 pm
Forum: Beginner Basics
Topic: Problem with NAT rules and security
Replies: 13
Views: 2881

Re: Problem with NAT rules and security

Thanks Thom for all your help! much appreciated.

With these rules you posted, I have all ports forwarded to one server. Thing is I have several different ports for different machines (ie: 3000 for webmail, 8330 for VmWare, 400x for Vnc(s), and so on)
How would this work then?
by sergiom99
Tue Jun 24, 2008 7:10 pm
Forum: Beginner Basics
Topic: Problem with NAT rules and security
Replies: 13
Views: 2881

Re: Problem with NAT rules and security

Thanks galaxynet for your reply! Those rules (#3 and 4) came from this thread: http://forum.mikrotik.com/viewtopic.php?f=13&t=18456 I tried removing the in-interface in #2 but didn't work. I am not sure I explained this clear enough since I'm not english-speaker: I need rule #2 to access this server...
by sergiom99
Wed Jun 18, 2008 6:19 pm
Forum: Beginner Basics
Topic: Problem with NAT rules and security
Replies: 13
Views: 2881

Problem with NAT rules and security

Hi there, I have these NAT rules set up: 2 ;;; KB chain=dstnat in-interface=Publica protocol=tcp dst-port=9000 action=dst-nat to-addresses=10.0.2.2 to-ports=9000 3 ;;; Kb desde adentro chain=dstnat in-interface=Local protocol=tcp dst-port=9000 dst-address-list=IP-locales action=dst-nat to-addresses=...
by sergiom99
Tue Jun 03, 2008 5:12 pm
Forum: Beginner Basics
Topic: how to NAT from a hostname
Replies: 18
Views: 12112

Re: how to NAT from a hostname

Thanks I already figured it out. I used the Dst-Adrress-list.

Great script, glad you posted it.
by sergiom99
Tue Jun 03, 2008 3:59 pm
Forum: Beginner Basics
Topic: how to NAT from a hostname
Replies: 18
Views: 12112

Re: how to NAT from a hostname

great dssmiktik!
Thanks for your script.

How do you create filter rules to be updated by this script?
Could you please post an example?
by sergiom99
Tue May 06, 2008 9:30 pm
Forum: Beginner Basics
Topic: how to NAT from a hostname
Replies: 18
Views: 12112

[Solved]how to NAT from a hostname

A BIG THANKS SAM! That was what I was needing! I added rules like: ;;; Webmail desde adentro 8 chain=dstnat in-interface=Local dst-address=201.200.3.21 protocol=tcp dst-port=2000 action=dst-nat to-addresses=10.0.2.200 to-ports=2000 7 chain=srcnat out-interface=Local protocol=tcp dst-port=2000 action...
by sergiom99
Tue May 06, 2008 7:28 pm
Forum: Beginner Basics
Topic: how to NAT from a hostname
Replies: 18
Views: 12112

Re: how to NAT from a hostname

Thanks Sam! Here are the rules for filter and nat. [admin@LunaTik] ip firewall filter> print Flags: X - disabled, I - invalid, D - dynamic 0 ;;; Drop invalid connections chain=input connection-state=invalid action=drop 1 ;;; Allow established connections chain=input connection-state=established acti...
by sergiom99
Tue May 06, 2008 6:22 pm
Forum: Beginner Basics
Topic: very basic wireless question
Replies: 2
Views: 899

Re: very basic wireless question

thanks for your reply-
by sergiom99
Tue May 06, 2008 5:09 pm
Forum: Beginner Basics
Topic: very basic wireless question
Replies: 2
Views: 899

very basic wireless question

Hi,
I always wanted to ask this silly question:
If I have ROS in a PC, and I add a common wireless ethernet card, does it make it an AP?

Any recommended card?
Thanks!
by sergiom99
Tue May 06, 2008 5:06 pm
Forum: Beginner Basics
Topic: how to NAT from a hostname
Replies: 18
Views: 12112

Re: how to NAT from a hostname

please any tips?
by sergiom99
Fri Apr 25, 2008 11:55 pm
Forum: Scripting
Topic: script to resolve DNS names and update address list
Replies: 4
Views: 8271

Re: script to resolve DNS names and update address list

Hey,
could a script like this one help in a scenerio like this one?
http://forum.mikrotik.com/viewtopic.php?f=13&t=18456

I haven't solved it yet.
Thanks!
by sergiom99
Fri Nov 23, 2007 9:58 pm
Forum: Beginner Basics
Topic: Clean up error.
Replies: 1
Views: 1013

Clean up error.

Hey there guys, I got this error in the logs: nov/22 01:56:32 manager,error,info,debug failed to cleanup session.acctSessionId: unable to open database file nov/22 01:56:32 manager,error,info,debug failed to cleanup log.acctSessionId: unable to open database file I also cannot perform a check-disk, ...
by sergiom99
Tue Oct 16, 2007 11:53 pm
Forum: Beginner Basics
Topic: Weird things with KVM switch
Replies: 3
Views: 1079

Re: Weird things with KVM switch

Seems to be solved, almost a week now and I am able to move back and forth in the KVM and the MT box is always responding.

Thanks!
by sergiom99
Wed Oct 10, 2007 9:56 pm
Forum: General
Topic: More ways to earn free licenses!
Replies: 162
Views: 75145

Re: More ways to earn free licenses!

got mine! (only L-4 though)

Thanks MT!!
by sergiom99
Tue Oct 09, 2007 11:28 pm
Forum: Beginner Basics
Topic: how to NAT from a hostname
Replies: 18
Views: 12112

Re: how to NAT from a hostname

Anyone please has any ideas? I've tried a hundred different combinations of firewall and NAT rules, much to my despair, but none have worked. I cant still resolve my own host name inside my network. And old-time users are getting pissed! :shock: What I need to do is (perhaps theres no need to use a ...
by sergiom99
Mon Oct 08, 2007 4:55 pm
Forum: Beginner Basics
Topic: Weird things with KVM switch
Replies: 3
Views: 1079

Re: Weird things with KVM switch

Ok, I've done so.

I'll post back later how it turns out.

Thanks for your reply!
by sergiom99
Thu Oct 04, 2007 5:21 pm
Forum: Beginner Basics
Topic: Weird things with KVM switch
Replies: 3
Views: 1079

Weird things with KVM switch

Hey there, I have the MT box in a rack with a KVM switch (to share the Keyboard, Video & Mouse). When I boot it, i need to have the KVM active for the MT box, but over the time I switch the active KVM connection to other PCs and servers in the rack. And then, when I focus again the KVM in the MT box...
by sergiom99
Mon Sep 24, 2007 8:57 pm
Forum: Beginner Basics
Topic: how to NAT from a hostname
Replies: 18
Views: 12112

Re: how to NAT from a hostname

I'd be glad to hear your suggestions.
Thanks y'all. :D
by sergiom99
Mon Sep 24, 2007 6:58 pm
Forum: General
Topic: More ways to earn free licenses!
Replies: 162
Views: 75145

Re: More ways to earn free licenses!

I see.
They're only a draft of what worked for me to be used as reference, but thanks for your tip.
I will try to 'refine' the filters.

Thanks for helping!
by sergiom99
Mon Sep 24, 2007 5:59 pm
Forum: General
Topic: More ways to earn free licenses!
Replies: 162
Views: 75145

Re: More ways to earn free licenses!

Hey.
I created a mini-howto about blocking MSN.
http://wiki.mikrotik.com/wiki/How_to_bl ... _Messenger

Hope this helps the community, and maybe get me a license. :wink:
Regards!
Sergio
by sergiom99
Mon Sep 24, 2007 5:44 pm
Forum: General
Topic: Yahoo Messanger and MSN BLOCKING
Replies: 8
Views: 2030

Re: Yahoo Messanger and MSN BLOCKING

This is what i did, based on a couple of posts in the forums: 14 X ;;; MSN Messenger chain=forward protocol=tcp dst-port=1863 action=drop 15 X ;;; MSN Messenger chain=forward dst-address=207.46.110.0/24 protocol=tcp action=drop 16 X ;;; MSN Messenger chain=forward protocol=tcp dst-port=5190 action=d...
by sergiom99
Wed Sep 19, 2007 10:30 pm
Forum: General
Topic: Drop all P2P except emule
Replies: 3
Views: 1163

Re:

I'm unsure on your question, but one way to accomplish the same goal would be to create a jump rule to send all p2p traffic to a "p2p" chain. In that P2P chain mark all "edonkey" packets to get returned/accepted and drop everything else. Willdbill, would you mind explaining it a bit more? I am just...
by sergiom99
Tue Sep 18, 2007 5:16 pm
Forum: Beginner Basics
Topic: how to NAT from a hostname
Replies: 18
Views: 12112

Re: how to NAT from a hostname

Yes I have cablemodem with non-static IP. I made a rule like this one, but its not working: ;;; Transparent D-nat? chain=dstnat in-interface=Local protocol=tcp dst-port=2000 action=dst-nat to-addresses=10.0.2.200 to-ports=2000 In the old linux I am trying to replace, we had a rule like this one: # T...
by sergiom99
Mon Sep 17, 2007 9:21 pm
Forum: Beginner Basics
Topic: how to NAT from a hostname
Replies: 18
Views: 12112

Re: how to NAT from a hostname

I cannot make any sense. I made so far with this test scritp: :global pub-ip [ /ip address get [/ip address find interface=Publica] address ] :global tuero "me.host.com.ar" :global tuero-ip [:resolve $tuero] if ($pub-ip = $tuero-ip) do {:put son iguales} else {:put son diferentes} I always get these...
by sergiom99
Mon Sep 17, 2007 3:43 pm
Forum: Beginner Basics
Topic: how to NAT from a hostname
Replies: 18
Views: 12112

Re: how to NAT from a hostname

I see.
I will try to make something out of scripting.

Thanks!
by sergiom99
Fri Sep 14, 2007 6:31 pm
Forum: Beginner Basics
Topic: how to NAT from a hostname
Replies: 18
Views: 12112

Re: how to NAT from a hostname

When I tiped the command line, i get this error msg. Thanks for your help! [admin@MikroTik] > /ip firewall nat add chain=dst-nat dst-address=name.me.com.ar dst-port=8333 action=dst-nat to-address=10.0.2.202:8333 value of range expects range of ip addresses [admin@MikroTik] > What I am trying to do, ...
by sergiom99
Fri Sep 14, 2007 4:43 pm
Forum: Beginner Basics
Topic: how to NAT from a hostname
Replies: 18
Views: 12112

Re: how to NAT from a hostname

thanks ashish for your reply,
but when I tried to do this from the Winbox, it won't let me add a "non-IP" dst-address.
I will try this.

Regards!
by sergiom99
Fri Sep 14, 2007 5:27 am
Forum: Beginner Basics
Topic: how to NAT from a hostname
Replies: 18
Views: 12112

how to NAT from a hostname

Hi there. I am trying to write a firewall rule like these I have in an old linux with iptables, which handles requests send to a specific hostname. I didn't find a way to write names in RouterOS, it asks me for IPs. How can I create something like this? $IPTABLES -t nat -A PREROUTING -i $INTIF \ -p ...