CentOS - Forwarding all ports except one

0

It is possible to forward all ports (TCP/UDP) in a CentOS server except by the ssh/sftp port (TCP port 22).

If it is possible how can I do this?

I thought in something using "FirewallD".

Thank you! =D

NOTE: Yes! This thread is a crossposting. Worse than receiving negatives is staying with my problem without solution... = [

Eduardo Lucio

Posted 2019-07-08T19:15:46.953

Reputation: 712

No answers