[zorp-hu] HTTP SNAT

Ifj. Darvas Istvan Fireking@DarviNET.Hu
Tue, 27 Aug 2002 23:07:23 +0200


sziasztok,

2.4.19-es kernel

van egy mukodo HTTP Proxy osztalyom.

szuksegem lenne a tuzfal mogott a bongeszo gepek IP-jere. Elolvastam a
referenciat es rajottem, hogy nekem az NAT modul szolgaltatasaibol az
SNAT-ra van szuksegem

ezt kovettem el tettem:

Service("TEST_HTTP",
                Inter_HTTP_DMZ,
                router=DirectedRouter(SockAddrInet (IP_DMZ,80)),
                snat=ForgeClientSourceNAT())
        Listener(SockAddrInet(IP_OUT,15000), "TEST_HTTP")

elindul szepen a proxy es a lenti logokkal leall? Miert? mit hagytam ki?


elore is koszi a segitseget.

sziasztok,

Aug 27 22:54:55 centaury Test[13461]: (zorp/nosession): Zone(dmz): inbound
service=TEST_HTTP
Aug 27 22:54:55 centaury Test[13461]: (zorp/nosession): Zone(internet):
outbound service=TEST_HTTP
Aug 27 22:55:04 centaury Test[13461]: (Zorp@Centaury/TEST_HTTP:0): Starting
proxy instance; client_fd='9',
client_address='AF_INET(213.222.165.148:1335)', client_zone='Zone(internet,
0.0.0.0/0)', client_local='AF_INET(195.70.36.4:15000)'
Aug 27 22:55:04 centaury Test[13461]: (Zorp@Centaury/TEST_HTTP:0/http):
Proxy starting; class='Inter_HTTP_DMZ', module='http'
Aug 27 22:55:04 centaury Test[13487]: (Zorp@Centaury/TEST_HTTP:0/http):
Exception occurred during connection establishment;
Aug 27 22:55:04 centaury Test[13487]: (Zorp@Centaury/TEST_HTTP:0/http): An
error occurred, serving error file;
filename='/usr/share/zorp/http/connecterror.html'
Aug 27 22:55:04 centaury Test[13487]: (Zorp@Centaury/TEST_HTTP:0/http):
Proxy ending; class='Inter_HTTP_DMZ', module='http'
Aug 27 22:55:04 centaury Test[13487]: (Zorp@Centaury/TEST_HTTP:0): client:
accounting info; duration='0', sent='843', received='257'