[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: yum, bittorrent port configuration



On Wed, 19 May 2004 13:14:15 +1000
Matt Hansen <helios82 optushome com au> wrote:

> On Wed, 2004-05-19 at 07:02, Clint Harshaw wrote:
> > > You Don't Need No Steenking redhat-config-securitylevel.
> > > 
> > > Paste this magical incantation on to the end of /etc/rc.local, you can also 
> > > run it from the commandline so you won't have to reboot.
> > > 
> > > /sbin/iptables -I INPUT -p tcp --destination-port 6881:6889 -j ACCEPT
> > > 
> > > - -Andy
> > > 
> > 
> > Thanks Andy!
> > 
> > I've just now run that line, and will keep an eye on the dl!
> 
> Clint, 
>   A more elegant way to save that iptables line is with iptables-save:
> # /sbin/iptables-save > /etc/sysconfig/iptables. 
> 
> Then use 'iptables -L' to check the rule was added.
> 

or:

# service iptables save

to save the iptables rules to /etc/sysconfig/iptables.

Cheers,
Sean



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]