Image
 
linkedin_logo.png rss_logo.jpg
twitter_logo.png youtube_logo.jpg
Latest Additions
 
EH-Net Login
Welcome Guest.






Lost Password?
No account yet? Register
Who's Online
We have 49 guests and 3 members online
EH-Net News Feeds
Latest Additions
 
Advertisement

You are here: Home arrow Forum arrow Ethical Hacking Discussions and Related Certificationsarrow Hardwarearrow dd-wrt on linksys wrt54g
EH-Net
May 25, 2012, 09:42:31 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Advertise on EH-Net!! - Reasonable Rates, Highly Targeted Audience.
 
   Home   Help Calendar Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: dd-wrt on linksys wrt54g  (Read 4988 times)
0 Members and 1 Guest are viewing this topic.
BillV
Hero Member
*****
Offline Offline

Posts: 1830


View Profile WWW
« on: July 10, 2009, 02:13:32 PM »

Does anyone else run DD-WRT on a Linksys WRT54G or similar?

I'm attempting to do it, and trying to setup the firewall via iptables, but for the life of me I haven't been able to get it working. It just acts like it doesn't want to work properly. The interfaces don't seem to have the manageability they're supposed to.

Does anyone else have experience with this?

If not, can anyone recommend a small device that I can put iptables on to run a firewall that works? My objective is to not have to use an entire computer just to run a firewall.

Thanks!

Bill
Logged
aweSEC
Hero Member
*****
Offline Offline

Posts: 1100


View Profile
« Reply #1 on: July 10, 2009, 02:35:52 PM »

I used it for a short time as I did some testing, but it worked fine when played around with it (though not sure if I used anything with iptables).

You may check out tomato firmware which is quite good.
Logged
Ketchup
Hero Member
*****
Offline Offline

Posts: 1006



View Profile
« Reply #2 on: July 10, 2009, 03:14:01 PM »

I have used DD-WRT before on a similar wireless router, but primarily to improve the wireless capabilities.  I know that it has a nice gui for managing firewall rules. 

I use a distro of Linux called IpCop at home with an ancient small form factor Compaq workstation.   It sits somewhere in my cluttered office and works great.  I even have snort working on it.
Logged

~~~~~~~~~~~~~~
Ketchup
BillV
Hero Member
*****
Offline Offline

Posts: 1830


View Profile WWW
« Reply #3 on: July 10, 2009, 06:18:57 PM »

Quote from: awesec
You may check out tomato firmware which is quite good.

Bam! Thanks man! That just about did the trick... this one actually functions properly the way it should.

My only hurdle now is trying to figure out how I can segregate the LAN/ports traffic from the wireless traffic. Do you know how to do this?

There are 5 interfaces (similar to DD-WRT):

br0 - a bridge of ports and wireless (this is the only internal one that works)
eth0 - supposed to represent just ports
eth1 - supposed to be just wireless
vlan0 - not sure what it is (but same MAC as br0/eth0)
vlan1 - WAN connection (also works)

So, what I've done for testing is created rules in order to forward traffic through vlan0, then eth1, then eth0 and finally br0. The only rule that gets traffic is the last, br0.

My router is currently configured to allow traffic forwarded from br0 to vlan1 and vice-versa (standard firewall). What I'd like to do (and what I've done with a standard computer) is configure rules that separate the ports and wifi traffic.. so I can basically stop wifi addresses from pinging/accessing stuff on the wired network and limit what can be accessed to/from the Internet as well. Make sense?

Ketchup - yeah, I use something similar, an old Dell tower with EnGarde running on it. Works very well! Just looking to not have to use an entire computer in this case. Thanks!
Logged
aweSEC
Hero Member
*****
Offline Offline

Posts: 1100


View Profile
« Reply #4 on: July 11, 2009, 02:30:03 AM »

Quote from: awesec
You may check out tomato firmware which is quite good.
Bam! Thanks man! That just about did the trick... this one actually functions properly the way it should.

You are welcome, glad it helped. Wink

I can't remember on the segregate thing you ask for, but I am pretty sure that it is possible. When I have some time and no one else could help you in meantime, I will set it up again and play around with it. I think I have done something similar as you want, but can't remember it as it was some time ago.
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Page created in 0.243 seconds with 22 queries.
 

gk_static-ad_feb2012.jpg
Global Knowledge: Build Security Skills to Protect & Defend

els_130x200fixed2.gif
eLearnSecurity Student Course Now Live!
5% Off with Code
ELS-EH-5

SANS Deals 4 EH-Netters
$150 OFF Any SANS Course in Any Format!
Coupon Code: EHN_Connect Including SANS Security West 2012 & SANSFIRE 2012
Recent Forum Topics

cbtnuggets_logo_125.jpg
Try CBT Nuggets Free!

Vote For EH-Net

Add to Technorati Favorites
technorati fave

 
         
Advertisement

© 2012 The Ethical Hacker Network
Joomla! is Free Software released under the GNU/GPL License.