forwarding between two interfaces

Kelly Yancey kbyanc at posi.net
Fri Feb 18 13:02:04 PST 2005


On Tue, 15 Feb 2005, Teva AVRIL wrote:

> hi,
>
> i have a station under FreeBSD 5.3 with an ethernet card and an atm card.
> each cards have an IP address .
> I'd like to forward all traffic coming on the atm card to the ethernet card.
>
> Is it possible with ipfw?
>

  You don't need ipfw for this.  Try `sysctl net.inet.ip.forwarding=1`
or put gateway_enable=YES in your /etc/rc.conf and reboot.

  Kelly

--
Kelly Yancey  -  kbyanc@{posi.net,FreeBSD.org}  -  kelly at nttmcl.com
FreeBSD, The Power To Serve: http://www.freebsd.org/


More information about the freebsd-ipfw mailing list