Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have installed the Ubuntu system, and deny both incoming and outgoing ports loosing internet access.

Now I want access only for my Firefox that I have installed separately from the Firefox website not the one from the repositories.

Now using Application Integration of UFW , I created a profile shown below:

description=firefox web browser

and added 53 port to allowed list for DNS and then allowed Firefox app profile outgoing connection.

My final settings are shown below:

Status: active
Logging: on (full)
Default: deny (incoming), deny (outgoing)
New profiles: skip

Status: active
Logging: on (low)
Default: deny (incoming), deny (outgoing)
New profiles: skip

To Action From
-- ------ ----
53 ALLOW OUT Anywhere
80,443/tcp (firefox) ALLOW OUT Anywhere
53 ALLOW OUT Anywhere (v6)
80,443/tcp (firefox (v6) ) ALLOW OUT Anywhere (v6)

Now, Firefox is able to access the internet, but all other applications are also able to access those open ports.

I want only Firefox to be able to access the Internet..

share|improve this question

closed as too localized by fossfreedom Dec 30 '12 at 9:32

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

This looks like a duplicate of this question. Can you try the solution there and see if it helps please? – Tom Brossman Apr 5 '12 at 19:59
Yes, this is similar to the link, but have already done those settings, problem is that my firefox profile for UFW is not working fine, It is made for firefox but allowing all application on port 80 and 443. Is is possible to tell ufw about the application with its path? – Raman Sethi Apr 5 '12 at 20:11
At this time there is no "application firewall" I would advise. My advise is for you to learn apparmor, I use an apparmor profile for all applications that are network aware. – bodhi.zazen Apr 5 '12 at 20:25
Yep, I know there is no application firewall for linux, demanded from a long time by users coming from windows background, I am just trying to hit and try the feature of ufw application integration but no luck. And thank you for suggestion, I shall definitely try to learn apparmor. – Raman Sethi Apr 5 '12 at 22:05
This question appears to be abandoned, if you are experiencing a similar issue please ask a new question with details pertaining to your problem. If you feel this question is not abandoned, please flag the question explaining that. :) – Seth Dec 30 '12 at 6:45

Browse other questions tagged or ask your own question.