Dear all,
I have an issue accessing port 25 from outside anything but my localhost.
Telnet to port 25 to localhost works fine:
[root@fileserver ~]# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 localhost.localdomain ESMTP Sendmail 8.14.2/8.14.2; Sat, 23 May 2009 20:09:4
4 +0200
And I can see port 25 when running an nmap on localhost....
nmap localhost
Starting Nmap 4.53 ( http://insecure.org ) at 2009-05-23 20:02 CEST
Interesting ports on fileserver (127.0.0.1):
Not shown: 1699 closed ports
PORT STATE SERVICE
22/tcp open ssh
25/tcp open smtp
80/tcp open http
110/tcp open pop3
111/tcp open rpcbind
139/tcp open netbios-ssn
143/tcp open imap
445/tcp open microsoft-ds
631/tcp open ipp
993/tcp open imaps
995/tcp open pop3s
2049/tcp open nfs
3128/tcp open squid-http
3306/tcp open mysql
But not when running nmap on the private ip adress in my lan:
nmap 192.168.1.140
Starting Nmap 4.53 ( http://insecure.org ) at 2009-05-23 20:03 CEST
Interesting ports on 192.168.1.140:
Not shown: 1701 closed ports
PORT STATE SERVICE
22/tcp open ssh
80/tcp open http
110/tcp open pop3
111/tcp open rpcbind
139/tcp open netbios-ssn
143/tcp open imap
445/tcp open microsoft-ds
993/tcp open imaps
995/tcp open pop3s
2049/tcp open nfs
3128/tcp open squid-http
3306/tcp open mysql
I disabled the firewall.
Distribution: Fedora 9
Kernel: 2.6.27.19-78.2.30.fc9.i686
ifconfig
eth3 Link encap:Ethernet HWaddr 00:0C:29C:1D:68
inet addr:192.168.1.140 Bcast:192.168.1.255 Mask:255.255.2
inet6 addr: fe80::20c:29ff:fedc:1d68/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:472046 errors:25 dropped:25 overruns:0 frame:0
TX packets:386317 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:397754081 (379.3 MiB) TX bytes:192977439 (184.0 Mi
Interrupt:10 Base address:0x1080
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:52235 errors:0 dropped:0 overruns:0 frame:0
TX packets:52235 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:8424949 (8.0 MiB) TX bytes:8424949 (8.0 MiB)
I suspect a filter / firewall issue on my router (DIR-655 running firmware 1.11EU) but tried disabling port forwarding to port 25 and the virtual server functionality on SMTP on port 25.
Any pointers will be much appreciated.