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 45 guests and 3 members online
 
Free Business and Tech Magazines and eBooks

You are here: Home arrow Ethical Hacking Discussions and Related Certificationsarrow Hardwarearrow dd-wrt on linksys wrt54g
EH-Net
May 20, 2013, 02:46:38 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Go back to The Ethical Hacker Network Online Magazine Home Page
 
   Home   Help Calendar Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: dd-wrt on linksys wrt54g  (Read 6072 times)
0 Members and 1 Guest are viewing this topic.
BillV
Hero Member
*****
Offline Offline

Posts: 1892


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
UNIX
Hero Member
*****
Offline Offline

Posts: 1234


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: 1021



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: 1892


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
UNIX
Hero Member
*****
Offline Offline

Posts: 1234


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.18 | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Page created in 0.061 seconds with 22 queries.
 
Exclusive Deal

sansfire13_245x90_cw90.jpg
SANSFIRE 2013
June 15 - 22

5% Off w/ Code: EHN_5

SANS Deals 4 EH-Netters
5% OFF Any SANS Course in Any Format!
Coupon Code: EHN_5 Including SANS Rocky Mountain 2013 & SANS Boston 2013
Polls
Compared to this year, 2013 will be:
 
Recent Forum Topics
EH-Net News Feeds
Latest Additions
 
         
Advertisement

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