Server :: Open SMTP Port On Router (which Connects LAN To Internet) Also Needs To Open?
Apr 14, 2010
I have sendmail running on my centOS 4.6. My lamp server also runs on it. I want to send mail through php mail function. when i execute php page, which fires the mail function, it takes so much long tim1 say even 1 minute, and at last displays that message sent successfully. Suppose, destination address is [URL].... I did not get any mail there. My server is running in LAN. I checked the status of sendmail, it shows me that it ios running. when i issue "nmap localhost" it shows me that SMTP port 25 is open, but when i issue "nmap myserver" (192.168.1.20 myserver ( written in hostfile)), it does not show that SMTP port is open.
I checked the /var/log/maillog, one person in my previous post advice me to see that. There it shows that message is accepted for delivery...but i do not get any mail in my destination, even not in spam folder. One more confusion is that, in my case my server is in LAN and if I am at all enable to open the SMTP port on it, does i need to open SMTP port on my router (which connects my LAN to internet) also needs to open? I think no, because SMTP is application layer protocol, it will wrap my mail in IP packet, which router just need to forward. am i right?
The server I'm running is virtually stock CentOS - it's running on a xen virtual host, started as CentOS 5.1 (32 bit) when that was fresh, it's at 5.5 now and updated nightly. All packages except postgresql and php are from CentOS and EPEL.
I'm running dovecot on it, and for long time, squirrelmail connecting via localhost was good enough. All external ports were firewalled by the CentOS firewall (just 25,80,443,custom ssh are currently open).
Now I need to allow an external imap client to connect.
I have generated ssl key and configured the dovecot configuration and it should be good to go, but gosh dangit, I can't remember how to open the port in the configuration.
I did it before when I set up ssh to run on a non standard port after I got sick of constant brute force attack on port 22, but I can't recall what I did and the various tutorials I find online all tell how to do it with the GUI tool, but I don't have any GUI stuff installed.
Is I'm pretty sure what I used to open up my custom > 1024 ssh port, but I can't remember how I used it to open that port and it doesn't seem intuitive. Also, do I need to use 993? I'd almost rather use something custom above 1024, as long as thunderbird supports it (don't care about any other mail client)
Finally, my smtp server is postfix and port 25 is already open (but not an open relay, I check it about every 3 months). For requests to send mail from a client, I would really like some authentication of some type - as in only relays for IP addresses that have recently successfully logged in the secure imap port.
I just finished setting up my small server, however I realized that no one can connect to it from the outside. The reason being is that my router is assigning internal ip's and dyndns is linked to that. I need port 80 for the Apache server, but if I have the router forward that port to my particular ip, won't it screw with everyone else's internet too?
I have an n900 phone and I'm trying to ssh to my desktop but I'm getting an error:
ssh: connect to host 58.xx.xx.xx port 22: Connection refused
I recently started using a router for I wanted to connect to net even with n900. I've tried to open the port from the setup page of the router however it doesn't seem to work. (find below the screenshot of setup page).
I've tried to ssh through slackware I've got as a virtual machine and I have the same problem although I was able to ssh through slackware before I started using the router.
I am trying to make a vnc connection from pc #2 to pc #1. Pc #1 is a debian pc behind a zyxel router (P-2602HW-D1A). Pc #2 is a windows xp pc another place at the internet.I have configured the zyxel router to forward incomming trafic on port 5902 to the local ip-adress of the debian box. The debian box is running a vnc server, listening on port 5902.But i dosn?t work.I have tryed to scan the zyxel routers ipadress on port 5902 from the internet, but the scanner says that the port is closed.The vnc server on pc #1 is working fine on the local network. I can connect to the server from a pc on the same side of the zyxel router.Is it deffenitly a router problem, or could it have something to do with debians own firewall?
I've recently been taking a look at my router settings and I've realized i have my vnc port open for some reason. I don't know how or why it got opened because I've only used vnc within my private lan. Anyway, the problem is I couldn't figure out how to close that port on my router, so I just uninstalled all the vnc software from my computer so it wouldn't act like a vnc server for anybody trying to access it from the outside. So, effectively, I cannot vnc into my computer from outside my private lan, but when i port scan my public ip, the vnc port still appears open.
I'm wondering if there's something i'm missing. I'm sure it must be something in the router that I haven't figured out... something that's keeping port 5900 open.
We have one major problem in our dedicated online mail server. In this mail server both sendmail and qmail running for send and receive mails. In this server I can able to send mail to other domain like Gmail and yahoo its works fine. But I am not receiving any mails from other domains. And automatically I got telnet localhost 25 connections refused error. When I send mail from my webmail I got like this error Connection refused Server replied: 111 can't open SMTP stream. This is I got when I send mail from webmail. I am using centos 5.2 version.
Ok For some reason I open my ports in security and firewall. I open ssh and other ports and port 7001 for example but when I go to check to see if they are open or try to connect to them. It shows that they are still closed. I am using - [URL] Also yes my ports are open on my router. I know my router works fine with opening ports because I have shoutcast setup on another computer with xp that is currently running. I am willing to pay for who can ever get this fixed for me...
i have a problem with my new router and ubuntu 10.10. The problem is that my internet connection show me that my laptop had connect to internet but my browser can't open a website ( this problem is the same with my netbook ) to fix it always must turn it off and after on either it never makes.
trying to run 10.04 netbook live from a memory stick with a view to installing it on my laptop. However although I can see my wireless router and connect to it I cannot access the internet. I have tried this on my laptop and desktop with the same result. I was however able to download Seamonkey browser using the software manager....this also cannot access the internet. Both of my PC's have no problem when using XP or Linux Mint.
I have also discovered that if I piggyback, using Ubuntu 10.04, on a neighbours open wifi link I can gain access to the internet. My wifi is using WEP protection but as I said I can set the link up to the router, entering the appropriate key code, and have a good signal strength, I just cannot access a google search page.
I have Linux server (centos) in my company ,In Server have two Ethernet card we are using one for getting internet connection via eth0 and another one is passing network is shared through this ethernet eth1.Network is shared through this linux squid proxy server to Windows client .But thing is In Windows client Browsing internet via proxy is fine . But while ping google.com in cmd it say could not connect.
Since I have 3 Network cards in my Desktop PC I've configured it to act as a Router using GNU/Linux Ubuntu Lucid in combination with Samba so I could share my internet connection. It works on any laptop a connect to it using any of the network cards ports [regardless of the operating system installed on the Laptops], but when I plug that same network cable to any Desktop PC [regardless of the operating System installed] it doesn't even light the LED in the netcards. From the Client PC seems like nothing is plugged in the the netcards.
I am trying to connect to my linux server using an SCP Key (PPK), but I can't get through using Putty, WinSCP, etc. I think Port 22 might not be open, but I don't know how to open it if I can't at least access the server using SSH.
Our DBA has an application running on Server2 which needs to connect to Server1 (Linux OEL5.5 server) thru port# 9171. I use telnet to test basic connectivity.What should I do on Server1 in order to open up port#9171 for connection.
I changed to a 4 port ethernet router (D-Link DSL-2542B Adsl2+)with intention to share Internet access with my brother (he's on Vista).Initially it all went well,but 3 days ago there were connection problems occured on the part of the ISP. Without realized the problem,I had reset the router.This morning I've been informed by the ISP that the connection has been re-established.So,I accessed the Internet via the 4 port router but failed to do so (server not found).Suspecting that the problem was from the 4 port router,I reverted to my old Adsl router (DSL-520B single port) and without any problem I managed to access the Internet back.I really need help to configure back the 4 port ethernet router to its initial state.
from my windows box at work i can only connect to some ports (pop3, telnet, web)also, i can connect to port 1234 (as an example)everything else is blocked.I'm trying to connect with Microsoft Terminal Service Client to my linux box (cant install any vnc)but haven't found a way to make Gnome remote desktop to listen to the port i need (1234).I'm using fedora 13.anyway, i would appreciate any advice on what software to use or hot to configure my Linux box get remote connections from windows box on that certain port.
On our server port 25 is open for sending email. I want to open port 587 too in our firewall.If I have open tow ports 25 and 587 for out going email it is not going to make any problem? my server is Centos 5 I am using webmin to access to our server.
I have one pc on which I have installed slackware and samba (fixed IP, mask 255.255.255.0) I have another PC (also XP) which also has fixed IP running XP, and I can connect that to the slackware server easily My third PC connects to the internet and gets its IP address from the Cisco router(?) that provides the IP and mask on boot up.
I tried changing the IP and Mask on the slackware server to match the internet PC (which uses a mask 255.255.254.0) but the PC mask and IP changed on the internet PC I want the PC that connects to the internet to also be able to connect to the slackware server, but I see no need for the slackware server to also connect to the internet - I will mainly use it as a file server When I worked for another company I think the IT department talked about having 2 network cards in the PC that connects to the internet