D
D
DVoropaev2018-07-23 16:31:49
linux
DVoropaev, 2018-07-23 16:31:49

How to leave a port open after a reboot?

you need to open port 8088, I do this:
iptables -A INPUT -i eth0 -p tcp --destination-port 8088 -j ACCEPT
in iptables-save the line appears:
-A INPUT -i eth0 -p tcp -m tcp --dport 8088 -j ACCEPT
after reboot - disappears

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
Dymok, 2018-07-23
@UnluckySerivelha

How to keep iptables rules after Ubuntu reboot?

K
ky0, 2018-07-23
@ky0

Look at the iptables-persistent package.

R
Rsa97, 2018-07-23
@Rsa97

iptables-save

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question