<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Vybrid ProcessorsのトピックRe: Packet forwarding with linux on Vybrid</title>
    <link>https://community.nxp.com/t5/Vybrid-Processors/Packet-forwarding-with-linux-on-Vybrid/m-p/476388#M5191</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, it is possible to use packet forwarding from one interface to another. It would be something along the lines of&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sudo sysctl -w net.ipv4.ip_forward=1&lt;/P&gt;&lt;P&gt;sudo iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can look for examples on the net or the man pages. I have not verified the above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The absence or presence of PPP depends on your kernel's configuration. You probably need the below at a minimum in your kernel configuration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="add" style="color: green; font-family: monospace; font-size: 13.3333px;"&gt;CONFIG_PPP=m&lt;/P&gt;&lt;P class="add" style="color: green; font-family: monospace; font-size: 13.3333px;"&gt;CONFIG_PPP_DEFLATE=m&lt;/P&gt;&lt;P class="add" style="color: green; font-family: monospace; font-size: 13.3333px;"&gt;CONFIG_PPP_MPPE=m&lt;/P&gt;&lt;P class="add" style="color: green; font-family: monospace; font-size: 13.3333px;"&gt;CONFIG_PPTP=m&lt;/P&gt;&lt;P class="add" style="color: green; font-family: monospace; font-size: 13.3333px;"&gt;CONFIG_PPPOL2TP=m&lt;/P&gt;&lt;P class="add" style="color: green; font-family: monospace; font-size: 13.3333px;"&gt;CONFIG_PPP_ASYNC=m&lt;/P&gt;&lt;P class="add" style="color: green; font-family: monospace; font-size: 13.3333px;"&gt;&lt;SPAN style="color: #008000; font-family: monospace; font-size: 13.3333px;"&gt;CONFIG_USB_ACM=m&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Sanchayan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Jan 2016 05:30:44 GMT</pubDate>
    <dc:creator>sanchayanmaity</dc:creator>
    <dc:date>2016-01-11T05:30:44Z</dc:date>
    <item>
      <title>Packet forwarding with linux on Vybrid</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/Packet-forwarding-with-linux-on-Vybrid/m-p/476387#M5190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="j-excerpt-slug"&gt;Hello, Is it possible with Linux enable packet forwarding from one interface to another? Concretely, we would like to connect modem via usb port and then create PPP connection to internet. With this PPP connection we would like to forward packets from eth interface to PPP and vice versa. Is it possible with Linux? Is there iptables? Is it possible to install PPP or is there already?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jan 2016 10:27:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/Packet-forwarding-with-linux-on-Vybrid/m-p/476387#M5190</guid>
      <dc:creator>cerma</dc:creator>
      <dc:date>2016-01-08T10:27:31Z</dc:date>
    </item>
    <item>
      <title>Re: Packet forwarding with linux on Vybrid</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/Packet-forwarding-with-linux-on-Vybrid/m-p/476388#M5191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, it is possible to use packet forwarding from one interface to another. It would be something along the lines of&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sudo sysctl -w net.ipv4.ip_forward=1&lt;/P&gt;&lt;P&gt;sudo iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can look for examples on the net or the man pages. I have not verified the above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The absence or presence of PPP depends on your kernel's configuration. You probably need the below at a minimum in your kernel configuration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="add" style="color: green; font-family: monospace; font-size: 13.3333px;"&gt;CONFIG_PPP=m&lt;/P&gt;&lt;P class="add" style="color: green; font-family: monospace; font-size: 13.3333px;"&gt;CONFIG_PPP_DEFLATE=m&lt;/P&gt;&lt;P class="add" style="color: green; font-family: monospace; font-size: 13.3333px;"&gt;CONFIG_PPP_MPPE=m&lt;/P&gt;&lt;P class="add" style="color: green; font-family: monospace; font-size: 13.3333px;"&gt;CONFIG_PPTP=m&lt;/P&gt;&lt;P class="add" style="color: green; font-family: monospace; font-size: 13.3333px;"&gt;CONFIG_PPPOL2TP=m&lt;/P&gt;&lt;P class="add" style="color: green; font-family: monospace; font-size: 13.3333px;"&gt;CONFIG_PPP_ASYNC=m&lt;/P&gt;&lt;P class="add" style="color: green; font-family: monospace; font-size: 13.3333px;"&gt;&lt;SPAN style="color: #008000; font-family: monospace; font-size: 13.3333px;"&gt;CONFIG_USB_ACM=m&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Sanchayan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jan 2016 05:30:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/Packet-forwarding-with-linux-on-Vybrid/m-p/476388#M5191</guid>
      <dc:creator>sanchayanmaity</dc:creator>
      <dc:date>2016-01-11T05:30:44Z</dc:date>
    </item>
  </channel>
</rss>

