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

            RemoteApp sporadic failureWindows 2008 RemoteAPP client disconnects within a matter of minutesWhat is the minimum version of RDP supported by Server 2012 RDS?How to configure a Remoteapp server to increase stabilityMicrosoft RemoteApp Active SessionRDWeb TS connection broken for some users post RemoteApp certificate changeRemote Desktop Licensing, RemoteAPPRDS 2012 R2 some users are not able to logon after changed date and time on Connection BrokersWhat happens during Remote Desktop logon, and is there any logging?After installing RDS on WinServer 2016 I still can only connect with two users?RD Connection via RDGW to Session host is not connecting

            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

            Esgonzo ibérico Índice Descrición Distribución Hábitat Ameazas Notas Véxase tamén "Acerca dos nomes dos anfibios e réptiles galegos""Chalcides bedriagai"Chalcides bedriagai en Carrascal, L. M. Salvador, A. (Eds). Enciclopedia virtual de los vertebrados españoles. Museo Nacional de Ciencias Naturales, Madrid. España.Fotos