VM
Size: a a a
VM
S
S
NC
VM
S
NC
S
S
S
S
NC
S
NC
M(
M(
/ip route add dst-address=51.75.66.20/32 gateway=pptp-out1
/routing bgp instance set default as=64999 ignore-as-path-len=yes router-id=3.4.5.6
/routing bgp peer add hold-time=4m in-filter=bgp_in keepalive-time=1m multihop=yes name=antifilter remote-address=51.75.66.20 remote-as=65444 ttl=default update-source=pptp-out1
/routing filter add action=accept chain=bgp_in comment="Set nexthop to VPN" set-in-nexthop-direct=pptp-out1
/ip firewall nat add chain=srcnat action=masquerade out-interface=pptp-out1
M(
/routing bgp template set antifilter as=64999 hold-time=4m input.filter=bgp_in keepalive-time=1m multihop=yes name=antifilter
/routing bgp connection add local.role=ibgp remote.address=51.75.66.20/32 template=antifilter
/routing filter rule add action=accept chain=bgp_in set-prfx-prop=gw>192.168.1.2
/ip route add comment="For BGP" dst-address=51.75.66.20/32 gateway=pptp-out1
/ip firewall nat add chain=srcnat action=masquerade out-interface=pptp-out1
NC
И
M(