Re: Firewall settings?

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

 



On Sunday 05 February 2006 01:28, under.actuate@xxxxxxxxx wrote:
>Hey all,
>
>What's the best way to go about opening the required firewall ports to
> allow Azureus?
>
For the newest bittorrent 4 something, I'm using this script, located 
in /etc/sysconfig directory:
---------------
#!/bin/bash
BTFORWARDADDR=192.168.71.3 PORTSTART=6881 PORTEND=6999
/sbin/iptables -t nat -A PREROUTING -i ppp0 -p tcp --dport $PORTSTART:
$PORTEND -j DNAT --to-destination $BTFORWARDADDR
/sbin/iptables -A FORWARD -s $BTFORWARDADDR -p tcp --dport $PORTSTART:
$PORTEND -j ACCEPT
---------------
called iptables-pass-torrent, and although I'm all eth0 and eth1, that 
ppp0 isn't hurting it.

Then, to shut it back off, I just do a service iptables restart, which 
reloads my default rules.

Don't forget to port forward those ports in your router too. :)

>-jared

-- 
Cheers, Gene
People having trouble with vz bouncing email to me should add the word
'online' between the 'verizon', and the dot which bypasses vz's
stupid bounce rules.  I do use spamassassin too. :-)
Yahoo.com and AOL/TW attorneys please note, additions to the above
message by Gene Heskett are:
Copyright 2006 by Maurice Eugene Heskett, all rights reserved.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux