LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-20-2001, 11:43 AM   #1
Bubba
LQ Newbie
 
Registered: Feb 2001
Posts: 5

Rep: Reputation: 0
Question


I am trying to add a linux firewall to a company's network
Here's my situation... Internet --> CISCO Router --> Linux Firewall --> Private LAN. On the private LAN behind the firewall, I have an exchange server. I changed the exchange server's old IP to a private IP. The linux box uses another public IP address.

I can browse the internet thru the proxy. I can send and receive email internally. I can send email to the outside world. But I cannot receive email from the outside world.

I use ipchains and ipmasqadm on the linux box that is supposed to forward email on port 25 to the private IP of the exchange server. It is a basic setup based on all the documentation I've read, but I can't get the outside email to the exchange server. Is it possible that I need to change the linux server's IP to the old public IP that the exchange server used to have? Since this is the IP that the ISP recognizes for email?

Thanks for any suggestions.
 
Old 02-20-2001, 05:27 PM   #2
mjakob
Member
 
Registered: Feb 2001
Posts: 69

Rep: Reputation: 15
It sounds like you have a DNS problem. The linux firewall needs to have the same public IP address that is listed as your MX record. Or, simply put, if you had the exchange server working and put it behind the firewall and the firewall has a different IP address, then the mail is still looking for the old IP address. The easy way to fix that is to change the IP address of your linux box to the old IP of your exchange server as you suggested. The other way to fix it is to have the DNS records to point mail to the new IP address instead.

-Mark
 
Old 03-22-2001, 11:56 AM   #3
siddiqu
Member
 
Registered: Mar 2001
Location: India
Posts: 332

Rep: Reputation: 30
Better u put some smtp proxy from opensourcefirewall.com
or TIS.

I am using sendmail as my mail relay with TIS as listner

Siddiqu.T
 
  


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
BSD Firewall vs Linux Firewall ? rootlinux Linux - Security 5 08-29-2007 07:38 AM
Trouble letting players join Doom 3 Server with guarddog Firewall calimer Linux - Games 0 02-16-2005 02:07 AM
Trouble running firewall script - pls help Wags Linux - Security 1 07-29-2004 08:19 AM
RH8 Samba and Firewall Trouble RWild Linux - Networking 9 12-17-2002 08:03 PM
iptables trouble, LAN to MySQL on Firewall dwynter Linux - Security 3 11-01-2002 06:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:29 AM.

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
Open Source Consulting | Domain Registration