Max Laier wrote:

> On Friday 19 December 2003 11:58, Laurent Cheylus wrote:
> 

[...]
> 
> As long as you don't have/want to block specific IPs from redirection you 
> might just want to add "pass" to the "rdr" rules, like so:
> 
> rdr pass on $EXT proto tcp from any to any port 4662 -> $emule_ip port 4662
> rdr pass on $EXT proto udp from any to any port 4672 -> $emule_ip port 4672
> 

Do I need to use the port in the redirect target?
What happens if I redirect to an IP without specifying a port?

rdr pass on $EXT proto tcp from any to any port 4662 -> $emule_ip

Will it use the port before redirect (4662) or could the target port be 
changed accidentally.

thx

Reply via email to