Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > Your Distro > Other Distributions > Arch Linux Help > firewall (iptables)

Forgot Password?
 Arch Linux Help   Help an discussion related to Arch

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 03-04-2008   #1 (permalink)
Just Joined!
 
Join Date: Mar 2008
Location: Planet Earth
Posts: 1
Send a message via ICQ to opensuser Send a message via MSN to opensuser Send a message via Skype™ to opensuser
firewall (iptables)

Hi,
could you tell me how to disable/enable access to a site and the steps to discover the ip of a site!
Answer the quicker you can please!
opensuser
opensuser is offline  


Reply With Quote
Old 03-04-2008   #2 (permalink)
Linux Enthusiast
 
Kieren's Avatar
 
Join Date: Aug 2007
Location: England
Posts: 730
Quote:
Originally Posted by opensuser View Post
Hi,
could you tell me how to disable/enable access to a site and the steps to discover the ip of a site!
Answer the quicker you can please!
opensuser
To discover the IP address for a website simply ping it. To get Google's IP address you can:

Code:
kieren:/home/kieren# ping www.google.com
PING www.l.google.com (74.125.19.103) 56(84) bytes of data.
64 bytes from cf-in-f103.google.com (74.125.19.103): icmp_seq=1 ttl=244 time=214 ms
64 bytes from cf-in-f103.google.com (74.125.19.103): icmp_seq=2 ttl=244 time=311 ms
64 bytes from cf-in-f103.google.com (74.125.19.103): icmp_seq=3 ttl=244 time=268 ms
64 bytes from cf-in-f103.google.com (74.125.19.103): icmp_seq=4 ttl=244 time=262 ms

--- www.l.google.com ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3003ms
rtt min/avg/max/mdev = 214.905/264.344/311.633/34.291 ms
This shows that Google's IP address is 74.125.19.103. However - large sites such as Google have many different IP address' to deal with many users accessing the site at the same time so it isn't very realistic to block a site by it's IP address.
__________________
Linux User #453176
Kieren is offline   Reply With Quote
Old 03-06-2008   #3 (permalink)
Just Joined!
 
praka123's Avatar
 
Join Date: Jan 2006
Location: Kerala,India
Posts: 32
nslookup google.com will help
praka123 is offline   Reply With Quote
Old 03-07-2008   #4 (permalink)
Linux Enthusiast
 
Kieren's Avatar
 
Join Date: Aug 2007
Location: England
Posts: 730
This might not get ALL the Google IPs, but only the ones the most local DNS server knows about
__________________
Linux User #453176
Kieren is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 01:31 PM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2