linksys wrt54gl - putty and command not working

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Author Message
kratoseu
DD-WRT Novice


Joined: 01 Jun 2019
Posts: 8

PostPosted: Sat Jun 01, 2019 15:15    Post subject: linksys wrt54gl - putty and command not working Reply with quote
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
Sponsor
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 12917
Location: Netherlands

PostPosted: Sat Jun 01, 2019 15:45    Post subject: Reply with quote
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 Sad

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
kratoseu
DD-WRT Novice


Joined: 01 Jun 2019
Posts: 8

PostPosted: Mon Jun 03, 2019 21:46    Post subject: Reply with quote
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?



mkdir-fail.PNG
 Description:
 Filesize:  4.83 KB
 Viewed:  1032 Time(s)

mkdir-fail.PNG


kratoseu
DD-WRT Novice


Joined: 01 Jun 2019
Posts: 8

PostPosted: Thu Jun 06, 2019 21:28    Post subject: Reply with quote
Thank you.
Where can I find information about my build and the commands supported? (in order to stop annoying you?)
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum