• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Resolved firewall block port 111 rpcbind

TomBoB

Silver Pleskian
Hi,

would like to block port 111 for incoming external communication. As that needs to be on a production machine, there is no room for error. Running CentOS7 with latest plesk.
Have researched it but the normal Plesk firewall seems not to be capable of doing advanced setups. Using CLI, I ran into the this and this article which to me are contradictory.
Another article I read through is this one.

Principally we'd like to reject packets by sending back a tcp-reset.

Anyone who can help?

Cheers, Tom
 
Before iptables rule on server I see:

Code:
[root@ppu17-8 ~]# lsof -i udp:111
COMMAND   PID USER   FD   TYPE     DEVICE SIZE/OFF NODE NAME
rpcbind 20530  rpc    6u  IPv4 1315533731      0t0  UDP *:sunrpc
rpcbind 20530  rpc    9u  IPv6 1315533734      0t0  UDP *:sunrpc

Code:
[root@ppu12-5 ~]# telnet 10.58.108.108 111
Trying 10.58.108.108...
Connected to 10.58.108.108.
Escape character is '^]'.

Then I enabled following iptables rule on server:

Code:
[root@ppu17-8 ~]# iptables -A INPUT -p tcp -m tcp --dport 111 -j REJECT --reject-with tcp-reset

and I see no connection from outside:

Code:
[root@ppu12-5 ~]# telnet 10.58.108.108 111
Trying 10.58.108.108...
telnet: connect to address 10.58.108.108: Connection refused

I hope it will help.
 
Back
Top