Newbie

Odhiambo Washington wash at wananchi.com
Fri Aug 25 15:15:30 UTC 2006


* On 25/08/06 12:01 -0300, Bruno Bandeira wrote:
| Hey Guys,
| 
| I am newbie in pf world, so i need to put my network to access internet ....
| 
| My gateway is a freebsd machine, and i have a few questions... PS: I have
| read the manual =)
| 
| I need to nat my network.How can i do this? I try this..
| 
| nat on $ext_if from $rede to any -> ($ext_if)
| 
| My default policy is:
| 
| block in all
| 
| And the statefull spection
| 
| pass out keep state
| 
| So i need to known, how can i put it working .... from my workstation i
| can't access the internet .....=(
| 
| Thanks anyway
| 
| Bruno

Hi Bruno,

Please try to read the PF FAQ - http://cvs.openbsd.org/faq/pf/ and you 
will finally land in http://cvs.openbsd.org/faq/pf/example1.html,
which is what you are asking about ;)

-Wash

http://www.netmeister.org/news/learn2quote.html

DISCLAIMER: See http://www.wananchi.com/bms/terms.php

--
+======================================================================+
    |\      _,,,---,,_     | Odhiambo Washington    <wash at wananchi.com>
Zzz /,`.-'`'    -.  ;-;;,_ | Wananchi Online Ltd.   www.wananchi.com
   |,4-  ) )-,_. ,\ (  `'-'| Tel: +254 20 313985-9  +254 20 313922
  '---''(_/--'  `-'\_)     | GSM: +254 722 743223   +254 733 744121
+======================================================================+

As the poet said, "Only God can make a tree" -- probably because it's
so hard to figure out how to get the bark on.
		-- Woody Allen


More information about the freebsd-pf mailing list