Date: Fri, 12 May 2000 09:56:24 -0700 From: "Jeremy Warner" <jwarner182@yahoo.com> To: <questions@freebsd.org> Subject: IPFW and NATD question Message-ID: <001401bfbc33$025f0980$1001a8c0@northwesttechnical.com>
index | next in thread | raw e-mail
[-- Attachment #1 --] I trying to setup NATD and IPFW and im not getting very far. I'm using FreeBSD-4.0. My gateway server is connected to the internet (fxp0) and it is also connected to my network (fxp1) I am trying to get natd to divert my internal network 192.168.1.0 through my gateway so that my internal network can see the internet, but for some reason its not working. I compiled my Kernal with: options IPFIREWALL options IPFIREWALL_VERBOSE options IPDIVERT This is what my rc.conf file looks like: ifconfig_fxp0="inet 206.163.165.1 netmask 255.255.255.224" ifconfig_fxp1="inet 192.168.1.1 netmask 255.255.255.0" gateway_enable="YES" defaultrouter="206.163.165.30" named_enable="YES" network_interfaces="lo0 fxp0 fxp1" hostname="gw.northwesttechnical.com" natd_enable=YES natd_interface="fxp0" natd_flags="-f /etc/natd.conf" firewall_enable=YES firewall_type=open firewall_quiet=YES This is my natd.conf file: interface fxp0 deny_incoming yes use_sockets yes same_ports yes If anyone has any ideas here let me know. Thanks... [-- Attachment #2 --] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META content="text/html; charset=iso-8859-1" http-equiv=Content-Type> <META content="MSHTML 5.00.2314.1000" name=GENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=#ffffff> <DIV><FONT face=Arial size=2>I trying to setup NATD and IPFW and im not getting very far.</FONT></DIV> <DIV><FONT face=Arial size=2>I'm using FreeBSD-4.0.</FONT></DIV> <DIV><FONT face=Arial size=2>My gateway server is connected to the internet (fxp0) and it is also connected to my network (fxp1)</FONT></DIV> <DIV><FONT face=Arial size=2>I am trying to get natd to divert my internal network 192.168.1.0 through my gateway so that my internal network can see the internet, but for some reason its not working.</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>I compiled my Kernal with:</FONT></DIV> <P><FONT face=Arial size=2>options IPFIREWALL<BR>options IPFIREWALL_VERBOSE<BR>options IPDIVERT</FONT></P> <DIV><FONT face=Arial size=2>This is what my rc.conf file looks like:</FONT></DIV> <DIV> </DIV> <DIV><FONT face=Arial size=2>ifconfig_fxp0="inet 206.163.165.1 netmask 255.255.255.224"<BR>ifconfig_fxp1="inet 192.168.1.1 netmask 255.255.255.0"<BR>gateway_enable="YES"<BR>defaultrouter="206.163.165.30"<BR>named_enable="YES"<BR>network_interfaces="lo0 fxp0 fxp1"<BR>hostname="gw.northwesttechnical.com"<BR>natd_enable=YES<BR>natd_interface="fxp0"<BR>natd_flags="-f /etc/natd.conf"<BR>firewall_enable=YES<BR>firewall_type=open</FONT></DIV> <DIV><FONT face=Arial size=2>firewall_quiet=YES</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>This is my natd.conf file:</FONT></DIV> <DIV> </DIV> <DIV><FONT face=Arial size=2>interface fxp0<BR>deny_incoming yes</FONT></DIV> <DIV><FONT face=Arial size=2>use_sockets yes<BR>same_ports yes</FONT></DIV> <DIV> </DIV> <DIV> </DIV> <DIV><FONT face=Arial size=2>If anyone has any ideas here let me know.</FONT></DIV> <DIV> </DIV> <DIV><FONT face=Arial size=2>Thanks...</FONT></DIV> <DIV> </DIV></BODY></HTML>help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001401bfbc33$025f0980$1001a8c0>
