You are not logged in.

#1 2015-11-18 17:55:52

Laërte
Member
Registered: 2015-08-26
Posts: 13

Cannot acces to some server : packet filtered by gateway

Hi !

For nearly a week, now, I cannot read my emails with mutt anymore.
I get an error message which looks like this : cannot connect to imap.orange.fr (no access way to reach target). This is a approximative translation, but it’s quite clear I guess…
So I tried, seeing that it didn’t seem to be resolved after some time, as many problems do, to connect to it manually.
My first try was a 'dig imap.orange.fr' and it worked perfectly fine, I got quite a lot of answers…
Then I tried a 'ping'… And I got this :

PING imap4.orange.fr (193.252.22.66) 56(84) bytes of data.
From gateway (192.168.0.254) icmp_seq=1 Packet filtered
[some more copy of the line above…]
--- imap4.orange.fr ping statistics ---
9 packets transmitted, 0 received, +9 errors, 100% packet loss, time 8010ms

So I guess there is an error somewhere in my network configuration.
Here is the profile I use with netctl :

Description='Automatically generated profile by wifi-menu'
Interface=wlp2s0
Connection=wireless
Security=wpa
ESSID=yvanchantal
IP=dhcp
Key=*********
DNS=('80.67.169.12' '80.67.169.40')
IP6=stateless

I don’t know where the problem comes from, so I’m open to any idea… ^^
I’ve hesitated to post this in the newbie corner or here, so don’t be aware of details please !

Thanks !

Offline

#2 2015-11-18 18:35:45

c0mm0ner
Member
Registered: 2015-11-09
Posts: 93

Re: Cannot acces to some server : packet filtered by gateway

I can't ping the host either. Maybe it's their fault and not yours?

Offline

#3 2015-11-23 17:48:07

Laërte
Member
Registered: 2015-08-26
Posts: 13

Re: Cannot acces to some server : packet filtered by gateway

I made some other tests, and it appears that I cannot ping orange.fr neither, but I can acces it through my web browser. So they seem to block ping…
Moreover, some friends of mine use their mails with the same config as me and it works perfectly fine…
So I keep thinking this is due to my network config…

Anymore ideas?

Offline

#4 2015-11-23 17:56:34

loqs
Member
Registered: 2014-03-06
Posts: 18,320

Re: Cannot acces to some server : packet filtered by gateway

$ telnet imap4.orange.fr 143
Trying 193.252.22.75...
Connected to imap4.orange.fr.
Escape character is '^]'.
* OK IMAP4 ready
]
telnet> 
Connection closed.

So at least establishing a connection on the default IMAP 4 port works for me.

Offline

#5 2015-11-23 21:48:22

Laërte
Member
Registered: 2015-08-26
Posts: 13

Re: Cannot acces to some server : packet filtered by gateway

hoel@Hoel-Arch ~ > telnet imap4.orange.fr 143                                                                                                                            
Trying 193.252.22.89...
Connection failed: Aucun chemin d'accès pour atteindre l'hôte cible
Trying 193.252.22.93...
Connection failed: Aucun chemin d'accès pour atteindre l'hôte cible
Trying 193.252.22.66...
Connection failed: Aucun chemin d'accès pour atteindre l'hôte cible
Trying 193.252.22.69...
Connection failed: Aucun chemin d'accès pour atteindre l'hôte cible
Trying 193.252.22.71...
Connection failed: Aucun chemin d'accès pour atteindre l'hôte cible
Trying 193.252.22.75...
Connection failed: Aucun chemin d'accès pour atteindre l'hôte cible
Trying 193.252.22.77...
Connection failed: Aucun chemin d'accès pour atteindre l'hôte cible
Trying 193.252.22.80...
Connection failed: Aucun chemin d'accès pour atteindre l'hôte cible
Trying 193.252.22.87...
Connection failed: Aucun chemin d'accès pour atteindre l'hôte cible
Trying 193.252.22.88...
telnet: Unable to connect to remote host: Aucun chemin d'accès pour atteindre l'hôte cible

