RE: IPF/IPNat router/gateway

2004-05-24 Thread Michael Zimmer

   Sorry for the confusion; the Windows machine(s) were connected to the
   BSD box through a smaller hub I had lying around.  The IPs are all
   static and have been manually entered.  ...the ISP swears up and down
   that they don't rely on DHCP, so I'm still somewhat at a loss.


   thanks again.

   From: JJB [EMAIL PROTECTED]
   Reply-To: [EMAIL PROTECTED]
   To: Michael Zimmer
   [EMAIL PROTECTED],[EMAIL PROTECTED]
   Subject: RE: IPF/IPNat router/gateway
   Date: Sun, 23 May 2004 22:16:17 -0400
   
   Problem can be in how you are cabled or how you assign private lan
   IP address to xp box behind FBSD.
   
   An single xp box cabled to your FBSD needs to be cabled using an
   crossover cable. An normal configuration is cabling FBSD box
   directly to public internet cable or dsl modem and then have all the
   xp systems cabled to hub and the hub cabled to FBSD box.
   
   Xp uses DHCP to automatically get an network ip address assigned and
   the reference DNS server ip address to use. On an private lan you
   have 2 ways of doing this. The manual way is to enter the network
   assigned ip address and dns servers ip address into xp. The other
   way is to install an DHCP server software on your FBSD gateway box
   so xp can get the info it needs automatically.
   
   -Original Message-
   From: [EMAIL PROTECTED]
   [mailto:[EMAIL PROTECTED] Behalf Of Michael
   Zimmer
   Sent: Sunday, May 23, 2004 8:08 PM
   To: [EMAIL PROTECTED]
   Subject: IPF/IPNat router/gateway
   
   
   Hello.  I apologize for asking a question which has been asked
   several
   dozen times before, but none of the prior-offered solutions seem
   to
   work.
   
   I'm trying to use a freeBSD box (v 5.1) as a gateway/router for
   my
   network.  I've got a static IP range for the network, but can't
   get
   things running.  (...the local machines are all running Windows
   XP
   Pro)
   
   The local machines can connect to my ISP when they're plugged in
   to
   the uplink, whether individually or through a hub, and the
   freeBSD box
   can as well.  ...however, a machine plugged into the BSD box is
   unable
   to ping the BSD box and vice versa.
   
   IPF is set to pass in/out quick all from any to any
   
   IPNat has the following rules set:
   
   map rl0 192.168.1.0/24 - x.x.x.254/32 portmap tcp/udp
   1:4
   map rl0 192.168.1.0/24 - x.x.x.254/32
   
   IP of the BSD box is x.x.x.254, mask 255.255.255.224 on the
   external
   NIC
   IP of the BSD box is 192.168.1.1, mask 255.255.255.224 on the
   internal
   NIC
   
   the lone machine connected to it at the moment is set on
   IP 192.168.1.2,
   mask 255.255.255.224,
   gateway 192.168.1.1
   
   ...and rc.conf has gateway_enable, ipfilter_enable and
   ipnat_enable
   all set to YES
   
   thanks.
   
   _
   
   [1]Stop worrying about overloading your inbox - get MSN Hotmail
   Extra
   Storage!
   
   References
   
   1. http://g.msn.com/8HMAENUS/2737??PS=47575
   ___
   [EMAIL PROTECTED] mailing list
   http://lists.freebsd.org/mailman/listinfo/freebsd-questions
   To unsubscribe, send any mail to
   [EMAIL PROTECTED]
   
   ___
   [EMAIL PROTECTED] mailing list
   http://lists.freebsd.org/mailman/listinfo/freebsd-questions
   To unsubscribe, send any mail to
   [EMAIL PROTECTED]
 _

   [1]FREE pop-up blocking with the new MSN Toolbar get it now!

References

   1. http://g.msn.com/8HMBENUS/2728??PS=47575
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


IPF/IPNat router/gateway

2004-05-23 Thread Michael Zimmer

   Hello.  I apologize for asking a question which has been asked several
   dozen times before, but none of the prior-offered solutions seem to
   work.

   I'm trying to use a freeBSD box (v 5.1) as a gateway/router for my
   network.  I've got a static IP range for the network, but can't get
   things running.  (...the local machines are all running Windows XP
   Pro)

   The local machines can connect to my ISP when they're plugged in to
   the uplink, whether individually or through a hub, and the freeBSD box
   can as well.  ...however, a machine plugged into the BSD box is unable
   to ping the BSD box and vice versa.

   IPF is set to pass in/out quick all from any to any

   IPNat has the following rules set:

   map rl0 192.168.1.0/24 - x.x.x.254/32 portmap tcp/udp 1:4
   map rl0 192.168.1.0/24 - x.x.x.254/32

   IP of the BSD box is x.x.x.254, mask 255.255.255.224 on the external
   NIC
   IP of the BSD box is 192.168.1.1, mask 255.255.255.224 on the internal
   NIC

   the lone machine connected to it at the moment is set on
   IP 192.168.1.2,
   mask 255.255.255.224,
   gateway 192.168.1.1

   ...and rc.conf has gateway_enable, ipfilter_enable and ipnat_enable
   all set to YES

   thanks.
 _

   [1]Stop worrying about overloading your inbox - get MSN Hotmail Extra
   Storage!

References

   1. http://g.msn.com/8HMAENUS/2737??PS=47575
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: IPF/IPNat router/gateway

2004-05-23 Thread Andras Kende
 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Michael Zimmer
Sent: Sunday, May 23, 2004 7:08 PM
To: [EMAIL PROTECTED]
Subject: IPF/IPNat router/gateway


   Hello.  I apologize for asking a question which has been asked several
   dozen times before, but none of the prior-offered solutions seem to
   work.

   I'm trying to use a freeBSD box (v 5.1) as a gateway/router for my
   network.  I've got a static IP range for the network, but can't get
   things running.  (...the local machines are all running Windows XP
   Pro)

   The local machines can connect to my ISP when they're plugged in to
   the uplink, whether individually or through a hub, and the freeBSD box
   can as well.  ...however, a machine plugged into the BSD box is unable
   to ping the BSD box and vice versa.

   IPF is set to pass in/out quick all from any to any

   IPNat has the following rules set:

   map rl0 192.168.1.0/24 - x.x.x.254/32 portmap tcp/udp 1:4
   map rl0 192.168.1.0/24 - x.x.x.254/32

   IP of the BSD box is x.x.x.254, mask 255.255.255.224 on the external
   NIC
   IP of the BSD box is 192.168.1.1, mask 255.255.255.224 on the internal
   NIC

   the lone machine connected to it at the moment is set on
   IP 192.168.1.2,
   mask 255.255.255.224,
   gateway 192.168.1.1

   ...and rc.conf has gateway_enable, ipfilter_enable and ipnat_enable
   all set to YES

   thanks.
 _



Hello,

I used this great howto to get my ipfilter gateway going:
http://bsdguides.org/guides/freebsd/networking/ipfilter.php


however, a machine plugged into the BSD box 
is unable to ping the BSD box and vice versa.

When you connect a XP to the Freebsd you still using Hub right?
Or crossover cable?


Andras Kende
http://www.kende.com


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: IPF/IPNat router/gateway

2004-05-23 Thread JJB
Problem can be in how you are cabled or how you assign private lan
IP address to xp box behind FBSD.

An single xp box cabled to your FBSD needs to be cabled using an
crossover cable. An normal configuration is cabling FBSD box
directly to public internet cable or dsl modem and then have all the
xp systems cabled to hub and the hub cabled to FBSD box.

Xp uses DHCP to automatically get an network ip address assigned and
the reference DNS server ip address to use. On an private lan you
have 2 ways of doing this. The manual way is to enter the network
assigned ip address and dns servers ip address into xp. The other
way is to install an DHCP server software on your FBSD gateway box
so xp can get the info it needs automatically.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Michael
Zimmer
Sent: Sunday, May 23, 2004 8:08 PM
To: [EMAIL PROTECTED]
Subject: IPF/IPNat router/gateway


   Hello.  I apologize for asking a question which has been asked
several
   dozen times before, but none of the prior-offered solutions seem
to
   work.

   I'm trying to use a freeBSD box (v 5.1) as a gateway/router for
my
   network.  I've got a static IP range for the network, but can't
get
   things running.  (...the local machines are all running Windows
XP
   Pro)

   The local machines can connect to my ISP when they're plugged in
to
   the uplink, whether individually or through a hub, and the
freeBSD box
   can as well.  ...however, a machine plugged into the BSD box is
unable
   to ping the BSD box and vice versa.

   IPF is set to pass in/out quick all from any to any

   IPNat has the following rules set:

   map rl0 192.168.1.0/24 - x.x.x.254/32 portmap tcp/udp
1:4
   map rl0 192.168.1.0/24 - x.x.x.254/32

   IP of the BSD box is x.x.x.254, mask 255.255.255.224 on the
external
   NIC
   IP of the BSD box is 192.168.1.1, mask 255.255.255.224 on the
internal
   NIC

   the lone machine connected to it at the moment is set on
   IP 192.168.1.2,
   mask 255.255.255.224,
   gateway 192.168.1.1

   ...and rc.conf has gateway_enable, ipfilter_enable and
ipnat_enable
   all set to YES

   thanks.

_

   [1]Stop worrying about overloading your inbox - get MSN Hotmail
Extra
   Storage!

References

   1. http://g.msn.com/8HMAENUS/2737??PS=47575
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
[EMAIL PROTECTED]

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]