No, it's not reverse proxy.

The first connection must be from inner to outer, of course,
and then, in a h.323 session, there may be connection from outer
to inner, like port mode ftp. I think that is why need a in-kenel
proxy.

In ftp proxy code, I found that a state was created by fr_addstate(),
when ipf found the "PORT" command. I think h.323 proxy works in same
way but I can't found the code to create state.

It's strange. :-(

>Hi 
>
>You can't do a reverse proxy with the h323 ( at least I don't know how ;-))
if
>that's your question. 
>
>If you are asking how the proxy works, you'll better have a look at the H.*
>specs ( http://www.h323forum.org/standards/ ). 
>
>Kind regards
>Flemming Laugaard
>------------------------------------
>In a mad world, only the mad are sane.
>       -- Akiro Kurosawa
>
>> But I've another question:
>> In a h.323 session, if the outer box wants to connect to the inner box,
>> just like ftp port mode, how ipf processes it?
>> 
>> I read ftp proxy code, it called fr_addstate() to create a new state
>> to enable outer server to create a data connection to inner box.
>> 
>> But it seems that h.323 proxy doesn't do this.
>> 
>> Thanks.
>> 
>> 
>> >Hello one :-)
>> >
>> >To make the proxy work, you must allow udp and tcp outbound.
>> >Example:
>> >
>> >ipf:
>> >pass in log first quick on INTIF proto tcp from INTIP to any flags S
keep
>> state
>> >pass in log first quick on INTIF proto udp from INTIP to any        
keep
>> state
>> >
>> >ipnat: 
>> >map EXTIF INTIP -> EXTNAT proxy port 1720 h323/tcp
>> >
>> >Then the proxy works fine
>> >
>> >INTIF       Internal interface
>> >EXTIF       External interface
>> >INTIP       Internal IP range
>> >EXTNAT      The IP adress used for NAT
>> >
>> >-- 
>> >Kind regards
>> >Flemming Laugaard
>> >------------------------------------
>> >"The four building blocks of the universe are fire, water, gravel and
>> >vinyl."
>> >            -- Dave Barry
>> > 
>> 
>> 
>> 
>> 
>> 
>> --http://www.eyou.com
>> --??????????????????????  ????????  ????????  ???????? 
????????...????????
>> 
>
> 





--http://www.eyou.com
--�ȶ��ɿ�����ѵ�������  �����ʼ�  �ƶ���ǩ  ��������  ����洢...����δ��


Reply via email to