It doesn’t work for me… What are access road — or something like it ?
Tried with 993 instead of 143 — that’s the securised port — but I get the same error…

Last edited by Laërte (2015-11-23 21:52:52)

Offline

#6 2015-11-24 01:24:09

igorek24
Member
Registered: 2015-11-24
Posts: 3

Re: Cannot acces to some server : packet filtered by gateway

Quick scan shows that imap port (143) is open. Check with your ISP and see if they are blocking that port.

On the side note, from the information you've have provided, you should use WPA2 vs WPA protocol for your WiFi AP.

Offline

#7 2015-11-24 18:17:29

Laërte
Member
Registered: 2015-08-26
Posts: 13

Re: Cannot acces to some server : packet filtered by gateway

The thing is that I’m not using my box… I rent a room, and the woman who rent it to me says that nothing is blocked…
But some sites on internet seem to tell me that the port 143 is closed for my IP…
What’s strange, is that it worked a few weeks ago, with the same box…

PS: How can I use WPA2 instead of WPA ?

Thanks !

Last edited by Laërte (2015-11-24 18:17:48)

Offline

#8 2015-11-25 21:24:43

loqs
Member
Registered: 2014-03-06
Posts: 18,320

Re: Cannot acces to some server : packet filtered by gateway

Laërte wrote:

The thing is that I’m not using my box… I rent a room, and the woman who rent it to me says that nothing is blocked…
But some sites on internet seem to tell me that the port 143 is closed for my IP…

An internet site trying to connect to your computer on port 143 would also work if there was no NAT between you and the internet.
Also it should not be relevant to the current issue as your are trying to connect to port 143 on another machine not port 143 locally.

Laërte wrote:

What’s strange, is that it worked a few weeks ago, with the same box…

Is there a firewall running locally or any other packet filtering on that arch box?
If you can not find the cause of the filtering and you need access to that server have you considered tunnelling a connection as a work around?

Laërte wrote:

PS: How can I use WPA2 instead of WPA ?

Will leave that issue to igorek24

Offline

#9 2015-11-30 16:26:49

Laërte
Member
Registered: 2015-08-26
Posts: 13

Re: Cannot acces to some server : packet filtered by gateway

Also it should not be relevant to the current issue as you are trying to connect to port 143 on another machine not port 143 locally.

So how can I know which ports are opened on my computer ?

There ain’t any firewall on my computer — except iptables but it tells me it has no rules configured — and nothing is supposed to filter anything…
As for tunelling a connection, don’t I need a remote server to do this ? Because I don’t have one, so I cannot.
Otherwise, could you indicate me where I can find documentation to learn how to, so I can at least check my emails ? ^^

Thanks !

Offline

#10 2015-11-30 17:14:05

loqs
Member
Registered: 2014-03-06
Posts: 18,320

Re: Cannot acces to some server : packet filtered by gateway

Laërte wrote:

Also it should not be relevant to the current issue as you are trying to connect to port 143 on another machine not port 143 locally.

So how can I know which ports are opened on my computer ?

See the ss man page for options.
As a solid example this shows all (unconnected , listenning, connected) inet ( IPv4 + IPv6 ) sockets on your system.

ss -aA inet

To reiterate the point you could have no open ports at all and then make a connection to port 143 on a remote server and the kernel would automatically allocate a random local high port for that connection.

Laërte wrote:

There ain’t any firewall on my computer — except iptables but it tells me it has no rules configured — and nothing is supposed to filter anything…
As for tunelling a connection, don’t I need a remote server to do this ? Because I don’t have one, so I cannot.

Yes tunnelling needs a remote end point.
Edit:
Have you tried using https://webmail.orange.fr as an alternative workaround (seems to be an https interface to the same mail service)?

Last edited by loqs (2015-11-30 17:25:43)

Offline

Board footer

Powered by FluxBB