Skip to contentSkip to conversation

help for iptables

DISCUSSION SWAPNIL 2 participants 2 messages Jul 20, 2005 – Jul 21, 2005

lore
Share & tools
lore

SWAPNIL

author
#0 lore raw

Dear All,

Please find the link of my network for your reference.

http://downloadftp.modular-infotech.com/common/share/network.gif

My client1 PC and client 2 PC will be connected to the internet using proxy and only client 2 pc will be connected to one remote sever or domain or ip using iptables.

From remote location anyone can connect my local web sever through my global DNS server
eg. someone must first connected to my global DNS server for resolving host name then he will get routed to my local router and router will connect that remote user to my local webserver on any proto and any port.

Also I would like to track each connection session with my websever.

what should I do in such scenario ?

please help me otherwise my job will be in trouble.

Basically I am new in Linux I had tried lot of on iptables rules, but I cant achieve final target.

Swapnil K.
System Group

Modular Infotech Pvt. Ltd.
26 Electronic Co-operative Estate,
Pune Satara Road, Pune. 411 009.
Maharshtra. INDIA.
Ph: +91-20-24226612 Ext. 206.
Fax: +91-20-24225896.
E-mail: postmaster-7q9UKRfBbZqkPPdVYLq4elaTQe2KTcn/@public.gmane.org
Website: www.modular-infotech.com
_______________________________________________
ilugd mailinglist -- ilugd-cunTk1MwBs8/[email protected]
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/ilugd-cunTk1MwBs8/[email protected]/

#1 lore raw
Quoted 16 lines · SWAPNIL

Dear All,

Please find the link of my network for your reference.

http://downloadftp.modular-infotech.com/common/share/network.gif

My client1 PC and client 2 PC will be connected to the internet using proxy and only client 2 pc will be connected to one remote sever or domain or ip using iptables.

Quoted 1 line

From remote location anyone can connect my local web sever through my global

DNS server
eg. someone must first connected to my global DNS server for resolving host name then he will get routed to my local router and router will connect that remote user to my local webserver on any proto and any port.

Quoted 8 lines

Also I would like to track each connection session with my websever.

what should I do in such scenario ?

please help me otherwise my job will be in trouble.

Basically I am new in Linux I had tried lot of on iptables rules, but I cant achieve final target.

<snip>
I'm a little unsure of what you are trying to accomplish. What do you mean by "someone must first connect to my global DNS server or resolving host name then he will get routed to my local router"? Perhaps I don't understand but that seems strange.

Do you really want to publicly expose any protocol and any port on a server to the world? That sounds awfully dangerous.

What do you mean my track each connection session with your webserver. Will simple logging of the connection event be sufficient or do you need details web server logs?

I'm afraid I will be offline for a couple of days so, if someone else could jump in to help, that would be much appreciated - John

Signature · 8 lines
John A. Sullivan III
Open Source Development Corporation
+1 207-985-7880
[email protected]

If you would like to participate in the development of an open source
enterprise class network security management system, please visit
http://iscs.sourceforge.net