Hello!
I have little problem which i don't know how to solve.
I have created OPENVPN and client connection and that part is working fine.
When mangle rule to route traffic over cable modem is enabled vpn client can't see NAS.
Router ip: 192.168.32.1, NAS 192.168.32.3 port 6541
Client over VPN 192.168.32.44
DDNS is noip...
There are two WAN connections: pppoe VDSL, and DHCP cable.
Routes
dst. address 0.0.0.0/0, gateway VDSL, distance 1, routing mark to_vdsl
dst. address 0.0.0.0/0, gateway VDSL, distance 2
dst. address 0.0.0.0/0, gateway cable, distance 1, routing mark to_cable
dst. address 0.0.0.0/0, gateway cable, distance 1
NAT
srcnat, src. address 192.168.32.44, dst. address !192.168.32.44, action: masquerade
srcnat, src. address 192.168.32.3,out. interface cable modem, action: masquerade
MANGLE
chain: prerouting, src. address 192.168.32.3, in. interface:lan bridge, action: mark routing, new routing mark to_cable
When mangle rule is disabled everything is working fine, when is enabled NAS is no longer available over VPN. Where is the problem?
Thx in advance