OVH Cloud OVH Cloud

LOWID emule avec FW FreeBSD 4.9

1 réponse
Avatar
Seb
Bonjour,

Comment ne pas avoir un lowid avec emule???
(You have a lowid. Please review your network config and/or your settings.
Your 4662 port is not reachable. Please review your network config.)

J'ai un FW FreeBSD 4.9

voici mes scripts /etc/ipfw.rules et /etc/natd.conf:


------------------------------------------------------
ipfw.rules

00100 allow ip from any to any via lo0
00200 allow ip from any to any via dc0
00300 allow ip from any to any via dc1
00400 allow ip from any to any via dc2
00500 allow ip from any to any via dc3
00600 allow ip from any to any via rl0
00700 allow ip from any to any via ppp0
00800 allow tcp from any to any out xmit tun0 setup
00900 allow tcp from any to any via tun0 established
01000 allow tcp from any to any 22
01100 allow tcp from any to any 25
01200 allow tcp from any to any 80
01300 allow tcp from any to any 143
01400 allow tcp from any to any 3389
01500 allow tcp from any to any 4662
01600 allow udp from any to any 4672
01700 allow udp from any to any 53 out xmit tun0
01800 allow udp from any 53 to any in recv tun0
01900 allow udp from any to any 33434 out xmit tun0
02000 allow udp from any 33434 to any in recv tun0
02100 allow icmp from any to any icmptype 0
02200 allow icmp from any to any icmptype 3
02300 allow icmp from any to any icmptype 8
02400 allow icmp from any to any icmptype 11
02500 allow udp from any to any 33434-33523
02600 deny ip from any to any
------------------------------------------------------

------------------------------------------------------
natd.conf

interface tun0
unregistered_only no
use_sockets yes
same_ports yes
dynamic yes
redirect_port tcp 192.168.1.56:3389 3389
redirect_port tcp 192.168.1.56:4662 4662
redirect_port udp 192.168.1.56:4662 4662
redirect_port udp 192.168.1.56:4672 4672
------------------------------------------------------

Comment vérifier que natd fonctionne bien???

Est-ce que ces paramètres sont correctes???


Merci.

1 réponse

Avatar
Antoine Jacoutot
Seb wrote:

Bonjour,

Comment ne pas avoir un lowid avec emule???
(You have a lowid. Please review your network config and/or your settings.
Your 4662 port is not reachable. Please review your network config.)


Voici ma config pour emule (et ça fonctionne, je ne suis pas en lowID):

- ipfw.conf
${fwcmd} add allow tcp from any to any 4661,4662 keep-state setup
${fwcmd} add allow udp from any to any 4665 keep-state

- natd.conf
redirect_port tcp 192.168.0.2:4661 4661
redirect_port tcp 192.168.0.2:4662 4662
redirect_port udp 192.168.0.2:4665 4665