Community discussions

MikroTik App
Member Candidate
Member Candidate
Topic Author
Posts: 183
Joined: Fri Nov 12, 2010 7:18 pm

Output Chain - set source-IP

Wed Oct 13, 2021 9:03 pm


I want to change source-ip for flood-ping, but I just do not find any possibility

My thoughts:
/ip firewall mangle
add action=mark-packet chain=output dst-address= new-packet-mark=test \
/ip firewall nat
add action=src-nat chain=srcnat log=yes packet-mark=test to-addresses=
Can you give me a hint on how to change source-ip for several connections, that are outbound by the router itself?

Thank you for your help!
Forum Guru
Forum Guru
Posts: 2392
Joined: Tue Feb 18, 2014 12:56 am
Location: Netherlands / Nīderlande

Re: Output Chain - set source-IP

Wed Oct 13, 2021 9:51 pm

Try using postrouting in Mangle instead of output. ... rOS-Output
Loving my freedom and so, no Twitter, no Meta/Facebook/Instagram/WhatsApp, no Apple and no Alphabet/Google, no Amazon/Cloudfront/AWS. However, 'happy' with giving money to Italy.

RouterOS 7.1rc7 and 6.49 / Winbox 3.31 64bits

Who is online

Users browsing this forum: Bing [Bot], DeJoe, Google [Bot], Semrush [Bot] and 34 guests