[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
IPFW portforwarding / kernel question
- Subject: IPFW portforwarding / kernel question
- From: cswiger at mac.com (Chuck Swiger)
- Date: Sun Aug 22 10:15:03 2004
Henk wrote:
> My wish is to forward all incoming tcp traffic that arrives on
> 192.168.1.1:4265 to 10.0.10.151:4265 in the local network.
>
> Question 1:
> Can somebody help me out with the right ipfw command to achieve this (or a
> link to where *forwarding* is explained).
ipfw fwd 10.0.10.151 ip from any to 192.168.1.1 4265
If you do this, you also need to convince the machine at 10.0.10.154 to accept
traffic addressed for 192.168.1.1, or you need to use NAT instead.
> Question 2:
> Do I need to recompile my kernel with the IPFIREWALL_FORWARD option?
Yes.
--
-Chuck
Visit your host, monkey.org