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

Ranges in pf...



I'm getting a syntax error for both 'rdr' lines below - any thoughts as
to why?

[Begins]

# Local IPs...
AppleDesktop = "10.10.10.1"
AppleLaptop = "10.10.10.2"

# Port collections
BitTorrent = "{6881 >< 6889}"
iChatAV = "{5060, 5190, 5298, 5353, 5678, 16384 >< 16403 }"

# Bit Torrent magic...
rdr on ne3 proto tcp from any to (ne3) port $BitTorrent -> $AppleDesktop
 
# iChat AV
rdr on ne3 proto { tcp, udp } from any to (ne3) port $iChatAV -> $AppleDesktop

[Ends]

Thanks!

+Pete

-- 
Read over your compositions, and wherever you meet with a passage which
you think is particularly fine, strike it out.
 -- Samuel Johnson