Routed /29 ip Block from OVH to my Home Mikrotik using PPTP. The IP accesible from the internet, but i want to use 1 of the ip from the block as source ip. added src nat and set pref-src at routing table but it didnt work.
Here is my Routing
Code: Select all
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 pref-src=139.99.126.1 gateway=10.10.141.1 gateway-status=10.10.141.1 reachable via PPTP-141 check-gateway=ping distance=1 scope=30 target-scope=10 routing-mark=VPN
1 A S dst-address=0.0.0.0/0 gateway=192.168.20.1 gateway-status=192.168.20.1 reachable via ether1 distance=1 scope=30 target-scope=10
2 ADC dst-address=10.10.10.1/32 pref-src=10.10.10.4 gateway=PPTP-161 gateway-status=PPTP-161 reachable distance=0 scope=10
3 ADC dst-address=10.10.141.1/32 pref-src=10.10.141.2 gateway=PPTP-141 gateway-status=PPTP-141 reachable distance=0 scope=10
4 ADC dst-address=139.99.126.0/29 pref-src=139.99.126.1 gateway=bridge1 gateway-status=bridge1 reachable distance=0 scope=10
5 A S dst-address=172.18.18.0/24 gateway=192.168.20.1 gateway-status=192.168.20.1 reachable via ether1 distance=1 scope=30 target-scope=10
6 ADC dst-address=192.168.10.0/24 pref-src=192.168.10.1 gateway=bridge1 gateway-status=bridge1 reachable distance=0 scope=10
7 ADC dst-address=192.168.20.0/24 pref-src=192.168.20.2 gateway=ether1 gateway-status=ether1 reachable distance=0 scope=10
Code: Select all
0 src-address=192.168.10.0/24 action=lookup table=VPN
Code: Select all
0 address=192.168.20.2/24 network=192.168.20.0 interface=ether1 actual-interface=ether1
1 address=192.168.10.1/24 network=192.168.10.0 interface=bridge1 actual-interface=bridge1
2 address=139.99.126.1/29 network=139.99.126.0 interface=bridge1 actual-interface=bridge1
3 D address=10.10.10.4/32 network=10.10.10.1 interface=PPTP-161 actual-interface=PPTP-161
4 D address=10.10.141.2/32 network=10.10.141.1 interface=PPTP-141 actual-interface=PPTP-141
Code: Select all
Flags: X - disabled, I - invalid, D - dynamic
0 chain=srcnat action=masquerade log=no log-prefix=""
1 chain=srcnat action=src-nat to-addresses=139.99.126.1 src-address=192.168.10.0/24 log=no log-prefix=""
Please help me, Thanks and sorry for my English