View previous topic :: View next topic |
Author |
Message |
DaggyStyle Watchman
Joined: 22 Mar 2006 Posts: 5909
|
Posted: Wed Nov 06, 2019 7:52 pm Post subject: running snx within a container [abandoned] |
|
|
Greetings,
I want to try snx for my office vpn so I can ditch widnows.
I wanted to know if it is possible to run it in a 32bit container so I won't need to install 32libs on my desktop?
Thanks. _________________ Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
Last edited by DaggyStyle on Sat Nov 09, 2019 6:39 am; edited 1 time in total |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21633
|
Posted: Thu Nov 07, 2019 2:08 am Post subject: |
|
|
If you have IA32 emulation in the kernel, and your chosen container provides all the needed 32-bit libraries (as opposed to assuming it can map in the host's /lib32, for example), then yes, that should work. What type of container are you planning to use? What is snx? |
|
Back to top |
|
|
DaggyStyle Watchman
Joined: 22 Mar 2006 Posts: 5909
|
Posted: Fri Nov 08, 2019 6:20 am Post subject: |
|
|
Greetings,
snx is https://wiki.gentoo.org/wiki/SSL_Network_Extender
the idea is to not install x32 libs on my system.
my idea was to run it inside a container, assuming the vpn applies to the host too and run the vnc client on the host. _________________ Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21633
|
Posted: Sat Nov 09, 2019 1:29 am Post subject: |
|
|
You won't get out of having x32 libraries on disk, unless you find a 64-bit build of snx. You could get out of having them spilled out into the general filesystem, and instead keep them wrapped up in the container. Having read that page, I'd not rely on a mere container to confine snx. Confining a root-privileged process in a container is complex, and there have been escapes over the years. A VM would be safer, and probably easier to set up. |
|
Back to top |
|
|
DaggyStyle Watchman
Joined: 22 Mar 2006 Posts: 5909
|
Posted: Sat Nov 09, 2019 6:38 am Post subject: |
|
|
Hu wrote: | You won't get out of having x32 libraries on disk, unless you find a 64-bit build of snx. You could get out of having them spilled out into the general filesystem, and instead keep them wrapped up in the container. Having read that page, I'd not rely on a mere container to confine snx. Confining a root-privileged process in a container is complex, and there have been escapes over the years. A VM would be safer, and probably easier to set up. |
I know, I thought of limiting the libs to the container alone.
the main idea is to ditch the windows vm. going linux vm is kinda pointless.
I'll install the 32bit libs and thats it. was worth trying.
Thanks _________________ Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein |
|
Back to top |
|
|
ruyrybeyro n00b
Joined: 29 Oct 2022 Posts: 3
|
Posted: Sat Oct 29, 2022 3:47 pm Post subject: |
|
|
DaggyStyle wrote: | Greetings,
snx is https://wiki.gentoo.org/wiki/SSL_Network_Extender
the idea is to not install x32 libs on my system.
my idea was to run it inside a container, assuming the vpn applies to the host too and run the vnc client on the host. |
A container as docker not that feasible, as you want IP, routing and DNS addresses. I managed installing it inside a Debian chroot having as an host most of the Linux distributions out there, including Gentoo
https://github.com/ruyrybeyro/chrootvpn/ |
|
Back to top |
|
|
|