Joined: 26 May 2009 Posts: 183 Location: N34 31.872 E69 10.821 for now.
Posted: Sun Sep 23, 2012 16:51 Post subject: ip route list
Alright, so I've done some digging in the wiki, and I'm trying to look up the routing tables... but it appears that the commands referenced in the wiki for policy based routing
ip route list table local
ip route list table main
Do nothing. What am I doing wrong? Where can I go to learn how to use the implementation of iproute that dd-wrt uses? Has it been stripped down?
Joined: 26 May 2009 Posts: 183 Location: N34 31.872 E69 10.821 for now.
Posted: Sun Sep 23, 2012 19:43 Post subject:
Code:
ip route
That returns nothing. What I am trying to discover is what modifications openVPN makes to the routing table, and iptables when it comes up with redirect-gateway def1 enabled. I want to see how it does this. I have displayed the script contained in route-up.sh, but modifying this has had no effect.
All I want to do is figure out how to manually direct traffic from one interface, out the tunnel created by openVPN manually... so that I can modify which bridge (or which network) gets redirected. I'm sure the solution isn't extremely complicated.. but I've been working on this for days now and I've been having little luck. _________________ The Peacock Thread <-- New? READ THIS!
------
Current: ASUS RT-N16 DD-WRT v24-sp2 mega(SVN revision 19519)Running OTRW - Take 2 on 8 GB Flash Disk. 128M swap + 7.5 GB ext2 on /opt Past:
ASUS WL500GP v2 [DD-WRT v24-sp2 (06/17/09) mega-(SVN 12307M NEWD Eko)]
Registered Linux User #491768