Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Basically I want to administrate the internet shared connection that I make in Ubuntu 10.4. Anyone knows how? I turn on a Firewall but only blocks certain applications.

share|improve this question

migrated from stackoverflow.com Nov 18 '11 at 3:33

This question came from our site for professional and enthusiast programmers.

    
Easiest is probably to use a proxy like Squid and force all web traffic through your proxy. –  sarnold Nov 17 '11 at 22:49
    
@salmod but i have to make anything in the client computer? –  MrSanders Nov 17 '11 at 22:52
    
The TLDP Transparent Proxying with Squid HOWTO is a little old, but should be useful. –  sarnold Nov 17 '11 at 23:02
    
@sarnold ok i will try with this option; i just want to administrate complete the internet flow in my enterprise many people spend too many time in youtube, and this kill my internet connection. –  MrSanders Nov 18 '11 at 14:22
add comment

1 Answer 1

I hope this link will provide you neccessary help for you: How to Block an IP Address From Attempting a Connection to Ubuntu:

  • Click "Applications" on the Ubuntu dashboard, then click "Accessories" or "See More Results," and click "Terminal." A terminal command prompt window will appear.

  • Type "sudo ufw default allow" at the command prompt, and press "Enter." Type the root password on the command line if prompted. Type "sudo ufw enable" at the command prompt, and press "Enter." Type the root password on the command line if prompted.

  • Type "sudo ufw deny from x.x.x.x" at the command prompt, except replace the "x.x.x.x" with the IP address you wish to block. Press "Enter."

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.