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.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux Hosts
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > Your Distro > Other Distributions > Arch Linux Help
Reload this Page firewall (iptables)
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Arch Linux Help Help an discussion related to Arch

Reply
 
Thread Tools Display Modes
Old 03-04-2008   #1 (permalink)
opensuser
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)
Kieren
Linux User
 
Join Date: Aug 2007
Location: England
Posts: 280
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.
__________________
My Blog
Linux User #453176
AMD Opteron(tm) Processor 146 (2.01GHz)
1GB Memory
GeForce 7600 GS (256 MB)
Kieren is offline   Reply With Quote
Old 03-06-2008   #3 (permalink)
praka123
Just Joined!
 
praka123's Avatar
 
Join Date: Jan 2006
Location: Kerala,India
Posts: 32
nslookup google.com will help
__________________
Linux is the Future,grab it Yaara
praka123 is offline   Reply With Quote
Old 03-07-2008   #4 (permalink)
Kieren
Linux User
 
Join Date: Aug 2007
Location: England
Posts: 280
This might not get ALL the Google IPs, but only the ones the most local DNS server knows about
__________________
My Blog
Linux User #453176
AMD Opteron(tm) Processor 146 (2.01GHz)
1GB Memory
GeForce 7600 GS (256 MB)
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
How secure is this IPTABLES setup? jimbo7 Linux Security 1 07-16-2007 07:26 AM
Simple bash script help dave0001 Linux Programming & Scripting 1 06-11-2007 06:35 PM
linux ip table firewall Notorious Linux Security 1 04-27-2004 12:20 PM
Firewall frustration.... pengil2k Linux Security 0 03-02-2004 04:09 PM
Internal LAN cannot connect to Apache Server rhonneil Linux Networking 6 11-12-2003 12:45 AM




All times are GMT. The time now is 03:26 PM.




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

Content Relevant URLs by vBSEO 3.0.0