LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-23-2008, 01:47 PM   #1
bamquest6
LQ Newbie
 
Registered: Sep 2008
Posts: 1

Rep: Reputation: 0
Binding SMTP service into IP tables, and redirecting SMTP to port 366


Hello

I sure hope someone here can help us with this. Our server runs CentOS version 5.1.

We just had our sys admin open port 366 on our firewall since we have some customers in the US that use Comcast as their main ISP and apparently the've recently blocked port 25 from all their servers, which of course prevents their users from sending mail normally thru that port.

However we've been told that there is actually a way around that issue if we use port 366 instead.

So my question is just this:

How do you tell IP tables, in other words what's the line (or lines) we need to add in the IP tables config file and most importantly, what is the name of that file and in which folder is it supposed to be?

Thanks for all your help, it is appreciated.

Bamquest6
 
Old 09-24-2008, 02:48 AM   #2
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,070

Rep: Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897
I'm afraid for a useful answer, you will need to supply more information.

Firstly, when you say that you have "had our sys admin open port 366 on our firewall" do you mean that this firewall (the one on which you have already opened 366) is a different firewall from the iptables firewall on which you now want to make a change?

Assuming that was the correct interpretation, you need to find out how your existing iptables firewall rules are being created. Probably, the three most popular options are:
  • from a graphical front end, prefereably, for security purposes from a different machine
  • from a bash script (or other scripting language)
  • 'manually' using 'iptables -L' to dump and append/insert

...while you could always create the effect that you want on a one off bassis 'by hand', if, the next time that you reboot, something else kicks in, you'll want to have control of the thing that writes the rules at a reboot.
 
  


Reply



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
PHP SMTP connection to gmail SMTP protocol violation ratcateme Programming 9 02-23-2009 03:58 AM
can I use sendmail for SMTP instead of my ISP's SMTP server? fcdev Linux - Networking 1 02-05-2007 01:27 AM
How to start smtp service aroop Linux - Networking 1 06-10-2004 09:30 AM
smtp service fideli Linux - Software 4 11-10-2003 07:11 PM
SMTP and KMail and SMTP and Netscape Mail jazz... Linux - Newbie 5 10-11-2003 03:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:02 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
Open Source Consulting | Domain Registration