Re: Application-specific networking

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2020-11-17 at 15:14 -0400, Jorge Fábregas wrote:
> On 11/17/20 2:44 PM, Jorge Fábregas wrote:
> > On 11/17/20 10:00 AM, William Oliver wrote:
> > > Is this doable?  Does anybody know where to look for info?
> > 
> > What about running that 2nd VPN (US-based) within a standard container?
> >  Then open your needed apps "in that same network namespace"? (the
> > network namespace of the container running the VPN).  I've never done it
> > but I believe is doable.
> 
> Ok, I've just did it now.  I launched my VPN within a container.  Then
> on my host I searched for the $PID of the process and then:
> 
> nsenter -t $PID -n firefox
> 
> Now Firefox shares the network namepsace of the running container
> (without having to create a "firefox container" beforehand...).
> 
> I did this test as root.

I've done this successfully using a VM, but not with a container. Can
you give step-by-step instructions? I'm not very familiar with the
container stuff other than basic uses of flatpak.

poc
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux