Author
Message
kratoseu DD-WRT Novice Joined: 01 Jun 2019 Posts: 8
Posted: Sat Jun 01, 2019 15:15 Post subject: linksys wrt54gl - putty and command not working
Hi,
I flashed my router with the firmware dd-wrt.v24_vpn_generic.
I would like to mirror all the traffic in PREROUTING and POSTROUTING traffic to my PC.
I inserted
iptables -I PREROUTING -t mangle -j ROUTE --gw 192.168.3-144 --tee
and
iptables -I POSTROUTING -t mangle -j ROUTE --gw 192.168.3-144 --tee
but then I found I don't have these chains.
In addition mkdir command doesn't work.
Can someone help me? Thanks, I'm new with this stuff
Back to top
Sponsor
egc DD-WRT Guru Joined: 18 Mar 2014 Posts: 12917 Location: Netherlands
Posted: Sat Jun 01, 2019 15:45 Post subject:
It has been a while since I have done that.
But I recall installing ip-full via entware and then use commands like:
Code: iptables -t mangle -A PREROUTING -d 192.168.1.15 -j TEE --gateway 192.168.1.100
iptables -t mangle -A PREROUTING -s 192.168.1.15 -j TEE --gateway 192.168.1.100
To copy all traffic form .15 to .100
Installing Entware on your antique 4 MB flash router seems a rather daunting task however
BTW no idea what build you are using, builds are indicated by a 5 figure number, current build is 39884
_________________ Routers:Netgear R7000, R6400v1, R6400v2, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read): https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087 Last edited by egc on Sat Jun 01, 2019 16:25; edited 1 time in total
Back to top
kratoseu DD-WRT Novice Joined: 01 Jun 2019 Posts: 8
Posted: Mon Jun 03, 2019 21:46 Post subject:
Thank you for your replies.
I'm typing mkdir -p and I still get error.
Regard the fw version, it should be this r37305, can I check it via shell?
Description:
Filesize:
4.83 KB
Viewed:
1032 Time(s)
Back to top
kratoseu DD-WRT Novice Joined: 01 Jun 2019 Posts: 8
Posted: Thu Jun 06, 2019 21:28 Post subject:
Thank you.
Where can I find information about my build and the commands supported? (in order to stop annoying you?)
Back to top