routing issue

Paul Fletcher paulf at FreeBSD-uk.eu.org
Tue Oct 15 23:39:48 BST 2002


evening all,

I have two NICs in a FreeBSD 4.6.2-RELEASE system:

rl0 192.168.0.1/24
dc0 192.168.42.1/24

both work fine. In rc.conf I have gateway_enable="yes" and my ipfw rules are currently set like this:

01000 407925 272906299 allow ip from any to any
65435    187     31227 deny log ip from any to any
65535     32      2332 deny ip from any to any

I want to route between the two NICs according to IPFW rules I specify, but at the minute,
nothing from the LAN side (dc0) gets forwarded past rl0

ADSLRouter---|rl0-dc0|---LAN 

I can ping dc0 and rl0 from the lan, but not the ADSL router. I can however ping the router from the freebsd machine.

anybody got any ideas? any help will be much appriciated

thanks

Paul

--
www.fletch.cx






More information about the Ukfreebsd mailing list