Unable to add iptables commands to Buffalo DD-WRT router

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Advanced Networking
Author Message
Teo En Ming
DD-WRT Novice


Joined: 03 Apr 2014
Posts: 4

PostPosted: Thu Apr 03, 2014 4:57    Post subject: Unable to add iptables commands to Buffalo DD-WRT router Reply with quote
Hi,

I just bought a Buffalo DD-WRT wireless router, the model is WZR-HP-G300NH2.

I have flashed the router to the latest DD-WRT firmware, ver 24-SP2 29 Mar 2014 Build 23838.

I want to execute the following 2 commands:

iptables -A PREROUTING -t mangle -j ROUTE --gw 192.168.1.40 --tee

iptables -A POSTROUTING -t mangle -j ROUTE --gw 192.168.1.40 --tee

However, the iptables rules were not inserted into the corresponding chains in the table mangle.

Let me show you:

===START===

root@DD-WRT:~# iptables -A PREROUTING -t mangle -j ROUTE --gw 192.168.1.40 --tee
root@DD-WRT:~# iptables -A POSTROUTING -t mangle -j ROUTE --gw 192.168.1.40 --tee
root@DD-WRT:~# iptables -t mangle -L
Chain PREROUTING (policy ACCEPT)
target prot opt source destination
MARK 0 -- anywhere 227.63.156.175.unknown.m1.com.sg MARK or 0x80000000
CONNMARK 0 -- anywhere anywhere CONNMARK save

Chain INPUT (policy ACCEPT)
target prot opt source destination

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

Chain POSTROUTING (policy ACCEPT)
target prot opt source destination

===END===

How can I rectify this problem?

Thank you very much.

Yours sincerely,

Teo En Ming
Sponsor
Teo En Ming
DD-WRT Novice


Joined: 03 Apr 2014
Posts: 4

PostPosted: Fri Apr 04, 2014 11:46    Post subject: Reply with quote
Someone please help.
Teo En Ming
DD-WRT Novice


Joined: 03 Apr 2014
Posts: 4

PostPosted: Sun Apr 06, 2014 4:42    Post subject: Reply with quote
Nobody can help? Sad
Sash
DD-WRT Guru


Joined: 20 Sep 2006
Posts: 17638
Location: Hesse/Germany

PostPosted: Sun Apr 06, 2014 14:29    Post subject: Reply with quote
is the tee modul loaded or even existing on yoour device?!
_________________
Forum Guidelines...How to get help
&
Forum Rules
&
RTFM/STFW
&
Throw some buzzwords into the WIKI search Exclamation
_________________
I'm NOT rude, just offer pure facts!
_________________
Atheros (TP-Link & Clones, etc ) debrick service in EU
_________________
Guide on HowTo be Safe, Secure and Protect Your Online Anonymity!
Teo En Ming
DD-WRT Novice


Joined: 03 Apr 2014
Posts: 4

PostPosted: Tue Apr 08, 2014 14:23    Post subject: Reply with quote
Sash wrote:
is the tee modul loaded or even existing on yoour device?!


Where can I find the ipt_ROUTE kernel module for dd-wrt v24-SP2 firmware?

Teo En Ming
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Advanced Networking 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 cannot attach files in this forum
You cannot download files in this forum