Tuesday, November 26, 2019

Need help with IPtables redirecting all traffic from one ip:p1 to a different ip:p2

New to this IPtable stuff, tried but looks like I am missing something.So , the issue is we have a host that will try to connect to ip1:9094 but since that ip1 is not accessible from this host, we have a different endpoint and port that we can access i.e. ip2:36397.We are able to telnet to the second ip(ip2), we played with IPtables a bit but no luck.What we are assuming is once we have these IPtables correctly set up, we can telnet to the first ip(ip1) also as that is directing to ip2.Both the IPs are external, are we missing something here? Is it the correct tool to use for this scenario?



No comments:

Post a Comment