LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 11-04-2006, 10:13 PM   #1
ok4life
LQ Newbie
 
Registered: Oct 2006
Posts: 24

Rep: Reputation: 15
IPTABLES allow masq cartain ports


me and a few others are trying to allowing only ports 25,110 to go through what we have is forwarding turned on in kernal then nat on output in iptables then stopping nat with this I believe

Code:
$IPTABLES -A FORWARD -i $INTIF -j DROP 
$IPTABLES -A FORWARD -o $INTIF -j DROP
so that users must go through authentication first (another software loaded on server) what I am trying to do is allow port 25 to allow sending of e-mail

any ideas are apreciated
I will be man iptables and testing if I find a solution it will be posted

NOTE: I am no IPTABLES god but I believe this should be possible

Last edited by ok4life; 11-04-2006 at 10:17 PM.
 
Old 11-04-2006, 10:27 PM   #2
ok4life
LQ Newbie
 
Registered: Oct 2006
Posts: 24

Original Poster
Rep: Reputation: 15
well as I test maybe that wasn't what drops it and as I man iptables I believe all that does is drop all forwarding I may need to play with the source of the software to do this??

Any body got any other Ideas?
 
  


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
FTP using TLS via masq / iptables RetroJohn Linux - Networking 6 10-29-2004 05:50 AM
configuring it as a router ftp, my sql,web server, and open and close ports with masq digitalf Mandriva 1 09-04-2004 04:43 AM
Lil' IPTABLES-MASQ QUESTION azornoz Linux - Networking 3 10-17-2003 04:55 PM
iptables masq eth0,1,2,3 garvald Linux - Networking 0 08-06-2003 07:37 AM
Quick Q's on IPTables/Masq tarballed Linux - Security 5 12-15-2002 05:47 AM

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

All times are GMT -5. The time now is 09:51 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