Community discussions

MikroTik App

Search found 10 matches

by mannana93
Sat May 03, 2014 4:40 pm
Forum: General
Topic: Forward to a local webserver
Replies: 6
Views: 2053

Re: Forward to a local webserver

This is my mangle, if I edit the first RULE and delete the dst-address-list=local all is ok, but the load balacing doesn't work anymore. 0 ;;; Accept local to local chain=prerouting action=accept src-address-list=local dst-address-list=local 1 chain=prerouting action=accept src-address-list=local ds...
by mannana93
Sat May 03, 2014 3:36 pm
Forum: General
Topic: Forward to a local webserver
Replies: 6
Views: 2053

Re: Forward to a local webserver

I tried also to force the use of local dns with the following simple rule but it doesn't work.
I think the problem is in mangle.
chain=dstnat action=redirect to-ports=53 protocol=udp src-address=192.168.0.0/24 dst-port=53 
by mannana93
Sat May 03, 2014 1:48 pm
Forum: General
Topic: Forward to a local webserver
Replies: 6
Views: 2053

Re: Forward to a local webserver

I think you also need a rule in the mangle placed before the PCC rules: /ip firewall mangle chain=prerouting in-interface=LAN dst-address=192.168.1.0/24 action=accept This might help to not process this traffic and force it through the specified gateways of your PCC I already have an accept rule in...
by mannana93
Sat May 03, 2014 12:21 pm
Forum: General
Topic: Forward to a local webserver
Replies: 6
Views: 2053

Re: Forward to a local webserver

If you are DST NATing back to the same local LAN as the source you might be hitting a hairpin NAT issue: http://wiki.mikrotik.com/wiki/Hairpin_NAT I tried with this solution but it doesn't work, there are no forwarding (the 192.168.0.100 is the webserver and the .64 is the host that have to be forw...
by mannana93
Fri May 02, 2014 7:21 pm
Forum: General
Topic: Forward to a local webserver
Replies: 6
Views: 2053

Forward to a local webserver

Hi, I need a rule that redirect a specified host (like 10.1.0.100 in the example) in my LAN to a webserver also in the LAN when the host try to go to a specified pool of public ip (y.y.y.y), but I don't want to use the RB as DNS server, so I tried the following way but it doesn't work. chain=dstnat ...
by mannana93
Tue Apr 29, 2014 12:49 pm
Forum: General
Topic: Redirect a host to a webserver in LAN
Replies: 0
Views: 694

Redirect a host to a webserver in LAN

Hi, I need a rule that redirect a specified host (like 10.1.0.100 in the example) in my LAN to a webserver also in the LAN when the host try to go to a specified pool of public ip (y.y.y.y), but I don't want to use the RB as DNS server, so I tried the following way but it doesn't work. chain=dstnat ...
by mannana93
Thu Apr 17, 2014 5:45 pm
Forum: General
Topic: How to route all traffic of a host trough a gateway eith man
Replies: 1
Views: 968

How to route all traffic of a host trough a gateway eith man

Hi, I use load balacing with PCC and 2 gateways but I need to route all the traffic of a specified subnet trough one only gateway, how can I do this with the mangle?
by mannana93
Thu Jan 16, 2014 11:58 am
Forum: General
Topic: NTH or PCC - Choosing Load Balancing type for 3LAN 2WAN
Replies: 0
Views: 1208

NTH or PCC - Choosing Load Balancing type for 3LAN 2WAN

Hi I have 2 WAN connection and 3 LAN, I have to choose a type of load balancing and I'm undecided between
NTH With masquerade (another_approach) found on wiki and PCC
Which are the pros and cons of them?
In case I decide to use PCC how can I adapte the wiki guide for multiple LAN?
by mannana93
Fri Sep 27, 2013 5:04 pm
Forum: Scripting
Topic: Give telnet command to another router with a script
Replies: 1
Views: 1960

Give telnet command to another router with a script

Hello I'm wondering how to give a telnet command to another router (which has not routeros) with a script.
When I had DDWRT I used this script:
(sleep 1; echo 'admin'; sleep 1; echo 'mypassword'; sleep 1; echo 'adsl configure --snr 72'; sleep 1 ) | telnet 192.168.1.1