LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-09-2013, 01:05 PM   #1
Vilius
Member
 
Registered: Jan 2006
Location: Lithuania
Distribution: Arch, Debian
Posts: 193

Rep: Reputation: 16
iptables - match all host addresses ?


Hello,

I just want to match all host addresses - like pf "self" keyword.
I don't wand to write separate rule for every address.

thanks,
Vilius M
 
Old 03-09-2013, 01:32 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3608Reputation: 3608Reputation: 3608Reputation: 3608Reputation: 3608Reputation: 3608Reputation: 3608Reputation: 3608Reputation: 3608Reputation: 3608Reputation: 3608
Using ipset (somewhat similar to how pf uses "table") would need one rule only? See 'man ipset' for more nfo.
 
  


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
Two IP addresses on 1 host (1 for host and one for guest) sopel1000 Linux - Networking 10 08-29-2012 10:52 AM
What two IP addresses could never be assigned to any host computer? turbomen Linux - Newbie 2 11-16-2010 01:31 AM
Host has two addresses associated with it kaplan71 Red Hat 1 03-13-2007 10:12 AM
Certificate doesnt match host hua Linux - Server 2 01-21-2007 04:23 AM
eth1 and loopback netmasks addresses match HELP Belize Linux - Networking 8 10-05-2003 12:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:39 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
Open Source Consulting | Domain Registration