Outgoing port is wrong

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am having a lot of problems with setting up something relatively easy, but
does not seem to work.
 
Situation:
 
               +-------------+         |--- Box1  192.168.1.107:15009 
Internet ------| eth0    eth1|---------|--- Box2  192.168.1.108:15009
               +-------------+         |--- Box3  192.168.1.109:15009
         62.59.197.53     192.168.1.1
 
I have 3 boxes running the same services in a DMZ. Via the internet, I want
the ability to access the different boxes, based on a different port number
on the out-side. Out-side port 18107 should go to internal
192.168.1.107:15009, 18108 should go to 192.168.1.108:15009 and Port 18109
should go to 192.168.1.109:15009. 
This was working, but the new security of the applications does demand that
the services should be able to reinitiate the connection, using the same
port as on the way in. So I need to make sure that box1
(192.168.1.107:15009) always uses 62.59.197.53:18107 to connect to the
outside. 
 
How do I setup these rules correctly for in and out going?
 
 
Any help is welcome.
 
   Henri B.
 
 




[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux