Hi,
At work the boss decides to try out a linux firewall. before I start,
I would like to tell you that i have some basic linux install under my
belt. I have setup pmfirewall under mandrake 7.2 a few years ago.
having said that, I have two questions I need clarifications please.
Can I port forward a port to multiple internal IP address in a
network. Similar to port 80 for instance. If you setup a basic linux
firewall with NAT enable, it opens port 80 and forwards all pockets to
internal IP addresses. I am trying to open a specific port used by
the popular small VNC "tightVNC" There will be several pcs running
windows behind a linux firewall. However, I need to let them have all
access to the same port. In other words, the ports will have to be
open to all internal clients and be ready to accept an incoming
connection.
But what if.....
What if lets say, please bear with me.
You have 1 internal IP address and 3 internal clients. Lets call them
192.168.1.1 / 192.168.1.2 / 192.168.1.3
External IP >>>>>> 192.168.0.1
>>>>>> 192.168.0.2
>>>>>> 192.168.0.3
they all listen to the same port.
Should I be able to port forward the same port to all other in the
internal network, and if the server is running on any of the above ip,
it should respond?
The final question.
Can I setup an iptable rule to allow the port I need to have open, be
accessible to X amount of time. lets say from 9:00 to 12:00pm?
Please, any info is greatly appreciated. Currently I am downloading
mandrake and will be doing a basic install + download a firewall
software.
Thanks guys.
|