View Single Post

   
  #2 (permalink)  
Old 02-16-2008, 06:22 AM
Peter N. M. Hansteen
 
Posts: n/a
Default Re: Building a OpenBSD Gateway Router

"itln.stln" <itln.stln@cox.net> writes:

> The NAT rule that I am using is:
>
> nat on fxp0 from fxp1:network to any -> (fxp0)


assuming fxp0 is your outer interface, this looks correct.

Do you also have rules which allow traffic to pass?

This would be something like

pass out inet proto tcp from $localnet to any port $tcp_services keep state

--
Peter N. M. Hansteen, member of the first RFC 1149 implementation team
http://www.blug.linux.no/rfc1149/ http://www.datadok.no/ http://www.nuug.no/
"First, we kill all the spammers" The Usenet Bard, "Twice-forwarded tales"
Reply With Quote