View previous topic :: View next topic |
Author |
Message |
jonaswidarsson Apprentice
Joined: 16 Jan 2004 Posts: 273 Location: Göteborg, Sweden
|
Posted: Tue Jun 01, 2004 3:49 pm Post subject: routing problems using kppp |
|
|
I use ethernet connectivity at work.
I use kppp when at home.
If I use windows, I can do dialup using the same ISP account.
When I use kppp for dial up connection to Internet, I cannot send email.
This is a laptop and I use exactly the same KMail and smtp server at work. The relaying in the mail server is not it, because I can send from windows over the same ppp ISP account, using the same smtp server.
I can ssh into the smtp server, browse it via http. I can do whatever using dial up under linux, it seems, but I can't connect to the smtp server.
I don't know how to trace the error down. I want to debug the routing from here to the smtp server to see where it fails.
If I try
telnet smtp.domain.com 25, I get:
Code: | bash-2.05b$ telnet mail.xxxx.xx 25
Trying 62.xxx.xxx.xxx...
telnet: Unable to connect to remote host: No route to host
bash-2.05b$ | That error comes back at me very quickly, so it might be that the connection does not get out on the ppp connetion at all, but fails due to local routing problems.
There is nothing wrong in the name resolving. The IP is correct.
Here are my routes: Code: | bash-2.05b$ netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
213.64.13.248 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
127.0.0.0 127.0.0.1 255.0.0.0 UG 0 0 0 lo
0.0.0.0 213.64.13.248 0.0.0.0 UG 0 0 0 ppp0
bash-2.05b$ | Can anyone suggest a method to track my issue down?
Thanks! |
|
Back to top |
|
|
jonaswidarsson Apprentice
Joined: 16 Jan 2004 Posts: 273 Location: Göteborg, Sweden
|
Posted: Wed Jun 02, 2004 7:48 pm Post subject: |
|
|
To bump this post and place a more specific request.
How can I test ports for packets going out from this computer through the ppp connection?
the following gives me nothing: Code: | bash-2.05b# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
bash-2.05b# | Is a ppp connection likely to block access on specific ports for any reason?
It is not a problem with name resolving, because surfing the websites, among on is SSL is ok, and the pop server uses the same hostname as the sptmserver, and popping works flawlessly. |
|
Back to top |
|
|
jonaswidarsson Apprentice
Joined: 16 Jan 2004 Posts: 273 Location: Göteborg, Sweden
|
Posted: Wed Jun 02, 2004 7:51 pm Post subject: |
|
|
Aha!
nmap returned the following: Code: | bash-2.05b# nmap xx.xxx.xxx.xxx
Starting nmap 3.50 ( http://www.insecure.org/nmap/ ) at 2004-06-02 21:45 CEST
Interesting ports on xx.xxx.xxx.xxx:
(The 1636 ports scanned but not shown below are in state: closed)
PORT STATE SERVICE
9/tcp open discard
13/tcp open daytime
21/tcp open ftp
22/tcp open ssh
25/tcp filtered smtp
37/tcp open time
53/tcp open domain
80/tcp open http
110/tcp open pop3
111/tcp open rpcbind
113/tcp open auth
137/tcp filtered netbios-ns
138/tcp filtered netbios-dgm
139/tcp filtered netbios-ssn
443/tcp open https
515/tcp open printer
993/tcp open imaps
995/tcp open pop3s
1025/tcp open NFS-or-IIS
1434/tcp filtered ms-sql-m
2401/tcp open cvspserver
3306/tcp open mysql
10000/tcp open snet-sensor-mgmt
Nmap run completed -- 1 IP address (1 host up) scanned in 106.984 seconds
bash-2.05b# | Does this mean there is something on the server end that does not like me? Because I don't have any filters setup locally that I know of. |
|
Back to top |
|
|
dumi n00b
Joined: 17 Mar 2004 Posts: 26 Location: Czech Republic
|
Posted: Wed Jun 23, 2004 7:29 pm Post subject: |
|
|
Hi,
try to set permision on /etc/resolv.conf to rw-r--r-- it help to me _________________ Software is like sex.
It's better when it's free. |
|
Back to top |
|
|
jonaswidarsson Apprentice
Joined: 16 Jan 2004 Posts: 273 Location: Göteborg, Sweden
|
Posted: Wed Jun 23, 2004 7:56 pm Post subject: |
|
|
Thank you for bothering.
I can't see what difference that would make. The port is filtered.
It was quite a while ago I posted about this, but I still haven't found a solution.
And... the permissions were already set that way. |
|
Back to top |
|
|
jonaswidarsson Apprentice
Joined: 16 Jan 2004 Posts: 273 Location: Göteborg, Sweden
|
Posted: Thu Jun 24, 2004 6:14 pm Post subject: |
|
|
I just discovered that it doesn't work from windows either.
This means all I am talkng is just crap.
The error is outside this box! |
|
Back to top |
|
|
|