DCC send/receive and FBSD 5.1 using IPF/IPNAT

Jayel jarthel at excite.com
Sun Aug 24 21:26:38 PDT 2003


I have the following rules in ipnat.rules:
--------------------
rdr tun0 0/32 port 19995 -> 192.168.2.2 port 19995
rdr tun0 0/32 port 19996 -> 192.168.2.2 port 19996
rdr tun0 0/32 port 19997 -> 192.168.2.2 port 19997
rdr tun0 0/32 port 19998 -> 192.168.2.2 port 19998
rdr tun0 0/32 port 19999 -> 192.168.2.2 port 19999
-------------------

I also have the following rules in ipf.rules:
------------------
pass in quick on tun0 proto tcp from any to 192.168.2.2/32 port 19995 >< 19999 flags S keep state
----------------------

Do those rules looks okay for DCC send/receive?

How about setting up a DCC server running on port = 59 on 192.168.2.2/32?

Same rules as above but different port number?

Thank you

jayel

_______________________________________________
Join Excite! - http://www.excite.com
The most personalized portal on the Web!


More information about the freebsd-net mailing list