Bài đăng phổ biến
-
Problem: Apache can not load dispatch.fcgi it return this error: /usr/lib64/ruby/gems/1.8/gems/activesupport-3.2.11/lib/active_support/depe...
-
With this error: hudson.remoting.ProxyException: io.fabric8.kubernetes.client.KubernetesClientException: No httpclient implementations found...
Showing posts with label Deny all IP access to port assign exclude my IP. Show all posts
Showing posts with label Deny all IP access to port assign exclude my IP. Show all posts
Tuesday, May 8, 2012
Deny all IP access to port assigned exclude my IP
In my exaple is port 25 and my ip is 1.2.3.4:
iptables -A INPUT -p tcp --dport 25 -s 1.2.3.4 -j ACCEPT
iptables -A INPUT -p tcp --dport 25 -s 1.2.3.4 -j ACCEPT
iptables -A INPUT -p tcp --dport 25 -j DROP
Finish!
Nguyen Si Nhan
Subscribe to:
Posts (Atom)