Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Sep 2015 11:30:58 +0300
From:      "Andrey V. Elsukov" <bu7cher@yandex.ru>
To:        lsrz2006@sina.com, freebsd-ipfw <freebsd-ipfw@freebsd.org>
Subject:   Re: proxy_rule is missing in kernel nat?
Message-ID:  <5608FAC2.5070104@yandex.ru>
In-Reply-To: <20150928023428.011A447814F@webmail.sinamail.sina.com.cn>
References:  <20150928023428.011A447814F@webmail.sinamail.sina.com.cn>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On 28.09.2015 05:34, lsrz2006@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


[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBCAAGBQJWCPrHAAoJEAHF6gQQyKF65YIIAIhFaG4XzBlz6Ju9xQ+yotnV
essGt/j1CySudEUZc/RQ96muKPscvd9twHB0nGJV5ZFRfAQ//Fau+gFqN52hAi0b
r0EWLIm5WxqvwyD2DA8zDuPUeljh8JKWKrwMJ+bA6FEu0ezVxoGMsObC8L0+xB+Y
tA5lrBDn4qMLQ9ZIw8b+KqgqRjMa92swSqd2YxM5EzAazWxe0aPTpjzdFXWwdgNL
NNAVX7zbbYbmfDGCh424PcrPGma0viVzrmgdzleq2CRh4xl1/gWYie9qZVx4srfr
PltnV1xc3GcVylvBvwBfmrCS7+HWAuxwrIORamvUY/6R+VG9RRw9ob2wUm01Yb4=
=bq58
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5608FAC2.5070104>