LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 03-06-2007, 12:50 AM   #1
sachin1361
Member
 
Registered: Feb 2007
Posts: 126

Rep: Reputation: 15
iptables


This is regarding allowing internet access to my private network users.

My linux server has two interface. One public (eth0) and other private(eth1). Which iptables command will allow all private users to have access of internet ?I am doubtful if i enter the DNS source and destination port statement in the iptables for packets originating from private n/w ??? I needed the all required iptables statements for this scenario.

Thanx in advance
 
Old 03-06-2007, 02:37 AM   #2
sachin1361
Member
 
Registered: Feb 2007
Posts: 126

Original Poster
Rep: Reputation: 15
iptables

[root@fruits ~]# iptables -A OUTPUT -j ACCEPT -m state --state NEW,ESTABLISHED,RELATED -o eth0 -p tcp -m multiport --dport 80,443 -m multiport --sport 1024:65535
*** glibc detected *** double free or corruption (fasttop): 0x0979cbe8 ***
Aborted


where is the problem ????????

Last edited by sachin1361; 03-06-2007 at 03:15 AM.
 
Old 03-06-2007, 08:26 PM   #3
SianZronG
LQ Newbie
 
Registered: Oct 2006
Distribution: RHEL Enterprise 4 ES , AS , WS
Posts: 15

Rep: Reputation: 0
Have you thought of setting eth1 as a trusted connection? so all connection coming in from here will be accepted?
 
Old 03-06-2007, 11:46 PM   #4
sachin1361
Member
 
Registered: Feb 2007
Posts: 126

Original Poster
Rep: Reputation: 15
iptables

yes... i want to cosnider eth0 as a trusted connection so that internet access should be allowed to them...

I think there is some systex problem only in the command only.............pl check it
 
Old 03-21-2007, 04:39 PM   #5
admiyo
LQ Newbie
 
Registered: Dec 2006
Location: SF Bay Area
Distribution: RHEL[3|4], Debian, CentOS
Posts: 15

Rep: Reputation: 0
Which Distro

Which Distro are you running? If it is a RHEL based one, then run

system-config-securitylevel And it should walk you through it.

(It had a different name under rhel3, something starting with redhat- I think.

If some other distro: There are numerous ui toolkits for building firewall rules. You might want to get one and play around with it. It is a great way to experiement.
 
  


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
An error occured getting IPtables status from the command /etc/rc.d/init.d/iptables s CrazyMAzeY Linux - Newbie 10 08-12-2010 05:25 AM
iptables v1.2.9: Unknown arg `/sbin/iptables' Try `iptables -h' or 'iptables --help' Niceman2005 Linux - Security 4 12-29-2005 08:20 PM
IPtables Log Analyzer from http://www.gege.org/iptables/ brainlego Linux - Software 0 08-11-2003 06:08 AM
iptables book wich one can you pll recomment to be an iptables expert? linuxownt Linux - General 2 06-26-2003 04:38 PM
My iptables script is /etc/sysconfig/iptables. How do i make this baby execute on boo ForumKid Linux - General 3 01-22-2002 07:36 AM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

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