linuxxunil wrote:I have to ask these questions.
Can you ping outside of your IP address block?
Are you using an internet routable IP?
Are you plugged directly into the internet or are you going through a firewall/gateway?
Do you have a DNS server setup so that your mailserver can resolve to the outside world? i.e. can you ping google.com?
We'll go from here.
root@mail:~# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:0C:76:27:89:A3
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3918274567 errors:0 dropped:0 overruns:0 frame:0
TX packets:2162901061 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:537151123 (512.2 MiB) TX bytes:1242435076 (1.1 GiB)
Base address:0xa000 Memory:f3000000-f3020000
eth0:1111 Link encap:Ethernet HWaddr 00:0C:76:27:89:A3
inet addr:217.75.136.111 Bcast:217.75.136.255 Mask:255.255.255.255
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
Base address:0xa000 Memory:f3000000-f3020000
root@mail:~#
root@mail:~# ping google.com
PING google.com (209.85.135.99) 56(84) bytes of data.
64 bytes from mu-in-f99.1e100.net (209.85.135.99): icmp_seq=1 ttl=54 time=37.3 ms
64 bytes from mu-in-f99.1e100.net (209.85.135.99): icmp_seq=2 ttl=54 time=37.7 ms
64 bytes from mu-in-f99.1e100.net (209.85.135.99): icmp_seq=3 ttl=54 time=37.7 ms
64 bytes from mu-in-f99.1e100.net (209.85.135.99): icmp_seq=4 ttl=54 time=37.2 ms
Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\Kiril>ping mail.radioinfinity.net
Pinging mail.radioinfinity.net [217.75.136.111] with 32 bytes of data:
Reply from 217.75.136.111: bytes=32 time=10ms TTL=55
Reply from 217.75.136.111: bytes=32 time=10ms TTL=55
Reply from 217.75.136.111: bytes=32 time=10ms TTL=55
Reply from 217.75.136.111: bytes=32 time=10ms TTL=55
Ping statistics for 217.75.136.111:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 10ms, Maximum = 10ms, Average = 10ms
C:\Users\Kiril>
root@mail:~# uname -a
Linux mail.radioinfinity.net 2.6.22.12-vs2.2.0.5-fastvps #3 SMP Mon Mar 10 10:21:34 EET 2008 i686 i686 i386 GNU/Linux
root@mail:~#
root@mail:~# dig radioinfinity.net all
; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5_4.2 <<>> radioinfinity.net all
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 3710
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2
;; QUESTION SECTION:
;radioinfinity.net. IN A
;; ANSWER SECTION:
radioinfinity.net. 3600 IN A 93.152.157.205
;; AUTHORITY SECTION:
radioinfinity.net. 3600 IN NS ns34.domaincontrol.com.
radioinfinity.net. 3600 IN NS ns33.domaincontrol.com.
;; ADDITIONAL SECTION:
ns33.domaincontrol.com. 3153 IN A 216.69.185.17
ns34.domaincontrol.com. 3153 IN A 208.109.255.17
;; Query time: 104 msec
;; SERVER: 217.75.128.9#53(217.75.128.9)
;; WHEN: Fri Apr 16 02:39:52 2010
;; MSG SIZE rcvd: 138
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 18586
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;all. IN A
;; AUTHORITY SECTION:
. 10800 IN SOA a.root-servers.net. nstld.verisign-grs.com. 2010041501 1800 900 604800 86400
;; Query time: 169 msec
;; SERVER: 217.75.128.9#53(217.75.128.9)
;; WHEN: Fri Apr 16 02:39:52 2010
;; MSG SIZE rcvd: 96
root@mail:~#
root@mail:~# ipt
iptab iptraf iptunnel
root@mail:~# iptables -L
-bash: iptables: command not found
root@mail:~#