<div dir="ltr"><div><div><div><div><div><div><div><div><div><div><div>hello.<br><br></div>I have an iptables question<br><br></div>i have the following<br><br></div>ext_ip -> NAT1 -> linux firewall-> network -> computer1:eth0 .. computer99<br></div><div><br></div><div></div>i have no control over NAT1.<br>computer1 also can reach the internet via eth1.<br><br></div>linux firewall redirects incoming port 7777 from ext_ip to computer1<br></div>however i need coputer2 .. computer99 to connect to ext_ip:7777 and also reach computer1<br><br></div>so first i did a NAT rule in linux firewall to redirect all packets from internal to ext_ip:7777  to computer1. and did an 'ifconfig eth0:1 $ext_ip up' on computer1.<br></div>this works. however it causes computer1 not to be able to access real ext_ip via eth1 which is connected to the internet as well<br><br></div>so i though of both doing DNAT and MASQ, which will do the same but will not require assiging ext_ip to computer1. <br></div>howerver i do not know how to do that<br><br></div>anyone ?<br></div>