most efficient way to block an ip address from connecting to a ubuntu 18.04 server [on hold] The 2019 Stack Overflow Developer Survey Results Are In Unicorn Meta Zoo #1: Why another podcast? Announcing the arrival of Valued Associate #679: Cesar Manara Come Celebrate our 10 Year Anniversary!A secure, standard iptables rule-set for a basic HTTP(s) webserverProblems connecting to my FTP server from another serverServer migration: most efficient wayUbuntu Server: Attack on blocked ports leads to Ping timeoutTCPDump and IPTables DROP by stringHow Temporarily block an IP address making too many hits on the Server with iptables?Block direct access to webserver IP via HTTPSCan a static IP be shared?Cisco Routers and ACL with minimal interruptionBlock specific client in Linux iptables

Example of compact Riemannian manifold with only one geodesic.

University's motivation for having tenure-track positions

Is 'stolen' appropriate word?

What is the padding with red substance inside of steak packaging?

What happens to a Warlock's expended Spell Slots when they gain a Level?

Match Roman Numerals

How to politely respond to generic emails requesting a PhD/job in my lab? Without wasting too much time

Windows 10: How to Lock (not sleep) laptop on lid close?

Button changing its text & action. Good or terrible?

Can each chord in a progression create its own key?

Why can't devices on different VLANs, but on the same subnet, communicate?

Make it rain characters

How to read αἱμύλιος or when to aspirate

Why don't hard Brexiteers insist on a hard border to prevent illegal immigration after Brexit?

Are spiders unable to hurt humans, especially very small spiders?

Do working physicists consider Newtonian mechanics to be "falsified"?

Accepted by European university, rejected by all American ones I applied to? Possible reasons?

How do spell lists change if the party levels up without taking a long rest?

how can a perfect fourth interval be considered either consonant or dissonant?

Loose spokes after only a few rides

My body leaves; my core can stay

60's-70's movie: home appliances revolting against the owners

One-dimensional Japanese puzzle

Python - Fishing Simulator



most efficient way to block an ip address from connecting to a ubuntu 18.04 server [on hold]



The 2019 Stack Overflow Developer Survey Results Are In
Unicorn Meta Zoo #1: Why another podcast?
Announcing the arrival of Valued Associate #679: Cesar Manara
Come Celebrate our 10 Year Anniversary!A secure, standard iptables rule-set for a basic HTTP(s) webserverProblems connecting to my FTP server from another serverServer migration: most efficient wayUbuntu Server: Attack on blocked ports leads to Ping timeoutTCPDump and IPTables DROP by stringHow Temporarily block an IP address making too many hits on the Server with iptables?Block direct access to webserver IP via HTTPSCan a static IP be shared?Cisco Routers and ACL with minimal interruptionBlock specific client in Linux iptables



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








-2















Since i do not have access to other layers, i would like to know the most efficient way to block an ip address from connecting to a Ubuntu 18.04 server. To the box itself, they are most likely connecting to port 80. However i would like to block access across all ports to this ip address.



I am aware of adding a record in iptables. By most efficient i mean, the least amount of layers the packet goes through. Kind of like blocking using iptables happens before block using an apache config on the webserver itself.



Are there any other better ways?



Thanks










share|improve this question







New contributor




user964491 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











put on hold as off-topic by yoonix, Jenny D, Ward 3 hours ago


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "Requests for product, service, or learning material recommendations are off-topic because they attract low quality, opinionated and spam answers, and the answers become obsolete quickly. Instead, describe the business problem you are working on, the research you have done, and the steps taken so far to solve it." – yoonix, Ward
If this question can be reworded to fit the rules in the help center, please edit the question.











  • 1





    route add THEIPADDRESS 127.0.0.1 will mean they never get any packets accepted and therefore cannot connect.

    – Jenny D
    2 days ago

















-2















Since i do not have access to other layers, i would like to know the most efficient way to block an ip address from connecting to a Ubuntu 18.04 server. To the box itself, they are most likely connecting to port 80. However i would like to block access across all ports to this ip address.



I am aware of adding a record in iptables. By most efficient i mean, the least amount of layers the packet goes through. Kind of like blocking using iptables happens before block using an apache config on the webserver itself.



Are there any other better ways?



Thanks










share|improve this question







New contributor




user964491 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











put on hold as off-topic by yoonix, Jenny D, Ward 3 hours ago


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "Requests for product, service, or learning material recommendations are off-topic because they attract low quality, opinionated and spam answers, and the answers become obsolete quickly. Instead, describe the business problem you are working on, the research you have done, and the steps taken so far to solve it." – yoonix, Ward
If this question can be reworded to fit the rules in the help center, please edit the question.











  • 1





    route add THEIPADDRESS 127.0.0.1 will mean they never get any packets accepted and therefore cannot connect.

    – Jenny D
    2 days ago













-2












-2








-2








Since i do not have access to other layers, i would like to know the most efficient way to block an ip address from connecting to a Ubuntu 18.04 server. To the box itself, they are most likely connecting to port 80. However i would like to block access across all ports to this ip address.



I am aware of adding a record in iptables. By most efficient i mean, the least amount of layers the packet goes through. Kind of like blocking using iptables happens before block using an apache config on the webserver itself.



Are there any other better ways?



Thanks










share|improve this question







New contributor




user964491 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












Since i do not have access to other layers, i would like to know the most efficient way to block an ip address from connecting to a Ubuntu 18.04 server. To the box itself, they are most likely connecting to port 80. However i would like to block access across all ports to this ip address.



