Results 1 to 2 of 2
-
01-28-2007, 02:12 AM #1Froggy Support
- Join Date
- Aug 2004
- Posts
- 1,387
Challenge: Block all IP addresses except one from accessing server.
The subject pretty much says it all. A simple implementation / reversal is what we are looking for.
Thanks.
-
01-28-2007, 02:43 AM #2Web Hosting Master
- Join Date
- Nov 2001
- Location
- Philadelphia, Pa
- Posts
- 948
Block from what? SSH? HTTP? Everything?
iptables -P INPUT DROP
iptables -A INPUT -p tcp -s xxx.xxx.xxx.xxx -j accept