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

Re: Help with Emule



Hi,
On Thu, Dec 23, 2004 at 09:47:31AM +0200, [email protected] wrote:
> I have difficulty to define correct rules to work with Emule.
> 
> $EXT is my internal interface and $LAN internal one.
> 192.168.0.10 is computer running Emule
> 
> I've defined the following
> 
> rdr on $EXT proto tcp from any to any port 4662 -> 192.168.0.10 port 4662
> rdr on $EXT proto udp from any to any port 4672 -> 192.168.010 port 4672
> 
> pass in on $EXT inet proto tcp from any to 192.168.10 port = 4662 modulate
> state
> pass in on $EXT inet proto udp from any to 192.168.10 port = 4672 keep
> state
You have some errors with your internal IP (192.168.0.10) in your
pf.conf file : 192.168.010 or 192.168.10 in your rules above.
Correct it and everything will work fine.
You can also suppress 'modulate state' on the TCP pass rule : 'modulate
state' are usefull for outbond connections, not inbound. Replace it with
'keep state'.
I have the same rules to use Emule/Amule on an internal host and I have
no problems (connection on server and HighID).
A++ Foxy
-- 
Laurent Cheylus <[email protected]> OpenPGP ID 0x5B766EC2