Community discussions

MikroTik App
Member Candidate
Member Candidate
Topic Author
Posts: 175
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: 2320
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 Facebook/Instagram/WhatsApp, no Apple and no Google/Alphabet, no Amazon/Cloudfront/AWS. However, 'happy' with giving money to Italy.

RouterOS 7RC4 and 6.49RC / Winbox 3.31 64bits

Who is online

Users browsing this forum: Ahrefs [Bot], Baidu [Spider], patrick7 and 34 guests