Displaying 2 results from an estimated 2 matches for "cd55a9a6".
2020 Jul 16
6
Iptables rules not working
Hi,
I am running CentOS Linux release 8.2.2004 (Core) on a remote server. I am
running the below iptables command to allow SSH port 22 from a specific
source IP 219.91.200.59
iptables -A INPUT -m tcp -p tcp -s 219.91.200.59 --dport 22 -j ACCEPT
> service iptables save
The above iptables ruleset is not working and I am still able to connect
from the internet to SSH port 22. I look forward to
2020 Jul 17
0
Iptables rules not working
...connect from the
> > internet. Do I need to add any drop traffic policy using nft?
>
> A single rule doesn't tell us enough. Dump the entire firewall to a
> pastebin and post the link here.
>
>
>
Hi Kenneth,
Please refer to my pastebin link https://paste.centos.org/view/cd55a9a6.
Basically I want to allow the below mentioned ruleset on the server (CentOS
Linux release 8.2.2004 (Core)) and drop the rest of the network traffic
from 0.0.0.0/0
1. Allow http port 80 from 0.0.0.0/0
2. Allow https port 443 from 0.0.0.0/0
3. Allow SSH port 22 only from our office IP:- 21...