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 06-30-2017, 03:02 AM   #1
aidylewis
LQ Newbie
 
Registered: Apr 2016
Posts: 25

Rep: Reputation: Disabled
iptables -> ip6tables


Of course ip6tables has different rules to iptables. I am trying to limit established TCP conns to x amount.

I was using this before

Code:
sudo iptables -A OUTPUT -p tcp --syn --dport 80  -m connlimit --connlimit-above 10 -j REJECT
And a command line load tool to generate enough load to always hit 10.

Is there a equivalent in ip6tables?

Many Thanks

Aidy
 
Old 06-30-2017, 07:03 AM   #2
dejank
Member
 
Registered: May 2016
Location: Belgrade, Serbia
Distribution: Debian
Posts: 229

Rep: Reputation: Disabled
If that works for you with iptables, it will work with ip6tables too. So, just replace iptables with ip6tables and you are good to go. Of course, it goes in different file, not in same file where you store iptables.
 
1 members found this post helpful.
  


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
Do I need to use ip6tables in addition to iptables? veeruk101 Linux - Newbie 1 10-24-2011 06:26 PM
[SOLVED] iptables and ip6tables - questions cnmoore Linux - Newbie 8 09-20-2010 10:39 PM
iptables and ip6tables MicahCarrick Linux - Software 2 12-31-2006 10:35 AM
iptables vs. ip6tables q14526 Linux - Security 3 09-29-2006 04:15 PM
iptables and/or ip6tables? DropHit Linux - Software 0 02-18-2004 02:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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