Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 2 of 2

Thread: Teensy with multiple Ethernet interfaces

  1. #1
    Junior Member
    Join Date
    Sep 2017
    Posts
    10

    Teensy with multiple Ethernet interfaces

    Main question and goal is:

    How to route internet traffic to/from ethernet port so, that Teensy modifies the data/payload, while PC is connected to the other end. Say I wanted to use it as a simple Instrusion Prevention System or as a PiHole.

    I imagine this could be achieved by using two ethernet adapters, or one adapter + ethernet over usb?
    If this is not feasible (why?), what are your suggestions as the proper hardware?

    Thanks for the help.

  2. #2
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    15,709
    Not really feasible, for many reasons. But among them, the Wiznet chips handle only 4 sockets, unless you use the raw packet mode which isn't supported by any of the currently available software. Likewise, USB to ethernet isn't supported by the USB Host library... at least not yet.

    This is the sort of project you'd really want to develop on a PC running Linux. Once it's working, then try to scale it down to a Linux SBC like Odroid or maybe even Raspberry Pi, if your code is efficient enough.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •