View Single Post
  #5   (View Single Post)  
Old 31st July 2009
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Banned
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Default

By default, OpenBSD randomizes the source port to avoid conflicts with local services..

For example.. a randomized state might look like in sudo pfctl -ss output:
Code:
all udp $external_ip:51348 ($silly_gamer:6942) -> $game_server:9000       MULTIPLE:SINGLE
And unmodified (static-port):
Code:
all udp $your_external_ip:6942 ($silly_gamer:6942) -> $game_server:9000       MULTIPLE:SINGLE
Typically pf maps ports into the higher "unreserved" ranges to avoid conflicting with services that may be utilizing ports on your router.

Correct me if I'm wrong jggimi/ocicat.. or other experts..

Hope that helps.
Reply With Quote