Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Let say you want to give access only to 192.160.0.2 and to ports 80,443.
I think we can write it like this:
Which means that if it's not the 192.168.0.2 host, well just drop it.
I'm not sure about it, but give it a try
red
that not what the OP wants.. the remote IP is unknown, so a rule like yours is not possible.
He needs a throttle on the serviceport(s), so one source can connect to it (unrelated to how many times this source connects to it)
Although i don't see why the OP wants to do this, since it could mean the OP is not allowed to connect if a portscan is ran by someone (hack recon e.g.)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.