Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Servers & Networking
FedoraForum Search

Forgot Password? Join Us!

Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 8th February 2011, 01:07 AM
renkinjutsu Offline
Registered User
 
Join Date: Mar 2010
Posts: 85
linuxchrome
iptables no chain/target/match >:(

I've got a nice laptop that i'm using as a router and i'm trying to configure it to route certain traffic to different gateways, but I'm having trouble with iptables

Code:
iptables -t mangle -A PREROUTING -i eth0.2 -j MARK --set-mark 1
iptables: No chain/target/match by that name.
But when I check, PREROUTING is a valid chain

Code:
iptables -t mangle -S
-P PREROUTING ACCEPT
-P INPUT ACCEPT
-P FORWARD ACCEPT
-P OUTPUT ACCEPT
-P POSTROUTING ACCEPT
In fact, I tried it with a different action (replaced MARK with ACCEPT) and it worked. It only fails when I want to MARK the packet

I recompiled the kernel and made sure I had fwmark support (CONFIG_NET_CLS_FW=y .. or is this the wrong config?)
Reply With Quote
Reply

Tags
>, chain or target or match, iptables

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
iptables: RH chain: mystery of 224.0.0.251 & 224.0.0.22 partly solved & partly open Nick Levinson Security and Privacy 1 17th February 2009 04:38 PM
USB key chain problem lpsavoie Hardware & Laptops 1 13th November 2008 04:47 AM
iptables edits lost in reboot; RH chain Nick Levinson Security and Privacy 3 14th October 2007 08:06 PM
chain certificates new2_openssl Security and Privacy 1 18th January 2006 04:21 AM
iptables: target `standard' v1.2.8 (I'm v1.2.7a). - huh? moronbros Security and Privacy 0 17th November 2004 07:07 PM


Current GMT-time: 04:21 (Wednesday, 19-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat