Skip to content

geekdecoder

Linux, Windows and Other Tech Tips

  • Monitoring
  • Dedicated Servers
  • Optimization
  • Security
  • Migrations

Category: Iptables

Administration Iptables

How to Whitelist or Block IPs in your Firewall on Linux – iptables, firewalld, ufw

March 9, 2018March 9, 2018 The Geek Decoder

Knowing how to Whitelist and Blacklist IPs in your firewall can be very important when you want to allow or deny connection to your server, based on an IP address. Below we will cover how to allow and deny connections…

Read More→

Administration Iptables

Check if port is open or blocked in iptables

April 20, 2015August 22, 2015 The Geek Decoder

# iptables -L -n # iptables -L -n | grep :PORT

Email Iptables

Change IP route for Blacklist

February 12, 2015January 27, 2017 The Geek Decoder

Add the clean IP to the server. Edit the firewall to NAT all connections FROM port 25 to use the new IP. # iptables -t nat -A POSTROUTING -p tcp –dport 25 -j SNAT –to-source NEW.IPA.DDR.ESS # service iptables save…

Read More→

Cloud Iptables

Cloud Server Iptables rejects port 80 CentOS 6.5

January 22, 2015August 22, 2015 The Geek Decoder

I have just intalled apache on a fresh CentOS 6.5 installation. I entered the ip address in the browser address bar, and it failed to connect. I then turned off iptables, and refeshed, and this time I could connect. So…

Read More→

Administration Iptables

Block IP with iptables

December 4, 2014August 22, 2015 The Geek Decoder

Block Incoming Request From IP 1.2.3.4 The following command will drop any packet coming from the IP address 1.2.3.4: # /sbin/iptables -I INPUT -s {IP-HERE} -j DROP # /sbin/iptables -I INPUT -s 1.2.3.4 -j DROP Finally, the last thing we…

Read More→

Iptables

Check if IP blocked in iptables

November 17, 2014August 22, 2015 The Geek Decoder

Is an IP blocked? # iptables –list -n | grep 76.88.xx.xx

Email Firewall Iptables Spam

Stop Spam and http access with IPtables

July 22, 2014August 22, 2015 The Geek Decoder

To stop Spam: drop SMTP on port 25, 465 and 587 to prevent further spam from being sent out by running the following commands: # /sbin/iptables -A INPUT -p tcp –dport 25 -j DROP # /sbin/iptables -A OUTPUT -p tcp…

Read More→

cPanel Firewall Iptables

Add/Drop IP in iptables on cPanel server

July 22, 2014August 22, 2015 The Geek Decoder

on cpanel, use iptables -A cP-Firewall-1-INPUT -s 203.90.xxx.xxx -j DROP

Firewall Iptables

Add IP and Port to iptables

July 17, 2014August 22, 2015 The Geek Decoder

How to add an IP to access the plesk panel and ssh Open flle /etc/sysconfig/iptables: # nano /etc/sysconfig/iptables -A INPUT -s 72.177.xxx.xxx/32 -p tcp -m tcp –dport 8443 -j ACCEPT -A INPUT -s 66.226.xx.xx/32 -p tcp -m tcp –dport 10222…

Read More→

Search for Articles

Geekdecoder Services

Geekdecoder offers technical services from migrations, server monitoring, server security and hardware rental for dedicated and cloud servers.
See Services.

EZOSHosting Web Hosting

See EZOSHosting Web Hosting Plans and Domain Services.

Featured Articles

  • Great Article on Adding Proxmox Storage
  • Install Brave Browser on Ubuntu, MintDebian 9+, Ubuntu 14.04+ and Mint 17+
  • How to While List IP’s for Different Email Providers
  • Proxmox Resources
  • Installation of Yubikey KSM and Yubikey Validation Server on Ubuntu 16
  • Proxmox on Debian Install fails – Errors were encountered while processing: pve-manager proxmox-ve
  • Mount NTFS file system in Debian
  • Where Proxmox ISO Stored
  • Disable TCP Port 135 and Avoid WannaCry Windows 10
  • Setup of Self-hosted Yubico OTP Validation Server on Debian

Categories

PRIVACY   TERMS OF SERVICE   CONTACT
Copyright 2020 Geekdecoder LLC. © All rights reserved.
Artblog by iThemer
Go to top