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

            Wikipedia:Vital articles Мазмуну Biography - Өмүр баян Philosophy and psychology - Философия жана психология Religion - Дин Social sciences - Коомдук илимдер Language and literature - Тил жана адабият Science - Илим Technology - Технология Arts and recreation - Искусство жана эс алуу History and geography - Тарых жана география Навигация менюсу

            Bruxelas-Capital Índice Historia | Composición | Situación lingüística | Clima | Cidades irmandadas | Notas | Véxase tamén | Menú de navegacióneO uso das linguas en Bruxelas e a situación do neerlandés"Rexión de Bruxelas Capital"o orixinalSitio da rexiónPáxina de Bruselas no sitio da Oficina de Promoción Turística de Valonia e BruxelasMapa Interactivo da Rexión de Bruxelas-CapitaleeWorldCat332144929079854441105155190212ID28008674080552-90000 0001 0666 3698n94104302ID540940339365017018237

            What should I write in an apology letter, since I have decided not to join a company after accepting an offer letterShould I keep looking after accepting a job offer?What should I do when I've been verbally told I would get an offer letter, but still haven't gotten one after 4 weeks?Do I accept an offer from a company that I am not likely to join?New job hasn't confirmed starting date and I want to give current employer as much notice as possibleHow should I address my manager in my resignation letter?HR delayed background verification, now jobless as resignedNo email communication after accepting a formal written offer. How should I phrase the call?What should I do if after receiving a verbal offer letter I am informed that my written job offer is put on hold due to some internal issues?Should I inform the current employer that I am about to resign within 1-2 weeks since I have signed the offer letter and waiting for visa?What company will do, if I send their offer letter to another company