ipchains -A INPUT -i eth0 -s ! 192.168.0.1 -d 192.168.0.1 -j DENY
--- "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> skrev: > On 7.2 how do I block all incoming ip's except from > one address? This > machine is a database and we want it to be read only > from another in house > machine over ip. Would this be correct in blocking > everything but the one > machine? > > Mark > > > From: "juaid" <[EMAIL PROTECTED]> > > Reply-To: [EMAIL PROTECTED] > > Date: Fri, 4 Oct 2002 17:11:05 -0300 > > To: <[EMAIL PROTECTED]> > > Subject: Re: blocking specific ips on a linux > server > > > > From: "Meghan Madel" <[EMAIL PROTECTED]> > > > >> Thank you. I have blocked using the following: > >> ipchains -A input -s 64.12.161.153 -j DENY > > > > great! > > > >> I work at a small school that runs on a linux > network. We are having a > >> problem with students downloading AIM on our > laptops and using it > >> during class. I want to block it on the server. > Any suggestions? > > > > I suppose that AIM is AOL Instant Messenger... > > you just have to know which ports does AIM use, > and block that ports.. > > > > ipchains -A input -s 0/0 xx -p tcp -j DENY # > where xx is the port > > > > you can also do: > > > > ipchains -A input l -s 0/0 xx -p tcp -j DENY # > this logs attempts > > > > regards, > > > > juaid > > > > > > > > -- > > redhat-list mailing list > > unsubscribe > mailto:[EMAIL PROTECTED]?subject=unsubscribe > > > https://listman.redhat.com/mailman/listinfo/redhat-list > > > > > > -- > redhat-list mailing list > unsubscribe > mailto:[EMAIL PROTECTED]?subject=unsubscribe > https://listman.redhat.com/mailman/listinfo/redhat-list ______________________________________________________ Se den nye Yahoo! Mail på http://no.yahoo.com/ Nytt design, enklere å bruke, alltid tilgang til Adressebok, Kalender og Notisbok -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list