K
K
Kirill Gorelov2015-12-02 23:30:29
linux
Kirill Gorelov, 2015-12-02 23:30:29

How to open port 25 on the server?

Hello. Mail stopped working the other day.
Began to look. It turns out that the case is in closed ports 25 465 587.
I don’t understand how to open it. I found a couple of manuals, but they did not help. Maybe someone knows a more understandable and simple way to open ports?
Here is one of the manuals vasilisc.com/21-examples-iptables
Linux server debian 7.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Disinterpreter, 2015-12-03
@Disinterpreter

If iptables is difficult for you - do not take it for now.
Try ufw (apt-get install ufw)
In it, according to the documentation, open the necessary ports, the documentation will do and this help.ubuntu.ru/wiki/%D1%80%D1%83%D0%BA%D0%BE%D0%B2 ...
For example, open port 22 (ssh) and the ones you need, and then, with the sudo ufw enable command, turn on the firewall.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question