LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-09-2005, 09:58 AM   #16
Ipolit
Member
 
Registered: Nov 2003
Location: Bulgaria
Distribution: Vector Linux, Morphix
Posts: 321

Original Poster
Rep: Reputation: 33

I added this and it works
iptables -A FORWARD -m state --state ESTABLISHED -s 0/0 -j ACCEPT

perhaps the router was not forwarded packages from the ISP to my LAN
do u think it's enough
 
Old 06-09-2005, 04:35 PM   #17
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Quote:
Originally posted by Ipolit
I added this and it works
iptables -A FORWARD -m state --state ESTABLISHED -s 0/0 -j ACCEPT

perhaps the router was not forwarded packages from the ISP to my LAN
do u think it's enough
LOL, yeah, i'd completely forgotten about that rule... it's needed so that the packets coming-back get forwarded properly... but you should match RELATED packets also, not just ESTABLISHED... like this:
Code:
iptables -A FORWARD -m state --state ESTABLISHED,RELATED -j ACCEPT
place the rule above all your other FORWARD rules... have fun...


Last edited by win32sux; 06-09-2005 at 06:16 PM.
 
  


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
[IPTABLES] FORWARD problem :( wesleywestervel Linux - Security 23 06-22-2005 09:08 AM
iptables forward one port on same IP baetmaen Linux - Networking 2 01-27-2005 08:47 AM
iptables forward? Bambi Linux - Security 2 10-02-2003 10:15 AM
iptables FORWARD ArnaudVR Linux - Security 6 07-07-2003 05:05 PM
iptables forward rules -x-Ed-x- Linux - Security 3 09-24-2002 02:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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