|
Re: lug-bg: Re: restrict HTTP/FTP
- Subject: Re: lug-bg: Re: restrict HTTP/FTP
- From: nick@xxxxxxxxx (freeman)
- Date: Wed, 14 Feb 2001 21:28:55 +0200 (EET)
ipchains -I input -j DENY -p tcp -s 10.10.10.15 -d 0/0 23
gotov si. :-)
////
=========================(@ @)========================
Powered By Unix oOo O oOo nick@xxxxxxxxx
======================== == == =======================
On Wed, 14 Feb 2001, Nickola Kolev wrote:
> > ipchains -A forward -p tcp -j DENY -s 0.0.0.0/0 -d 10.10.10.15 80
> >
> > spored men bi sledvalo tova da mi varshi rabota , no
> > za beda nishto ne stava .
> >
>
> a ne bi li sledvalo explicitno da zabranish input i output s destination toq
> address?
>
> ipchains -P input DENY
> ipchains -P output DENY
>
> ipchains -P forward DENY
>
> ipchains -A input -p tcp -j DENY -s 0.0.0.0/0 -d 10.10.10.15 80
> ipchains -A input -p tcp -j DENY -s 0.0.0.0/0 -d 10.10.10.15 20
> ipchains -A input -p tcp -j DENY -s 0.0.0.0/0 -d 10.10.10.15 21
> ipchains -A output -p tcp -j DENY -s 0.0.0.0/0 -d 10.10.10.15 80
> ipchains -A output -p tcp -j DENY -s 0.0.0.0/0 -d 10.10.10.15 20
> ipchains -A output -p tcp -j DENY -s 0.0.0.0/0 -d 10.10.10.15 21
==================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
Otpiswaneto RABOTI !!! : Majordomo@xxxxxxxxxxxxxxxxxx UNSUBSCRIBE LUG-BG
http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
|
|
|