Now, I'm having issues with port forwarding. Packet sniffer revealed that outgoing packets are sent to the wrong interface as you can see here in the attachment:
This is my setup:
Code: Select all
/ip address print
Flags: X - disabled, I - invalid, D - dynamic
# ADDRESS NETWORK BROADCAST INTERFACE
0 192.168.88.1/24 192.168.88.0 192.168.88.255 lokal
1 D 89.216.30.6/24 89.216.30.0 89.216.30.255 sbb
2 D 192.168.1.2/24 192.168.1.0 192.168.1.255 telekom
Code: Select all
/ip route print detail
Flags: X - disabled, A - active, D - dynamic, C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme, B - blackhole, U - unreachable, P - prohibit
0 A S dst-address=0.0.0.0/0 gateway=89.216.30.1 gateway-status=89.216.30.1 reachable sbb check-gateway=ping distance=1 scope=30 target-scope=10
routing-mark=to_sbb
1 A S dst-address=0.0.0.0/0 gateway=192.168.1.1 gateway-status=192.168.1.1 reachable telekom check-gateway=ping distance=1 scope=30 target-scope=10
routing-mark=to_telekom
2 A S dst-address=0.0.0.0/0 gateway=89.216.30.1 gateway-status=89.216.30.1 reachable sbb check-gateway=ping distance=1 scope=30 target-scope=10
3 S dst-address=0.0.0.0/0 gateway=192.168.1.1 gateway-status=192.168.1.1 reachable telekom check-gateway=ping distance=2 scope=30 target-scope=10
4 ADC dst-address=89.216.30.0/24 pref-src=89.216.30.6 gateway=sbb gateway-status=sbb reachable distance=0 scope=10
5 ADC dst-address=192.168.1.0/24 pref-src=192.168.1.2 gateway=telekom gateway-status=telekom reachable distance=0 scope=10
6 ADC dst-address=192.168.88.0/24 pref-src=192.168.88.1 gateway=lokal gateway-status=lokal reachable distance=0 scope=10
Code: Select all
/ip firewall mangle print
Flags: X - disabled, I - invalid, D - dynamic
0 chain=input action=mark-connection new-connection-mark=sbb_conn passthrough=yes in-interface=sbb
1 chain=input action=mark-connection new-connection-mark=telekom_conn passthrough=yes in-interface=telekom
2 chain=output action=mark-routing new-routing-mark=to_sbb passthrough=yes connection-mark=sbb_conn
3 chain=output action=mark-routing new-routing-mark=to_telekom passthrough=yes connection-mark=telekom_conn
4 chain=prerouting action=accept dst-address=89.216.30.0/24 in-interface=lokal
5 chain=prerouting action=accept dst-address=192.168.1.0/24 in-interface=lokal
6 chain=prerouting action=mark-connection new-connection-mark=sbb_conn passthrough=yes dst-address-type=!local in-interface=lokal
per-connection-classifier=both-addresses:2/0
7 chain=prerouting action=mark-connection new-connection-mark=telekom_conn passthrough=yes dst-address-type=!local in-interface=lokal
per-connection-classifier=both-addresses:2/1
8 chain=prerouting action=mark-routing new-routing-mark=to_sbb passthrough=yes in-interface=lokal connection-mark=sbb_conn
9 chain=prerouting action=mark-routing new-routing-mark=to_telekom passthrough=yes in-interface=lokal connection-mark=telekom_conn
Code: Select all
/ip firewall nat print
Flags: X - disabled, I - invalid, D - dynamic
0 chain=srcnat action=masquerade out-interface=sbb
1 chain=srcnat action=masquerade out-interface=telekom
2 chain=dstnat action=dst-nat to-addresses=192.168.88.100 to-ports=22 protocol=tcp dst-address-type=local dst-port=22