OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: cmustard (cmustard_at_nyc.rr.com)
Date: Sat Jan 04 2003 - 07:47:51 CST

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

    I have just set up NAT on a 3.2 box. There are some changes to setting up
    NAT this release which i thought i understood but apparently did not.
    I am also running dhcp to the internal network. The dhcpd server seems to
    be working fine because everybody is recieving an ip and can ping all
    boxes on the internal network. The problem is no one can ping anything
    outside the internal network.

    Here are some details:
    /etc/hostname.* configured
    /etc/sysctl.conf -> net.inet.ip.forwarding = 1
    /etc/rc.conf -> pf=YES
    /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.

    Thanks in advance.

    -Mus