Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Feb 2000 10:32:14 -0800
From:      "Martijn de Munnik" <archiver@db.geocrawler.com>
To:        freebsd-net@freebsd.org
Subject:   portforwarding
Message-ID:  <200002151832.KAA04192@www.geocrawler.com>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200002151832.KAA04192>