Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Feb 2000 10:16:23 -0500 (EST)
From:      Omachonu Ogali <oogali@intranova.net>
To:        Martijn de Munnik <m.h.m.demunnik@phys.uu.nl>
Cc:        freebsd-net@freebsd.org
Subject:   Re: portforwarding
Message-ID:  <Pine.BSF.4.10.10002171014440.91789-100000@hydrant.intranova.net>
In-Reply-To: <200002151832.KAA04192@www.geocrawler.com>

next in thread | previous in thread | raw e-mail | index | archive | help
ipfw add fwd 172.16.70.51,25 tcp from any to 194.109.56.89 25

If that doesn't work check to see if you enabled IPFIREWALL_FORWARD in the
kernel.

On Tue, 15 Feb 2000, Martijn de Munnik wrote:

> This message was sent from Geocrawler.com by "Martijn de Munnik" <m.h.m.demunnik@phys.uu.nl>
> Be sure to reply to that address.
> 
> I've been using linux with ipchains for this for 
> a while but I want to switch to FreeBSD. We got a 
> gateway to the internet with a privat network 
> behind it everything is working fine but i'm not 
> able to do portforwarding (or whatever it's 
> called). I want to forward all incomming 
> connections to 194.109.56.89 (172.16.70.1 on the 
> inside) port 25 to 172.16.70.51 port 25 (this are 
> just example ipnumbers)...
> So I did the following
> 
> ipfw add allow tcp from 172.16.70.1 to 
> 172.16.70.1 25
> ipfw add fwd 172.16.70.51,25 from any to 
> 194.109.56.89
> 
> but it doesn't seem to work
> BTW
> a rule that is later declared:
> ipfw add allow all from any to any
> 
> Can anyone tell me what is wrong???
> 
> Geocrawler.com - The Knowledge Archive
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-net" in the body of the message
> 

-- 
+-------------------------------------------------------------------------+
| Omachonu Ogali                                     oogali@intranova.net |
| Intranova Networking Group                 http://tribune.intranova.net |
| PGP Key ID:                                                  0xBFE60839 |
| PGP Fingerprint:       C8 51 14 FD 2A 87 53 D1  E3 AA 12 12 01 93 BD 34 |
+-------------------------------------------------------------------------+



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.10002171014440.91789-100000>