natd / ipfw services on internal interface

Ivan Voras ivoras at freebsd.org
Mon Sep 10 20:45:40 PDT 2007


Joe wrote:
> I have a question about natd/ and ipfw.  I am running natd on my external interface and I have some services on my internal interface. 
> 
> The services seem to be getting their ip addresses nat'd and some of them work and some of them dont.  
> 
> Any idea how to prevent things from going into natd?

You should specify more information about your setup, but generally you 
should be able to just insert a rule like "ipfw add xxx allow ip from 
mynet/mask to mynet/mask", where "xxx" is the rule-number BEFORE your 
natd redirection rule-number and mynet/mask describes your internal network.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 249 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20070911/42774654/signature.pgp


More information about the freebsd-questions mailing list