[GH-ISSUE #2222] DNS-Crypt local proxy (127.0.0.1) and --net=eth0 #1492

Closed
opened 2026-05-05 08:09:40 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @julien-tmp on GitHub (Oct 28, 2018).
Original GitHub issue: https://github.com/netblue30/firejail/issues/2222

Hello
I I would like to launch firefox with firejail --net=eth0 --netfilter=/etc/firejail/nolocal.net --private firefox -no-remote

Firefox cannot use the DNS anymore and using --dns=127.0.0.1 does not help. This seems to be due to --net=eth0. Adding --net=lo does not seem possible.

What can be done?

Originally created by @julien-tmp on GitHub (Oct 28, 2018). Original GitHub issue: https://github.com/netblue30/firejail/issues/2222 Hello I I would like to launch firefox with `firejail --net=eth0 --netfilter=/etc/firejail/nolocal.net --private firefox -no-remote` Firefox cannot use the DNS anymore and using `--dns=127.0.0.1` does not help. This seems to be due to `--net=eth0`. Adding `--net=lo` does not seem possible. What can be done?
gitea-mirror 2026-05-05 08:09:40 -06:00
  • closed this issue
  • added the
    duplicate
    label
Author
Owner

@netblue30 commented on GitHub (Nov 5, 2018):

Every time you create a network namespace, it brings in a new loopback interface. So the loopback interface you have is different than the regular system loopback. We need a --net=lo, although I have no idea in this moment how we can do it.

<!-- gh-comment-id:435869561 --> @netblue30 commented on GitHub (Nov 5, 2018): Every time you create a network namespace, it brings in a new loopback interface. So the loopback interface you have is different than the regular system loopback. We need a --net=lo, although I have no idea in this moment how we can do it.
Author
Owner

@rusty-snake commented on GitHub (Jan 25, 2020):

Duplicate of #108

<!-- gh-comment-id:578391675 --> @rusty-snake commented on GitHub (Jan 25, 2020): Duplicate of #108
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#1492
No description provided.