LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-03-2009, 05:20 AM   #1
adamkini
LQ Newbie
 
Registered: Apr 2009
Posts: 1

Rep: Reputation: 0
How to direct http and smtp requests


Hi everybody

I have a problem and i need help from you guys

i have a machine with two public IP addresses.one is used for proxying.I want to use the second ip to accept smtp and http from the internet and direct them to another machine with a private ip-address 192.168.1.17.I want to use the second machine as a http and email server
 
Old 04-03-2009, 09:18 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 18,336

Rep: Reputation: 3895Reputation: 3895Reputation: 3895Reputation: 3895Reputation: 3895Reputation: 3895Reputation: 3895Reputation: 3895Reputation: 3895Reputation: 3895Reputation: 3895
Quote:
Originally Posted by adamkini View Post
Hi everybody

I have a problem and i need help from you guys

i have a machine with two public IP addresses.one is used for proxying.I want to use the second ip to accept smtp and http from the internet and direct them to another machine with a private ip-address 192.168.1.17.I want to use the second machine as a http and email server
Ok...those are your GOALS, but what problem are you having?

On the first machine, you can use iptables to do redirection to the second machine, from those ports (110, 25, and 80).

On the second machine, set up Apache and a mail server (postfix or sendmail).

You don't say anything about what version/distro of Linux is on those machines, or what software you're using, or what exact problems you're having, so it's hard to be more specific.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
http requests hanging scalforama Linux - Networking 1 01-29-2008 05:01 AM
automating http requests Murdock1979 Programming 5 12-03-2007 10:14 AM
How to Accept SMTP Requests for Subnet Only nytcrwlr70 Linux - Security 4 07-07-2007 02:21 AM
Redirect SMTP Requests ALInux Linux - Networking 2 08-03-2006 08:41 AM
Help! (I'm getting flooded with http requests) rknoesel Mandriva 6 11-14-2004 06:57 PM


All times are GMT -5. The time now is 10:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration