I have 2 peers (Peer1 and Peer2)
I've do this to force the incoming connection from AS22222 route via the Peer2.
add action=accept chain=Peer1-IN prefix=0.0.0.0/0
add action=discard chain=Peer1-OUT bgp-as-path=22222
add action=accept chain=Peer1-OUT prefix=184.108.40.206/24
add action=discard chain=Peer1-OUT
add action=accept chain=Peer2-IN prefix=0.0.0.0/0
add action=accept chain=Peer2-OUT prefix=220.127.116.11/24
add action=discard chain=Peer2-OUT
But not run...
The AS22222 is my Internet connection and when I trace the network 18.104.22.168/24 I'm still routed via the Peer1