Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have installed DD-WRT on my room mate's DIR-300 A1 router. The original firmware was having trouble communicating with my linux machine from the states and her mac from Taiwan. It did work, but not well. Plus the original firmware was in Korean, and neither of us speak Korean yet.
Now wireless works great and the firmware is in English, but some websites don't work at all, Namely: buildroot.org / uclibc.org and wikipedia.org to name a few. Buildroot and uclibc can be ping'ed but not accessed, wikipedia.org can be resolved by DNS, but not ping'ed or accessed via the web.
All the settings on the router are DD-WRT default at the moment.
I figure the problem could be iptables related, but I really have no clue.
Also, not sure if this is the right forum for this question, but I figured you guys here would know about DDWRT.
If you suspecting iptables, can you post it output? Show
Code:
iptables -S
ifconfig -a
cat /etc/resolv.conf
iptables -S give no output whatsoever.
ifconfig -a gives a ton of output, lots of vlan things and stuff. Strikes me a bit odd for a default config, but I didn't design it, so what do I know. Here's the output:
/etc/resolv.conf only lists 192.168.1.1 as a nameserver, which makes sense I guess since it is running its own nameserver. but I have tested and I can resolve any website from either my laptop or the router. So I'm pretty sure DNS isn't the issue here as its the one thing that works as expected.
I don't really know what to suspect. It seems to me that the list of things that could cause such an odd problem is pretty short. DNS, or iptables, or the Korean government or my ISP here filtering my internet. I ruled out DNS issues and the government (works if I bypass the router), so the only thing left in my limited knowledge is something firewall related.
I ran a traceroute to see if I could learn anything from that, but I got 17 hops to wikipedia (which doesn't work) and 19 hops to linuxquestions (which does work).
Quote:
Originally Posted by eSelix
Better forum would be "Linux - Networking".
Ooops, sorry. I wouldn't be offended if somebody wants to move this.
Last edited by prushik; 12-09-2011 at 09:42 PM.
Reason: Removed IP address
In my opinion better is configure router from beggining, for example, I have only lo, eth0 and wifi0, iptables are clearead and only my own rules are inserted. Check your /etc/network/interfaces and use only these which you need. I don't known DDWRT, but if you have GUI for configuration, maybe you can use it. But I prefer configuration from console.
By the way, you should mask your external IP address from output.
In my opinion better is configure router from beggining, for example, I have only lo, eth0 and wifi0, iptables are clearead and only my own rules are inserted. Check your /etc/network/interfaces and use only these which you need. I don't known DDWRT, but if you have GUI for configuration, maybe you can use it. But I prefer configuration from console.
I had it set up at one point, then I noticed the problem and reset it, thinking that the problem was caused by something I did. The problem remained after I reset to defaults, which is when I posted here.
However, its strange, a few hours later, everything started working, and is still working now.
Quote:
Originally Posted by eSelix
By the way, you should mask your external IP address from output.
Oops again. didn't even think of that. but really, there's no reason for somebody to attack me here, all my servers and good stuff is still back in the US. Plus, I assume most (if not all) of you guys here are stand up guys, otherwise you wouldn't be hanging around here just to answer people's questions.
Here's what iptables -L looks like. It gave me the information that I think you were looking for.
but since the problem resolved itself, Maybe it was a problem with the ISP here in Korea? That's that's the only thing that makes sense to me now.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.