Community discussions

MikroTik App
 
caspat
newbie
Topic Author
Posts: 47
Joined: Wed Apr 28, 2010 3:55 pm

pcc Mangle

Sun Aug 05, 2012 7:36 pm

Hi all,
I have my router configure with dual WAN load balancing, it work great BUT i cannot acces my internal network from other interface.
Please what is missing...

here is my mangle rules
0 chain=input action=mark-connection new-connection-mark=wan1_conn passthrough=yes in-interface=ether1-public

1 chain=input action=mark-connection new-connection-mark=wan2_conn passthrough=yes in-interface=ether6-public2

2 chain=output action=mark-routing new-routing-mark=to_wan2 passthrough=yes connection-mark=wan2_conn

3 chain=output action=mark-routing new-routing-mark=to_wan1 passthrough=yes connection-mark=wan1_conn

4 chain=prerouting action=mark-connection new-connection-mark=wan1_conn passthrough=yes dst-address-type=!local in-interface=ether3-Local
per-connection-classifier=both-addresses-and-ports:2/0

5 chain=prerouting action=mark-connection new-connection-mark=wan2_conn passthrough=yes dst-address-type=!local in-interface=ether3-Local
per-connection-classifier=both-addresses-and-ports:2/1

6 chain=prerouting action=mark-routing new-routing-mark=to_wan1 passthrough=yes in-interface=ether3-Local connection-mark=wan1_conn

7 chain=prerouting action=mark-routing new-routing-mark=to_wan2 passthrough=yes in-interface=ether3-Local connection-mark=wan2_conn
 
User avatar
hassibi
Trainer
Trainer
Posts: 130
Joined: Wed Jun 13, 2012 5:58 am
Location: Iran,Kerman

Re: pcc Mangle

Sun Aug 05, 2012 8:35 pm

Hello
i think if you add a dst-address of your mangle except your LAN IPs your problem will be solved.check it.

Good Luck
 
caspat
newbie
Topic Author
Posts: 47
Joined: Wed Apr 28, 2010 3:55 pm

Re: pcc Mangle

Sun Aug 05, 2012 10:21 pm

i dont understand....
 
User avatar
hassibi
Trainer
Trainer
Posts: 130
Joined: Wed Jun 13, 2012 5:58 am
Location: Iran,Kerman

Re: pcc Mangle

Mon Aug 06, 2012 7:34 am

add your LAN address to an address list and then in your mangles in advance tab in DST-address-list select your created address list and check ! (not)when you using mangle prerouting chain and add a routing mark to packets the connected routes in your MikroTik is not work because their packet skip main routing table.

Good luck
 
caspat
newbie
Topic Author
Posts: 47
Joined: Wed Apr 28, 2010 3:55 pm

Re: pcc Mangle

Mon Aug 06, 2012 12:55 pm

sorry, do i have to create a new mangle rule?
Please can you post an example.
Thanks
You do not have the required permissions to view the files attached to this post.
 
gregsowell
Member Candidate
Member Candidate
Posts: 128
Joined: Tue Aug 28, 2007 1:24 am
Contact:

Re: pcc Mangle

Mon Aug 06, 2012 5:57 pm

What addressing is in your local address list?
 
caspat
newbie
Topic Author
Posts: 47
Joined: Wed Apr 28, 2010 3:55 pm

Re: pcc Mangle

Mon Aug 06, 2012 6:58 pm

in my internal network i have 10.0.1.0/24, 10.0.2.0/24, etc. 192.168.10.0/24. 192.168.11.0/24 etc... 172.16.x.x for ospf
direcly connect to internet router i have 10.0.0.1(pppoe) 192.168.1.0/24(server), 172.16.8.0/24 (local, ospf)
Thanks!!
 
gregsowell
Member Candidate
Member Candidate
Posts: 128
Joined: Tue Aug 28, 2007 1:24 am
Contact:

Re: pcc Mangle

Mon Aug 06, 2012 10:18 pm

You don't have any firewall rules that would be preventing this, do you? Perhaps you are doing some odd NATing?

I would say post as much of the file export as you can.
 
caspat
newbie
Topic Author
Posts: 47
Joined: Wed Apr 28, 2010 3:55 pm

Re: pcc Mangle

Tue Aug 07, 2012 12:45 am

No, that my probleme i dont know how to build it...
 
caspat
newbie
Topic Author
Posts: 47
Joined: Wed Apr 28, 2010 3:55 pm

Re: pcc Mangle

Tue Aug 07, 2012 12:23 pm

Please help me someone!!
 
caspat
newbie
Topic Author
Posts: 47
Joined: Wed Apr 28, 2010 3:55 pm

Re: pcc Mangle

Tue Aug 07, 2012 1:43 pm

Who is online

Users browsing this forum: ericsboro and 206 guests