1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Port forwarding and packet redirection questions...

Discussion in 'Cisco/Linksys Wireless Routers' started by sofakng, Apr 27, 2005.

  1. sofakng

    sofakng Network Guru Member

    I've just installed DD-WRT onto my WRT54G v3.0 router and so far I'm VERY happy with it. OpenWRT was nice and DD-WRT has (nearly) every option I could possibly want right there in the GUI.

    Here are my questions:

    1) How can I forward external ports to DIFFERENT internal ports? For example, I want external port 3000 to go to internal port 30 and external port 3001 to go to internal port 30.

    2) How can I forward traffic to a specific lan port? For example, I want to sniff packets that are going to lan port #2 from lan port #1, or for example I want ALL WAN traffic to be copied to lan port #1 so I can sniff it.
  2. Telord

    Telord Guest

    Tried something but with no success

    I'm looking to do the same as you. I have a WRT54GL v1.1 with the last DD-WRT. Me, I only want to sniff packets passing through WAN.

    I tried something with VLANs and bridging but it didn't seem to work on my WRT54GL. I heard that the chipset has changed in the WRT54G v4/GL with a switch directly integrated in the CPU. But I noticed that you have a v3 so you could try what I did and tell me what happen.

    First, I set my router port 4 to a new VLAN, VLAN2. It is alone on his VLAN. Next, I tried to bridge VLAN1 (which is WAN) with VLAN2. I used brctl to do this. However, as soon as I put the VLAN1 in my newly created bridge, I can't access internet anymore. That's what I didn't understand. But if it could work, I could after that deactivate STP on the bridge between VLAN1 and VLAN2 to have all the packets passing through VLAN1 to be redirected to VLAN2. But I ain't not sure of anything I said here. I think that it could work. Take a try with your WRT54G v3 and give me news. Also, if you find another solution that works, tell me.


Share This Page