Just another trying-to-be-a-geek's blog
Posts tagged ip
Rinetd: Redirect TCP connections from one IP address and port to another
Jan 19th
I have came across such a situation a million times where we move a machine from one IP to another (mostly when policy audits occur) and things stop working even though we modify DNS to reflect changes, just because some *beep* people still fiddle around with the old IP or some software were configured with IP instead of DNS (why? never got the answer, even though everyone knows DNS is here and hostnames are so much intuitive like a webserver having web.domain.com, an irc having irc.domain.com or in some cases chat.domain.com when we run multiple chat related tools like irc More >
Nginx: Block And Deny IP Address OR Network Subnets
Jan 13th
Nginx comes with a simple module called ngx_http_access_module to allow or deny access to IP address. The syntax is as follows:
deny IP;
deny subnet;
allow IP;
allow subnet;
# block all ips
deny all;
# allow all ips
allow all;
Block an IP Address
Dec 15th
If you think you are being attacked by an IP Address, you could block it by either firewall like: (more…)