LinuxQuestions.org
Visit Jeremy's Blog.
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 07-19-2004, 06:55 AM   #1
sfichera
LQ Newbie
 
Registered: Jul 2004
Posts: 3

Rep: Reputation: 0
Angry Routing ftp and pop3


We are having some trouble with routing. Using SUSE 9.1 for the Router and SUSE 9.0 for the Squid Proxy.

The Router has 3 Network Cards

192.168.0.2
172.18.18.222
10.0.0.2

The Squid Proxy has a DHCP from the Internet
and 192.168.0.3

We put a few windows boxes into the mix (Our network clients are all windows)
for testing.

A win98 box
10.0.0.1

A win XP laptop
192.168.0.50

We have the routing down on the laptop we can ping the 98 workstation and share files and all that stuff.

Squid works on all the parts of the network 192.168.x.x 172.18.18.x and 10.0.0.x

Our problem is FTP and Pop3 and everything except for http

Everything on the 192.168.x.x part of the network works with ftp and pop and http just fine because it is on the same side as the proxy BUT the clients on the other side of the router 172.18.18.x and 10.0.0.x will not connect to ftp or pop but again http works just fine.



HELP!!!!!!!!!!!!!!
 
Old 07-19-2004, 09:07 AM   #2
pingu
Senior Member
 
Registered: Jul 2004
Location: Skuttunge SWEDEN
Distribution: Debian preferably
Posts: 1,350

Rep: Reputation: 127Reputation: 127
I have studied the diagram, can't find anything wrong?
Maybe it's the configuration of ftp and pop that has to be taken care off.
As http works and you can ping any computer I'd look at that.
 
Old 07-19-2004, 09:10 AM   #3
Bill Gates 666
Member
 
Registered: Dec 2003
Location: Cambridge
Distribution: Arch, Gentoo, OpenSUSE
Posts: 70

Rep: Reputation: Disabled
Hi mate,

Sorry I'm not getting that setup clearly is it like this:

ADSL/Cable modem ------ Squid HTTP Proxy (9.2)
| |
Router box (9.1)---------------LAN 2
|
LAN 1


You say "The Squid Proxy has a DHCP from the Internet"?? Do you have 2 static IP addresses or a 2nd internet connection? Or is the Squid box only connected to the LAN 2 segment?

Your problem is clearly not that IP forwarding is disabled on the Router box as you can ping between the LAN subnets.

Your problem must be the "default gateway" on the router box (running SUSE 9.1). I get the following on my router (if <ip route> isn't available you will need to use the less friendly output of the depreciated <route> command):
[root@linux-router squid]# ip route
212.158.192.228 dev ppp0 proto kernel scope link src 212.158.224.232
192.168.0.0/24 dev eth0 scope link
127.0.0.0/8 dev lo scope link
default via 212.158.192.228 dev ppp0
[root@linux-router squid]#

My static internet IP address is 212.158.192.228 assigned to a PCI ADSL modem in the box. At the bottom you see that this is the default route.

If this looks OK then I would ask whether you are firewalling the router box (by choice or default settings :-)?? What are your iptables settings for the router?

Sorry if this all sounds a bit obvious but thats where you need to start after all!!

_______________________
Bill Gates #666 (aka Robert)
 
  


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
pop3 smtp ftp proxy ?? pettar Linux - Networking 7 10-25-2005 06:12 AM
pop3, smtp and ftp proxy pettar Fedora 1 02-23-2005 10:24 AM
pop3 and ftp tpark Linux - Networking 1 02-07-2004 07:39 PM
Slow conneciton to FTP and POP3 echid Linux - Newbie 3 05-15-2002 08:50 AM
Mail/Web/FTP server - POP3 (My first time) deacon_brody Linux - Networking 2 03-06-2002 04:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:12 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration