Solved

How do I unblock IP addresses on my linux web server using mac Terminal?

Posted on 2010-11-17
12
999 Views
Last Modified: 2012-05-10
I need to occasionally unblock IP addresses on my Linux web server using Mac Terminal app where can I find the commands to do so?
0
Comment
Question by:KoolV
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 2
  • 2
  • +1
12 Comments
 
LVL 5

Expert Comment

by:chqshaitan
ID: 34153071
what is actually blocking the ips? is the built in firewall (iptables) or something else?
0
 

Author Comment

by:KoolV
ID: 34153116
Yes I believe so I have not accessed the server with mac terminal before but need to learn how to
0
 
LVL 5

Expert Comment

by:dacasey
ID: 34153155
SSH ot Telnet are the two easy ways.  Start the terminal app on your mac and try to either ssh of telnet to your Linux machine.

eg.

ssh 192.168.0.2
- or -
telnet 192.168.0.2

I'm assuming in this example that your Linux machine is 192.168.0.2
0
Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 
LVL 5

Expert Comment

by:chqshaitan
ID: 34153163
ah, i misunderstood what you were asking. I thought you were asking what commands on the linux server you need to run, not the command on the mac to connect to the linux server.
0
 

Author Comment

by:KoolV
ID: 34153215
yes I need to know what commands I need to enter in Mac terminal to access the IP blocking tables or that area to view what IP addresses have been blocked and need to know how to unblock them
0
 

Author Comment

by:KoolV
ID: 34153217
The Linux web server is in a data centre and I have the IP of it etc just need to know where to find Linux commands
0
 
LVL 5

Expert Comment

by:dacasey
ID: 34153426
Hi KooIV,

You need to unblock IPs on your linux web server so you need to access it some way.  

Does your server support telnet ssh or both?

FIt doesn't matter if your server is in a data center or in your basement, 1st step is to access your server.  So can you open your mac terminal, we are going to use it to take over your server.

try ssh [your server ip]

you should be asked for a login and password.
0
 

Author Comment

by:KoolV
ID: 34153507
I tried that and got this

ssh: connect to host 119.252.19.49 port 22: Operation timed out
0
 
LVL 12

Assisted Solution

by:asidu
asidu earned 50 total points
ID: 34153995
Did you block any IPs at your machine initially which is at the data centre?
Have you accessed your machine via SSH from any other machines?

To access to your machine, first the SSH server or telnet service must be running at the server. SSH access would be preferred as information xfer will be encrypted.

Also you will have to know the details of the IPtables or any other firewall that you are running at your server.

On your mac, you should have a  ssh client software installed on your machine to access the data center. You can get a trial software from http://www.vandyke.com/products/beta/securecrt/mac_osx.html 

Try to access your data center once the client program has been installed on your machine.

0
 
LVL 12

Expert Comment

by:asidu
ID: 34154001
Refer to your post 34153507.

Are you able to do a SSH at the machine locally ?
If yes ...then it clearly points to a network issue, firewall issue.
If no you have to make sure the SSH server is running on the
server.
0
 

Accepted Solution

by:
KoolV earned 0 total points
ID: 34154350
I have found a guy who will provide me the support to do this as it is looking a bit too difficult I will get him to explain to me how to do this and will post the answers back here soon.
0
 

Author Closing Comment

by:KoolV
ID: 34221378
I found a guy who fixed it all fro me thanks for your efforts though
0

Featured Post

Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article we will discuss some EI Capitan Mail app issues and provide some manual process to resolve them.
In this article we discuss how to recover the missing Outlook 2011 for Mac data like Emails and Contacts manually.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…

617 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question