OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Telent (telent_at_mordac.info)
Date: Sat Jan 04 2003 - 15:04:19 CST

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    > /etc/hostname.* configured
    > /etc/sysctl.conf -> net.inet.ip.forwarding = 1
    > /etc/rc.conf -> pf=YES

    So far, so good...

    > /etc/pf.conf -> nat on vr1 from 10.0.0.0/8 to any -> 192.168.0.1 ->
    > pass in all, pass out all

    Not sure whether you just formatted it this way, but it makes it
    confusing.

    Is this what you meant to write?

    /etc/pf.conf:
    nat on vr1 from 10.0.0.0/8 to any -> 192.168.0.1
    pass in all
    pass out all

    > # vr1 is external nic connected to hub which is connected to the
    > # outside.
    >
    > I'm used to a /etc/nat.conf and a /etc/mygate, neither of which is in
    > this release. I would appreciate any insight anyone could provide.

    nat.conf has been merged with pf.conf. mygate is still used if a
    gateway is needed; you just have to create it yourself (it's never
    created if a default gateway is not specified in the install, or so I
    recall).

    -Sunny Raspet