Click to See Complete Forum and Search --> : Remote IP block (/24)


LinuxNewbie16
08-15-2002, 04:35 AM
hey guys,
since the last few weeks I contacted more than 12 providers asking for a remote IP block but unfortunately they only offer this service for servers colocated in their own datacenters so I decided to post this message in here maybe someone knows a provider who can offer such services. so any idea ?

Thanks :)

Cadillac84
08-15-2002, 10:34 AM
You should be able to block any IP or range of IP with ipchains or iptables (depending on which version of the Linux kernel you use).

Use the command

uname -a

to determine the kernel version. You should see something like 2.2.16 or 2.4.3

What you want to know is whether you have 2.2.x or 2.4.x

If 2.2.x, use ipchains to establish a rule to block the undesired IP. You can find out more about this by reading with some care the following

ipchains-HowTo -- look on your distribution CD for the HowTos and mini-HowTos and under Networking if you don't see ipchains right away. It's about 34 pages in my SuSE and may be the same for you.

You may also get some help from

man ipchains

but I'd read the IPCHAINS-HOWTO first.

If you use 2.4.x, you will use iptables and should read the corresponding info about iptables

IPTABLES-HOWTO

and

man iptables

Note that iptables is not available for 2.2 kernels.

I suggest you try that and then come back here if you have trouble.

Good luck.

Chuck

Cadillac84
08-15-2002, 08:32 PM
Assuming you're using a kernel that supports "squid" -- I know 2.4 does, but I think 2.2 may also -- you will probably want to read all about squid.

First, read this thread:

http://linuxnewbie.org/forum/showthread.php?threadid=59557

and then go to this website and d/l 103 pg manual in PDF format:

http://squid.visolve.com/

You may not need to spend the $500 for engineering support, but this is a very high-grade application.

Be sure to check it out. I found that MY requirement was EXACTLY the same as Floog's -- everyone needs Internet access but it is to be a business only operation!

Chuck

P.S. You can "subscribe" to the thread and follow Floog's progress.

C

LinuxNewbie16
08-16-2002, 04:23 AM
guys i guess you didn't understand my question, i mean by IP block a 254 block that's mean a class c...