Community discussions

MikroTik App
 
sakistech
just joined
Topic Author
Posts: 2
Joined: Fri Apr 07, 2023 8:39 pm

load balancing, how to make specified ip come out from ether1 only?

Thu Apr 20, 2023 11:01 pm

on a mikrotik I run load balancing and there is a connected telephone exchange.
how can I make the telephone exchange come out from one ether 1 only
how can configure the firewall ..
this is correct ? add action=accept chain=prerouting comment="" disabled=no dst-address= 192.168.1.123 in-interface=isp1
thank you
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 18959
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: load balancing, how to make specified ip come out from ether1 only?

Sat Apr 22, 2023 12:55 am

So you have a PCC network, but there is one LANIP address you want to hardcode to ETHER1??

Best if you also provide full config
/export file=anynameyouwish ( minus router serial number and any public WANIP info )
 
sakistech
just joined
Topic Author
Posts: 2
Joined: Fri Apr 07, 2023 8:39 pm

Re: load balancing, how to make specified ip come out from ether1 only?

Sun Apr 23, 2023 7:00 pm

So you have a PCC network, but there is one LANIP address you want to hardcode to ETHER1??

Best if you also provide full config
/export file=anynameyouwish ( minus router serial number and any public WANIP info )
yes ...i want my telephone ip take out only from ether1...
i think this line is my solution ..correct?
/ip firewall mangle
add action=mark-routing chain=prerouting comment="matrix" \
new-routing-mark=ether1 passthrough=no port=5060-5070 protocol=tcp \
src-address=192.168.10.208

Who is online

Users browsing this forum: Google [Bot], lurker888 and 42 guests