View Single Post
  #1   (View Single Post)  
Old 19th April 2012
whispersGhost's Avatar
whispersGhost whispersGhost is offline
Real Name: heather
Package Pilot
 
Join Date: May 2008
Location: ny
Posts: 168
Default please check my pf for any errors Thank You

Code:
Code:
# Macros

server = 192.158.0.69
ext_if = "lo0"
int_if = "r10"

#Options
set skip on lo0
set block-policy drop

# Norm Traffic
match in all scrub (no-df max-mss 1440)

# Rerouting
pass in on $ext_if proto tcp from any to $ext_if port 7008 \
rdr-to $server port 7008

# Block Policy
block log all

# Security
antispoof for $ext_if
antispoof for $int_if

# Block Pings
block in on $ext_if inet proto icmp all

#pass 		# to establish keep-state

# By default, do not permit remote connections to X11
block in on ! lo0 proto tcp to port 6000:6010
__________________
The journey is better then the destination

Last edited by ocicat; 19th April 2012 at 12:53 PM. Reason: PLEASE use [code] & [/code] tags when posting file content.
Reply With Quote