[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
- <!--x-content-type: text/plain --> "http://www.w3.org/TR/html4/loose.dtd">
- <!--x-date: Tue Jun 14 20:59:05 2005 -->
- <!--x-from-r13: psbjyre ng bhgcbfgfragvary.pbz (Quevf Tbjyre) -->
- <!--x-message-id: [email protected] -->
- <!--x-subject: [ale] IP Masq over multiple ppp interfaces. -->
- <li><em>date</em>: Tue Jun 14 20:59:05 2005</li>
- <li><em>from</em>: cfowler at outpostsentinel.com (Chris Fowler)</li>
- <li><em>subject</em>: [ale] IP Masq over multiple ppp interfaces.</li>
/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>