[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

confusion with natd



On Friday 01 October 2004 16:21, Leon Garde wrote:
> The other way ?to route by source is to use a rule like this
>
> 'ipfw add ?1 fwd ?192.168.10.2 ?from 192.168.0.3 to any '

Thanks! That did the job, and now 192.168.0.3 is being routed to the inet via 
tun0.

on HOST_B (local router), rules now look like:

ipfw add 1 allow ip from 192.168.0.0/24 to me
ipfw add 2 fwd 192.168.10.1 ip from 192.168.0.3 to any

if I delete 2nd rule, 192.168.0.3 is being routed as the rest of the LAN.


and HOST_A (remote host), has natd running on rl0 + the following routing:

route add 192.168.0.0/24 192.168.10.2

kind regards,
M.

Visit your host, monkey.org