Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 11-04-2004, 10:18 AM   #1
Registered: Mar 2004
Posts: 89

Rep: Reputation: 15
iptables allowing all LAN traffic


What would be the proper rule that would allow iptables to let all LAN traffic to pass through? I am running RH9 and using a Linksys G wireless router.

Old 11-04-2004, 11:27 AM   #2
Senior Member
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 49
you can

iptables -A INPUT -i eth1 -j ACCEPT
iptables -A OUTPUT -o eth1 -j ACCEPT

where eth1 is generally the LAN interface. These are very liberal rules.


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
iptables allowing a range adm1329 Linux - Networking 2 02-01-2005 01:04 PM
Iptables not allowing outbound https john8675309 Linux - Software 3 09-13-2004 10:41 PM
Allowing access to FTP server on LAN using IPTABLES - Help please sergio3986 Linux - Security 2 12-18-2003 12:22 PM
iptables not allowing domain connection Dogface1SG Linux - Networking 2 11-08-2003 12:03 PM
allowing IP traffic on firewall - unsafe? complus Linux - Security 4 09-04-2003 03:57 PM > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 08:30 PM.

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