Community discussions

MikroTik App
 
User avatar
Etz
Member Candidate
Member Candidate
Topic Author
Posts: 178
Joined: Thu Mar 27, 2014 10:09 am
Location: Estonia

Mikrotik firewall rules to iptables rules.

Mon Nov 23, 2015 11:50 am

Can someone help me to translate this to standard iptable rule?
add action=masquerade chain=srcnat dst-address=10.0.0.0/8 out-interface=eth0.4
 
User avatar
vixxant
newbie
Posts: 38
Joined: Thu Mar 17, 2011 7:36 pm
Contact:

Re: Mikrotik firewall rules to iptables rules.

Mon Nov 23, 2015 12:12 pm

check the following code
iptables -t nat -A POSTROUTING -o eth0.4 -d 10.0.0.0/8 -j MASQUERADE
 
User avatar
Etz
Member Candidate
Member Candidate
Topic Author
Posts: 178
Joined: Thu Mar 27, 2014 10:09 am
Location: Estonia

Re: Mikrotik firewall rules to iptables rules.

Mon Nov 23, 2015 12:25 pm

Yep, came onto it myself but I did not work, as I made typo in it :lol:

Anyway, thx for the sanity check :)

Who is online

Users browsing this forum: Bing [Bot] and 99 guests