Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 May 1999 18:21:32 +0200
From:      Len Conrad <lconrad@Go2France.com>
To:        freebsd-questions@freebsd.org
Subject:   "ipfw add fwd ipaddr ip ..." syntax
Message-ID:  <4.2.0.56.19990530180943.00a93530@go2france.com>

next in thread | raw e-mail | index | archive | help
We can't come up with a command line that ipfw will swallow.

I guess what we're trying to do is make a kind of "level3 switch" function.

hardware config:

WAN on if0: x.y.z.200
[mainrouter freebsd + ipfw]
LAN on if1: 192.168.253.254

Ethernet

LAN if0: x.y.z.214
[somehost]

What we want is to receive on the mainrouter WAN packets for .214 and 
forward on the LAN to somehost.

We've read the man ipfw page many times, and here's what we come up with:

ipfw add fwd x.y.z.214 ip from any to x.y.z.214 via if1

tia,
Len





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




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