proxy_rule is missing in kernel nat?

Andrey V. Elsukov bu7cher at yandex.ru
Mon Sep 28 08:32:14 UTC 2015


On 28.09.2015 05:34, lsrz2006 at sina.com wrote:
>                         I had using natd for a proxy for a while time, using the command:
> natd -p 3333 -proxy_only -proxy_rule "server 192.168.6.6 proto tcp"
> 
> but when I use this in kernel nat config, I get a error infomation:
> 
> # ipfw nat 20 config proxy_only proxy_rule server 192.168.6.6ipfw: unrecognised option ``proxy_rule''
> I'd readed the src code in /usr/src/sbin/ipfw and can't find the LibAliasProxyRule() function which is in the natd.c.
> Does I have a mistake?

Hi,

it looks like proxy_rule was forgotten when it was ported.

-- 
WBR, Andrey V. Elsukov

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 538 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-ipfw/attachments/20150928/932c55dd/attachment.bin>


More information about the freebsd-ipfw mailing list