communication redirection
Hi there.
I am absolutely new in this, and I have something to solve. I have 2 Linux acting as proxy servers. Each Linux connects two different nets to Internet, so each of them have two nics, with one public and one private IP address. The fact is: I need to redirect connection attempted to the externalIP and PORT (For example, 200.69.219.229 port 110) to an internal IP (for example 192.168.5.1 port 110) I think I must use iptables, but MAN is a bit confusing thing to mee yet. Thanks in advance Christian |
eth0 is bound to the external IP
eth1 is bound to the internal 10.0.0.X This example uses the IPs you gave above. Code:
#!/bin/bash |
All times are GMT -5. The time now is 08:44 AM. |