RE: ipnat -CF -f /etc/ipnat.rules



Hi Caleb,

Add ipfs_enable="YES".

Regards,
Ruben

-----Original Message-----
From: owner-freebsd-questions@xxxxxxxxxxx
[mailto:owner-freebsd-questions@xxxxxxxxxxx] On Behalf Of caleb
Sent: December 31, 2005 3:16 AM
To: freebsd-questions@xxxxxxxxxxx
Subject: ipnat -CF -f /etc/ipnat.rules

Hi everyone,
I have just put together a router/firewall using 5.4 RELEASE
and IPFILTER. Everything is working fine except I have to manually flush
the NAT table every time the router boots. below is my rc.conf and
ipnat.rules, I have used rc.conf to start everything at boot;

/* rc.conf */

gateway_enable="YES"
sshd_enable="YES"
ifconfig_rl1="inet 10.0.0.1 netmask 255.255.255.0"
ifconfig_rl0="inet 192.168.0.1 netmask 255.255.255.0"
hostname="tweak"
ipfilter_enable="YES"
ipfilter_rules="/etc/ipf.rules"
ipmon_enable="YES"
ipmon_flags="-Ds"
ipnat_enable="YES"
ipnat_rules="/etc/ipnat.rules"
ppp_enable="YES"
ppp_mode="ddial"
ppp_nat="NO"
ppp_profile="netspace"
ppp_user="root"

/* ipnat.rules */

map tun0 192.168.0.0/24 -> 0/32


Is there something I am missing? I do not think it is ipf, as I have
configured it to allow everything in and out. Could you please CC me if
you decide to help.

Thankyou,

caleb
--
There is no spoon
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"


--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.14.9/216 - Release Date: 12/29/2005


--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.14.9/216 - Release Date: 12/29/2005


_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • [F8] Local fedora bug reporting system woes?
    ... Subject: Cron /usr/sbin/moodle-cron ... No virus found in this incoming message. ... Checked by AVG Free Edition. ...
    (Fedora)
  • Re: Multiple Subchannel Set Usage
    ... make sure the bases defined as 3390B and the aliases defined as ... No virus found in this outgoing message. ... Checked by AVG Free Edition. ... No virus found in this incoming message. ...
    (bit.listserv.ibm-main)
  • Re: The Angel of Revelation
    ... > literal sense of distinct, individually created, personifiable beings. ... > No virus found in this incoming message. ... > Checked by AVG Free Edition. ... No virus found in this outgoing message. ...
    (soc.religion.bahai)
  • RE: Problem with DBI::Multiplex
    ... No virus found in this incoming message. ... Checked by AVG Free Edition. ... No virus found in this outgoing message. ...
    (perl.dbi.users)
  • Re: [PHP] Alternative/Addition to using a CAPTCHA
    ... Hmm, just wanted to say that Jake, is it because i have my resolution ... >> No virus found in this incoming message. ... >> Checked by AVG Free Edition. ...
    (php.general)