Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mldonkey не подключается на 127.0.0.1:4080
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Russian
View previous topic :: View next topic  
Author Message
Andrej
n00b
n00b


Joined: 04 Oct 2003
Posts: 60
Location: Latvia

PostPosted: Sun Aug 13, 2006 2:09 pm    Post subject: mldonkey не подключается на 127.0.0.1:4080 Reply with quote

firefox govorit: The connection was reset запускал через /etc/init.d/mldonkey start
log:
Code:

2006/08/13 16:40:25 Starting MLDonkey 2.6.4 ...
2006/08/13 16:40:25 Language RU, locale UTF-8
2006/08/13 16:40:25 MLDonkey is working in /home/p2p/mldonkey
2006/08/13 16:40:25 [DNS] Resolving [unix8] ...
2006/08/13 16:40:25 [DNS] Resolving [www.mldonkey.net] ...
2006/08/13 16:40:25 Logging in /home/p2p/mldonkey/mlnet.log
2006/08/13 16:40:26 Core started

Куда копать?
Back to top
View user's profile Send private message
Andrej
n00b
n00b


Joined: 04 Oct 2003
Posts: 60
Location: Latvia

PostPosted: Sun Aug 13, 2006 2:17 pm    Post subject: Reply with quote

Сделал /etc/init.d/iptables stop mldonkey завелся! в правилах иртаблеса прописан только маскарадинг! не понимаю в чем дело
Back to top
View user's profile Send private message
fank
l33t
l33t


Joined: 16 Oct 2004
Posts: 794
Location: Minsk, Belarus

PostPosted: Mon Aug 14, 2006 7:57 am    Post subject: Reply with quote

а скрипт фаера привести?
чуть подробнее опиши, как всё настроено
Code:
# Политика по умолчанию
$IPTABLES --policy INPUT DROP
$IPTABLES --policy OUTPUT DROP
$IPTABLES --policy FORWARD DROP

# Allow unlimited traffic on the loopback interface
$IPTABLES -A INPUT -i lo -j ACCEPT
$IPTABLES -A OUTPUT -o lo -j ACCEPT

какая политика по умолчанию?
есть такое?
Back to top
View user's profile Send private message
Andrej
n00b
n00b


Joined: 04 Oct 2003
Posts: 60
Location: Latvia

PostPosted: Thu Aug 17, 2006 8:47 am    Post subject: Reply with quote

Code:

# /sbin/iptables -N ports
# /sbin/iptables -A INPUT -i lo -j ACCEPT
# /sbin/iptables -A INPUT -j ports
# /sbin/iptables -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
# /sbin/iptables -P INPUT DROP

iptables -A FORWARD -j ACCEPT
iptables -t nat -A POSTROUTING -j MASQUERADE

еще открыты порты на торрент и mldonkey
Back to top
View user's profile Send private message
fank
l33t
l33t


Joined: 16 Oct 2004
Posts: 794
Location: Minsk, Belarus

PostPosted: Thu Aug 17, 2006 12:24 pm    Post subject: Reply with quote

ну неужто сам не видишь разницы между моими правилами и твоми? :D
Code:
$IPTABLES -A OUTPUT -o lo -j ACCEPT

вот правило, которое разрешит птице подключиться к локалхосту
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Russian All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum