Samantha on Tue, 27 Aug 2002 18:10:11 +0200


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

Re: [PLUG] [OT?] OpenBSD pf rules


I found something here that *might* be what you are looking for...I am 
not sure.

http://www.usethesource.com/articles/02/08/22/1536244.shtml

Hope it helps.

-Samantha



On Mon, 26 Aug 2002, Fred K Ollinger wrote:

> I'm trying to use OpenBSD as a 2 way nat in my house. Here's my rules:
> 
> /etc/nat.conf
> 
> nat on sis0 from 192.168.0.2/24 to any -> 192.168.3.1
> nat on dc0 from 192.168.3.1/24 to any -> 192.168.0.2
> 
> I wanted to do:
> 
> binat on sis0 from 192.168.0.2/24 to any -> 192.168.3.1
> 
> But this gives me a syntax error.
> 
> I can ping computers from the computer inside:
> 
> twain (solaris 8): 192.168.3.2 connects to dano (openbsd) 192.168.3.1
> (sis0)
> 
> dano (openbsd) 192.168.0.2 (dc0) connects to underwood (debian 3)
> 192.168.0.1
> 
> Also, how to tell underwood that the route to 192.168.3.0 is through dano
> rather than through default (ppp0)?
> 
> Sorry if this was so confusing.
> 
> Fred Ollinger (follinge@sas.upenn.edu)
> CCN sysadmin
> 
> 
> _________________________________________________________________________
> Philadelphia Linux Users Group        --       http://www.phillylinux.org
> Announcements - http://lists.netisland.net/mailman/listinfo/plug-announce
> General Discussion  --   http://lists.netisland.net/mailman/listinfo/plug
> 

-- 
Samantha

_________________________________________________________________________
Philadelphia Linux Users Group        --       http://www.phillylinux.org
Announcements - http://lists.netisland.net/mailman/listinfo/plug-announce
General Discussion  --   http://lists.netisland.net/mailman/listinfo/plug