LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   opening a port using iptables (https://www.linuxquestions.org/questions/linux-newbie-8/opening-a-port-using-iptables-4175548846/)

F,Dillon@NYC 07-24-2015 01:16 PM

opening a port using iptables
 
my ssh port is 2020, how can i add this to iptables.

rtmistler 07-24-2015 01:29 PM

Quote:

Originally Posted by F,Dillon@NYC (Post 5395833)
my ssh port is 2020, how can i add this to iptables.

Hi,

Please review this link to aid you in asking a more clear question and get an answer which will be helpful to you.

- RT

unSpawn 07-24-2015 01:37 PM

Quote:

Originally Posted by F,Dillon@NYC (Post 5395833)
my ssh port is 2020,

Instead adhere to SSH Best Practices (no root login, only pubkey auth, protect service with fail2ban or equivalent)?


Quote:

Originally Posted by F,Dillon@NYC (Post 5395833)
how can i add this to iptables.

What does (as root) 'iptables-save' return? (Please use vBB code tags.)


All times are GMT -5. The time now is 04:11 PM.