I am aware of adding a record in iptables. By most efficient i mean, the least amount of layers the packet goes through. Kind of like blocking using iptables happens before block using an apache config on the webserver itself.



Are there any other better ways?



Thanks







linux ubuntu ip tcp ip-address






share|improve this question







New contributor




user964491 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question







New contributor




user964491 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question






New contributor




user964491 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked Apr 8 at 14:39









user964491user964491

992




992




New contributor




user964491 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





user964491 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






user964491 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




put on hold as off-topic by yoonix, Jenny D, Ward 3 hours ago


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "Requests for product, service, or learning material recommendations are off-topic because they attract low quality, opinionated and spam answers, and the answers become obsolete quickly. Instead, describe the business problem you are working on, the research you have done, and the steps taken so far to solve it." – yoonix, Ward
If this question can be reworded to fit the rules in the help center, please edit the question.







put on hold as off-topic by yoonix, Jenny D, Ward 3 hours ago


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "Requests for product, service, or learning material recommendations are off-topic because they attract low quality, opinionated and spam answers, and the answers become obsolete quickly. Instead, describe the business problem you are working on, the research you have done, and the steps taken so far to solve it." – yoonix, Ward
If this question can be reworded to fit the rules in the help center, please edit the question.







  • 1





    route add THEIPADDRESS 127.0.0.1 will mean they never get any packets accepted and therefore cannot connect.

    – Jenny D
    2 days ago












  • 1





    route add THEIPADDRESS 127.0.0.1 will mean they never get any packets accepted and therefore cannot connect.

    – Jenny D
    2 days ago







1




1





route add THEIPADDRESS 127.0.0.1 will mean they never get any packets accepted and therefore cannot connect.

– Jenny D
2 days ago





route add THEIPADDRESS 127.0.0.1 will mean they never get any packets accepted and therefore cannot connect.

– Jenny D
2 days ago










1 Answer
1






active

oldest

votes


















6














In general, earlier denial means less load and potentially malicious traffic reaches your compute.



A network level firewall prevents packets from reaching the host.



A host level firewall prevents packets from reaching applications.



An application layer access list has not prevented the connection, but may deny servicing the request. If you know you don't want a given address or port, a firewall rule would be more efficient.






share|improve this answer





























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    6














    In general, earlier denial means less load and potentially malicious traffic reaches your compute.



    A network level firewall prevents packets from reaching the host.



    A host level firewall prevents packets from reaching applications.



    An application layer access list has not prevented the connection, but may deny servicing the request. If you know you don't want a given address or port, a firewall rule would be more efficient.






    share|improve this answer



























      6














      In general, earlier denial means less load and potentially malicious traffic reaches your compute.



      A network level firewall prevents packets from reaching the host.



      A host level firewall prevents packets from reaching applications.



      An application layer access list has not prevented the connection, but may deny servicing the request. If you know you don't want a given address or port, a firewall rule would be more efficient.






      share|improve this answer

























        6












        6








        6







        In general, earlier denial means less load and potentially malicious traffic reaches your compute.



        A network level firewall prevents packets from reaching the host.



        A host level firewall prevents packets from reaching applications.



        An application layer access list has not prevented the connection, but may deny servicing the request. If you know you don't want a given address or port, a firewall rule would be more efficient.






        share|improve this answer













        In general, earlier denial means less load and potentially malicious traffic reaches your compute.



        A network level firewall prevents packets from reaching the host.



        A host level firewall prevents packets from reaching applications.



        An application layer access list has not prevented the connection, but may deny servicing the request. If you know you don't want a given address or port, a firewall rule would be more efficient.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Apr 8 at 17:02









        John MahowaldJohn Mahowald

        8,7411713




        8,7411713













            Popular posts from this blog

            How to write a 12-bar blues melodyI-IV-V blues progressionHow to play the bridges in a standard blues progressionHow does Gdim7 fit in C# minor?question on a certain chord progressionMusicology of Melody12 bar blues, spread rhythm: alternative to 6th chord to avoid finger stretchChord progressions/ Root key/ MelodiesHow to put chords (POP-EDM) under a given lead vocal melody (starting from a good knowledge in music theory)Are there “rules” for improvising with the minor pentatonic scale over 12-bar shuffle?Confusion about blues scale and chords

            What if the end-user didn't have the required library?What is setup.py?What is a clean, pythonic way to have multiple constructors in Python?What does Ruby have that Python doesn't, and vice versa?What is the reason for having '//' in Python?How do I create a namespace package in Python?How to package shared objects that python modules depend on?setuptools vs. distutils: why is distutils still a thing?Navigation in Windows 10 vs code not going to virtualenv library when the same library is installed at user levelPython create package for local usePackaging a project that uses multiple python versionsWhy is permission denied on pip install except for when “--user” is included at end of command?

            Why did Thanos need his ship to help him in the battle scene?Which actor plays Thanos in the Avengers mid-credits scene?Are there economic implications portrayed in comics where the buildings and cities are ruined almost daily?Old X-Men comic where team travels to alien world with a ring-like sun that needs recharging?Why does Ego need help sleeping?Is there an objective answer to who “the strongest Avenger” is?How did Banner get unstuck?Why did Thanos get hit?How did Thanos (or anyone) know the Infinity Stones would give him this power?Did Thanos leave Eitri alive for his after-sales service?In Avengers 1, why does Thanos need Loki?