Hi You need to use DNAT and SNAT to get the the DB server on the 'private' network. Something like: # to get traffic sent to EXT_IP2 redirected to INT_IP iptables -t nat -A PREROUTING -i EXT_IP2 -d EXT_IP2 -p tcp --dport <your db port> -j DNAT --to INT_IP Ray Nils Wunsch wrote:
Hello of people,
I have a problem, I would like with IPTABLES a small masking to execute
Server 1 : has 2 IPs EXT_IP1 and EXT_IP2 and a INT_IP , EXT_IP is fixed official IP, INT_IP is 192.168.0.3
behind it another server is situated
Server 2 : has INT_IP 192.168.0.4 that is as data base computer to run
And now my question
how can I make it if for inquiry of EXT_IP2 come on INT_IP go and then far to server 2 arrived?
I would be pleased about a small assistance
/nils
-- To unsubscribe, e-mail: suse-security-unsubscribe@suse.com For additional commands, e-mail: suse-security-help@suse.com
-- ---------------------------------------------------------------------- Raymond Leach Cell:+27-82-416-1410 Tel:+27-11-444-5006 Fax:+27-11-444-5007 eMail:raymondl@knowledgefactory.co.za www:http://www.knowledgefactory.co.za "No matter where you go, there you are ..." ----------------------------------------------------------------------