Knowledge is Yours - Nguyen Si Nhan
Open Your Heart ... Open Your Mind ...
Pages
Homepage
Linux
Windows
Coding
About me
Bài đăng phổ biến
[Solved] libvirtError: Unable to read from monitor: Connection reset by peer
Problem : Error starting domain: Unable to read from monitor: Connection reset by peer Solution: virsh edit <domainname> Searc...
IndentationError: unexpected indent
message = '\n'.join(lines) + '\n' error: IndentationError: unexpected indent fix: message ='\n'.join(lines) + &...
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
No comments:
Post a Comment
Thanks for your join,we will be reply to you asap.
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Thanks for your join,we will be reply to you asap.