Skip to contentSkip to conversation

how to dynamically open a port using iptables

DISCUSSION Akhilesh 1 participant 1 message Nov 4, 2003 netfilter

lore
Share & tools
lore

Akhilesh

author
#0 lore raw

Hi All,

I want to dynamically open up a port for a Client that is behind the NAT so that outside world can contact my client on that port. How can I do this using iptables.
I'm using uClinux distribution for my gateway with iptablesv1.2.4. I've only a range of ports from which I can open one port for my Client. This port should remain open till the client is alive.
I hope iptables can do this job if not tell the possible hooks inside the kernel for this. I'm using 2.4.18 kernel.

Regards,
Akhilesh
India