WIKI
ABOUT
Login
Remember
Register
FOR TIPS, gUIDES & TUTORIALS
subscribe to our Youtube
GO TO YOUTUBE
Recent
Questions
Popular
Unanswered
Tags
Members
about
wiki
Search
Search
13291
questions
15786
answers
25496
comments
50092
members
Most popular tags
rut955
rut240
rut950
rutx11
rms
vpn
to
wifi
openvpn
sms
not
trb140
firmware
rutx09
ipsec
rutx12
on
-
connection
modbus
How to make an iptable entry persistent? RUT955
0
votes
1,037
views
3
comments
asked
Jul 12, 2019
by
anonymous
I want to make this entry in the command line persistent.
iptables -t nat -A POSTROUTING -s 10.0.8.0/24 -d 192.168.2.0/24 -j MASQUERADE
How to do it?
rut955
openvpn
iptables
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Jul 12, 2019
by
Simonas
You can add it to /etc/firewall.user
Best answer
commented
Jul 12, 2019
by
anonymous
What would the input to /etc/firewall.user look like then?
commented
Jul 12, 2019
by
Simonas
It's executed like script, you can add simply to this file:
iptables -t nat -I POSTROUTING -s 10.0.8.0/24 -d 192.168.2.0/24 -j MASQUERADE
commented
Jul 12, 2019
by
anonymous
Allright. Thank you!
Please
log in
or
register
to add a comment.
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.
Ok
Read more
×
Subscribe
aa@aa.com
NETWORKING
Newsletter
Product change notifications
Your personal data will be processed in accordance with the
privacy policy
I agree
Submit