A
A
AkZwork2019-12-01 00:41:00
iptables
AkZwork, 2019-12-01 00:41:00

How to disable access to the server from an additional ip?

Good afternoon.
I ordered an additional ip to the VPS from the hoster.
Now you can ssh into the server from both.
How to make the second IP be completely (generally) closed from any outside actions (ssh, any other ports, etc.)?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
Ronald McDonald, 2019-12-01
@Zoominger

Block this IP in iptables.
Instructions are easy to google.

K
Karpion, 2019-12-02
@Karpion

Why do you need an address that you can’t contact at all?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question