LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 03-06-2004, 11:55 AM   #1
pheron
LQ Newbie
 
Registered: Mar 2004
Location: Germany
Posts: 3

Rep: Reputation: 0
Gateway problem, clients can't access some sites


Dear helpful people!

I recently set up my SuSE box to act as a Gateway/firewall to provide internet access to my clients (WinXp).
The problem is that the clients can't access a few internet sites, and even stranger is that most (all?) the sites I can't access are all from the same hosting company (BOX.se) e.g. kosdivers.com, lonhult.com. What i mean is, that after I type in the adress and hit ENTER, nothing happens, it just says "Wating for ...xxxx.com...". I have tried both with Mozilla and Internet Explorer, and even stranger is that I can access the mentioned sites from the gateway/router without problem.

I read a similar thread just now and i tried (as they recommended) to disable the firewall (just using masq:ing), but it didn't solve anything.
Just using the MASQ:ing all I do is:
#!/bin/sh
IPTABLES=/sbin/iptables
#All The lines below are NAT routing
# flush any old rules
$IPTABLES -F -t nat
# turn on NAT (IP masquerading for outgoing packets)
$IPTABLES -A POSTROUTING -t nat -o ppp0 -j MASQUERADE
# enable IP forwarding (of incoming packets)
echo 1 > /proc/sys/net/ipv4/ip_forward

but like i said it still doesn't work.

Please let me know if you have any hints or ideas!!

My set up is:
SuSE 9.0, DSL connection (ppp0), and 3 NIC (only use 2 at the moment)

(another small problem (might be related): My connection seems to timeout after 15 minutes of inactivity eventhough I set the provider Idle_timeout to 0.
LCP terminated by peer
Setting MTU to 1492.
Couldn't increase MRU to 1500
Script /etc/ppp/ip-down finished

Feel free to help me with this as well...

Thanks in advance!!!

//Henrik
 
Old 03-06-2004, 02:12 PM   #2
Qzukk
Member
 
Registered: Jun 2003
Posts: 132

Rep: Reputation: 15
Hmm. weird things like this are hard to debug. Install something like ethereal on the gateway box and have it listen to all the traffic between you and one of those mystery sites. Is the request leaving your gateway properly? Is the site responding?

If its leaving and not coming back, it seems like its a problem with the remote site. If its not leaving, then you have weird problems with masquerading that I dont know how to debug if you're sure your firewall is completely disabled. If its leaving and coming back, then switch back to the inside network and see if you can catch the response returning to the PC that requested the site. If not, it may be that the site is mangling the packet in such a way that linux can't track down who had originally requested it.
 
Old 03-06-2004, 02:22 PM   #3
pheron
LQ Newbie
 
Registered: Mar 2004
Location: Germany
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks a lot!
Will have a look a the traffic, thanks for the ethereal tip.

>>If its leaving and not coming back, it seems like its a problem with the remote site.
Seems weird, but like I said, since it applies to all sites of this (box.se) hosting, could be that it is not my fault (I wish.

However, thanks for your reply!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
External sites not accessible thru gateway morganmcdermott Slackware 5 06-10-2005 08:37 PM
Linux gateway - It doesn't allow run logon script of all clients to win2k3 b:z Linux - Networking 1 04-21-2005 11:17 PM
i cannot access certain sites other can ? qwijibow Linux - Networking 2 11-04-2003 05:59 PM
Want to have a computer be gateway w\xp clients chingasman Linux - Networking 4 10-06-2003 02:28 AM
Can't access some web sites! Cichlid Linux - Distributions 1 01-12-2002 03:04 PM


All times are GMT -5. The time now is 04:44 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration