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
14175
questions
16819
answers
27670
comments
54159
members
Most popular tags
rut955
rut240
rut950
rutx11
rms
vpn
to
wifi
openvpn
not
sms
trb140
firmware
connection
-
ipsec
on
rutx12
rutx09
modbus
How to make an iptable entry persistent? RUT955
0
votes
1,085
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