Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
11-03-2005, 11:22 AM
|
#16
|
Member
Registered: Sep 2004
Location: western massachusetts
Distribution: fedora core 3, Suse 10
Posts: 877
Original Poster
Rep:
|
Quote:
Originally posted by Capt_Caveman
iptables -I INPUT -p tcp --dport 6881 -j ACCEPT
iptables -I INPUT -p udp --dport 6881 -j ACCEPT
|
just to double check by "adding those rules" you mean entering them in then doing? "service iptables save"?
|
|
|
11-03-2005, 12:56 PM
|
#17
|
Senior Member
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658
Rep:
|
Start by just running them (you can copy and paste them if you like). Then try starting azureus to see if it works properly. If it does, then run the 'service iptables save' command to make the firewall changes permanent.
|
|
|
11-03-2005, 08:11 PM
|
#18
|
Member
Registered: Sep 2004
Location: western massachusetts
Distribution: fedora core 3, Suse 10
Posts: 877
Original Poster
Rep:
|
i still get a nat error after adding those rules
|
|
|
11-03-2005, 09:11 PM
|
#19
|
LQ Guru
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870
|
execute this simple iptables script and see if it does the trick (it should AFAIK)...
you might need to edit the IPT variable (the location of your iptables program)... do a "whereis iptables" if you aren't sure where it is...
Code:
#!/bin/sh
IPT="/usr/sbin/iptables"
$IPT -F
$IPT -F -t nat
$IPT -F -t mangle
$IPT -X
$IPT -X -t nat
$IPT -X -t mangle
$IPT -P INPUT DROP
$IPT -P OUTPUT ACCEPT
$IPT -P FORWARD DROP
$IPT -A INPUT -i lo -j ACCEPT
$IPT -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
$IPT -A INPUT -p TCP --dport 6881 -m state --state NEW -j ACCEPT
$IPT -A INPUT -p UDP --dport 6881 -m state --state NEW -j ACCEPT
$IPT -A INPUT -m limit --limit 3/minute --limit-burst 3 \
-j LOG --log-prefix "INPUT DROP: "
|
|
|
05-26-2006, 09:17 AM
|
#20
|
LQ Newbie
Registered: May 2006
Posts: 1
Rep:
|
Open ports 6881:6999
Hi..I need to open ports 6881:6999 on a freeBSD firewall with a squid-proxy. pls.how do i do this? i also just need to open this for my specific machine. pls reply here or send email to vness@ssc.org.na
|
|
|
05-26-2006, 01:52 PM
|
#21
|
LQ Guru
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870
|
Quote:
Originally Posted by oknees
Hi..I need to open ports 6881:6999 on a freeBSD firewall with a squid-proxy. pls.how do i do this? i also just need to open this for my specific machine. pls reply here or send email to vness@ssc.org.na
|
this is a linux forum... you should ask your question in the BSD forum, which is located over here:
http://www.linuxquestions.org/questi...splay.php?f=17
good luck...
|
|
|
All times are GMT -5. The time now is 06:20 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|