Hi,
I have two wan links (fixed ip and PPPOE) and i try redirect incoming connections in port 3389 to my server
But only works with wan (ether3) fixed ip, external ip wan pppoe (pppoe1) not connect … please help me.
pppoe1 - link dynamic ip
ether3 - fixed ip
ether1 - lan 11.0.0.0/24
/ip firewall mangle print
0 chain=input action=mark-connection new-connection-mark=w1_conn passthrough=yes in-interface=ether3
1 chain=input action=mark-connection new-connection-mark=w2_conn passthrough=yes in-interface=pppoe1
2 chain=output action=mark-routing new-routing-mark=to_w1 passthrough=yes connection-mark=w1_conn
3 chain=output action=mark-routing new-routing-mark=to_w2 passthrough=yes connection-mark=w2_conn
/ip route print
DST-ADDRESS PREF-SRC GATEWAY DISTANCE
5 A S 0.0.0.0/0 201.xxx.zz.1 1 //default route to out traffic via ether3 (fixed ip)
4 A S 0.0.0.0/0 201.xxx.zz.1 1 //to_wan1 - route mark
5 A S 0.0.0.0/0 pppoe1 1 //to_wan2 - route mark
7 ADC 11.0.0.0/24 11.0.0.1 ether1 0
10 ADC 200.zz.210.zz/32 187.zz.136.zz pppoe1 0
11 ADC 201.zz.xx.0/24 201.zz.xx.1 ether3 0
/ip firewall nat print
0 ;;; nat w2
chain=srcnat action=masquerade out-interface=pppoe1
1 ;;; nat w1
chain=srcnat action=masquerade out-interface=ether3
2 chain=dstnat action=dst-nat to-addresses=11.0.0.2 to-ports=3389 protocol=tcp dst-address-type=local
dst-port=3389
Thanks for all.