IPTABLES rule help

I need someone who is expert in iptables rules. What I want to achieve is this:

Block all incoming traffic from an IP address, but allow outgoing traffic to it.

What I have right now is a rule that will block incoming traffic from it. I want this rule modified, in order to allow outgoing traffic to it.

I will have more than 10,000 IP addresses (rules) in iptables, so please don't make the rule for established connections or any thing else, because a connection to that IP from my server can be made after 1-2 weeks.

I just want to block all incoming traffic from it, but allow outgoing, from my server.

This is the current rule, which works for incoming traffic, but not outgoing.

iptables -I INPUT -s [url removed, login to view] -j DROP

PS: The iptables rules are saved after all are added, in order to have them after a server restart.

Dianugerahkan kepada:

Hello,
easy task for me :) you can check my profile to see the past jobs reguarding iptables. i've done alot of them.
if you have a ny questions don't hesitate to contact me.
Ps) available in 30 min
Relevant SkLagi

$15 USD dalam 0 hari

(16 Ulasan)

3.8

14 pekerja bebas membida secara purata $23 untuk pekerjaan ini

Hi,
Greeting! Hope you are doing well
please provide me access of root and IP for which we need to create this rule .
Relevant Skills and Experience
10+ years of experience as a Linux hosting support engineer
ProposLagi

We are a group of electrical engineers and web developers. We will be happy to configure your iptables as such it blocks the specified IP from incoming connections, but allows outgoing connections.
Relevant Skills aLagi

Hello
I am system and network administrator, with more than 10 years of experience. Unfortunately I cannot say much here because of character count restriction
Regards
Eduard
Relevant Skills and Experience
Linux,Lagi

Hello!
I would like to help you with this task. Yes it's correct, above your block rule you need to use rule to allow related and established connections. I am sure, because I use it always. So no one has access to myLagi

I would love to discuss this project with you and would appreciate the opportunity to show you how can I help to meet your goals
Relevant Skills and Experience
I have experience in managing, securing and analyzing hunLagi

I'm working in hosting company as Linux administrator 7 years, therefore I can help you with your task.
Важливі навички та досвід
I know how to add need your iptables rules
Запропоновані поетапні платежі
$17 USLagi