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

[no subject]



/sbin/iptables -F
/sbin/iptables -F -t nat
/sbin/iptables -t nat -A POSTROUTING -o ppp+ -j MASQUERADE
/sbin/iptables -t nat -A PREROUTING -p tcp -i ppp+ --dport 81 -j DNAT --
to 127.0.0.1:80

It is possible to have multiple ppp interfaces and so I want to make it
possible to be able to nat over each one.

The last rule I only have in there for testing.  When I try to telnet to
10.0.5.100:81 it simply just hangs and I do not get a connection to the
web server.  10.0.5.100 is the address of the ppp0 interface on this
machine.  Can someone tell me what I'm doing wrong?



</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<!--X-Follow-Ups-End-->
<!--X-References-->
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00582.html">[ale] pptp, ppp problems</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00584.html">[ale] More on NAT issues with ppp interface.</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00750.html">[ale] OT: BestBuy PSP</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00584.html">[ale] More on NAT issues with ppp interface.</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00583"><strong>Date</strong></a></li>
<li><a href="threads.html#00583"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>

<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>