Diff for /wikisrc/users/imil/cheatsheet.mdwn between versions 1.7 and 1.8

version 1.7, 2012/07/25 21:26:34 version 1.8, 2012/07/25 21:32:43
Line 52  media 100baseTX up Line 52  media 100baseTX up
 inet6 2001:dead:beef:1::1 prefixlen 64  inet6 2001:dead:beef:1::1 prefixlen 64
 """]]  """]]
   
   ## Very basic pf rules for NAT and firewalling
   
   [[!template  id=programlisting text="""
   $ cat /etc/pf.conf
   ext_if="sip0"
   int_if="re0"
   
   nat on $ext_if from !($ext_if) -> ($ext_if:0)
   
   # allow outgoing traffic (S/A is implied)
   pass out on $ext_if
   # block all incoming traffic
   block in log on $ext_if
   """]]
   
 ## Upgrade the system with binaries  ## Upgrade the system with binaries
   
 [[!template  id=programlisting text="""  [[!template  id=programlisting text="""

Removed from v.1.7  
changed lines
  Added in v.1.8


CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb