LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-14-2012, 10:02 AM   #1
thatbigmoose
LQ Newbie
 
Registered: Oct 2012
Posts: 1

Rep: Reputation: Disabled
iptables trouble


I have a linux box with a shared connection setup with Ubuntu 12.04's native internet connection sharing function.
I then have another device(PS3) plugged into the Linux box's Ethernet port in order to get internet access.

The PS3 gets internet connection fine and everything, but it's TOTALLY unaffected by iptables.

The command I'm (trying) to get working is something like this:
Code:
iptables -A INPUT -p udp --dport 6493 -m length --length 135 -j DROP
It does nothing though, and packets of that size are still able to be sent both to and from the PS3. Either I really have no clue how to use iptables or the internet sharing method I'm using is completely bypassing the firewall.
Any help is appreciated. Thanks in advance!
 
Old 10-15-2012, 06:05 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
you need the FORWARD table for traffic passing THROUGH the box, not INPUT or OUTPUT
 
  


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
proftpd and iptables trouble kishore2k4 Linux - Server 2 10-15-2007 12:12 AM
iptables trouble Dr Strangelove Linux - Software 1 11-13-2006 09:14 PM
IPTABLES trouble scjvsTP Linux - Networking 1 10-21-2005 11:32 PM
trouble with iptables module wazilian Linux - Networking 0 09-24-2004 03:55 PM
trouble with iptables module wazilian Linux - Networking 0 09-24-2004 03:55 PM


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