Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

For example, I have an ONT optical fiber with two Ports.

  • Port 1 connects to the router (Int IP: (Ext IP:, the router assigns me an internal IP for the Web Server ( ->

  • Port 2 connects to the mail server (Ext IP:

    How difficult here, I need all the webserver send mails ( THROUGH send them mail server (

Any Idea :) ?

share|improve this question
Without knowing what type of router you have ... there is no way we can help you – Zypher Aug 9 '11 at 23:26
Dlink Dir-100 :) – blackriderws Aug 9 '11 at 23:30
Currently, the NAT router is properly configured and works perfectly, my only drawback is that makes the Webserver is inside the router ( sends mail using the external mail server ( – blackriderws Aug 9 '11 at 23:36
If I understand the question, you have your webserver sending mail through your mail server instead of sending mail itself. If that is the case, we'd need to know more about your setup. I suspect whatever you are using to send emails on the web server can be told what SMTP server to use. – MikeAWood Aug 10 '11 at 0:01

You should be able to configure your web server and/or its application(s) to send SMTP emails via Likewise, you should be able to ping from your web server.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.