Skip to content

Instantly share code, notes, and snippets.

@badrelmers
Last active February 27, 2024 16:29
Show Gist options
  • Save badrelmers/8c581277a32469d915eb812f953a1f0c to your computer and use it in GitHub Desktop.
Save badrelmers/8c581277a32469d915eb812f953a1f0c to your computer and use it in GitHub Desktop.
p060477.md
p060477
https://github.com/vboxme/Portable-VirtualBox/issues/89
@badrelmers
Copy link
Author

I used this steps and it works fine for me, do the same and see:

image

  • do not choose nothing here

image

  • then choose EFI and 2 CPU and 4GB

image

  • choose 40GB then click finish, and do not start the vm yet

image

now go to the tiny11 vm settings, in system tab choose None in TPM, click ok
image

now start the vm and install as always

@p060477
Copy link

p060477 commented Jun 25, 2023

hi and thxs again
i got this:

win 11  tiny

thxs
cheers

@badrelmers
Copy link
Author

did you use this iso? https://archive.org/download/tiny-11_202302/tiny11%20b2%28no%20sysreq%29.iso

there is 3 iso in the site which one you downloaded?

@p060477
Copy link

p060477 commented Jun 25, 2023

hi, the recommended:
Recommended to download: tiny11 b2(no sysreq).iso
and as we are here...is there also an italian version...??
thxs so much indeed again
cheers

@badrelmers
Copy link
Author

repeat the same steps but in this step uncheck enable EFI
image

image

and as we are here...is there also an italian version...??

no

@p060477
Copy link

p060477 commented Jun 25, 2023

works!
...so strange...cause the other win 11 pro guest boots from uefi...how you explain this...??
and if there is no ita vers i think that also the tricks scripts to reduce an ita vers will fail...am i wrong..??
i mean dl this:
https://github.com/ntdevlabs/tiny11builder
and try to apply to a ita iso vers should fail...or not...??
i say cause for ex my win 11 firefox portable,ita vers, crashes in the win 11 tiny eng vers....
thxs again
cheers

@badrelmers
Copy link
Author

...so strange...cause the other win 11 pro guest boots from uefi...how you explain this...??

I have no idea

and try to apply to a ita iso vers should fail...or not...??

yes it will fail with the actual version, but there is an update proposed by someone to solve this but the tiny11 owner did not integrate it yet , and he seems inactive for several months, so maybe he left his project.

i say cause for ex my win 11 firefox portable,ita vers, crashes in the win 11 tiny eng vers....

it does not crash because of the language, maybe firefox needs some component that tiny11 removed

@p060477
Copy link

p060477 commented Jun 25, 2023

perfect!
i think that tiny is an -as it is- packaged...very useful if you want to run win 11 also in old pc, like mine,
but it must be taken as it is...without trying modifications expecially if they are not are not in the same language...
and ,as you well notice ,also because maybe the tiny do not have some componenet
...maybe this is the reason of -no uefi boot-...
it seems more as an xp engine with a win 11 dress like outside...
anyway very very useful in pc so old and not performant like mine
thxs so much again indeed!
cheers!
👍 🥇

@badrelmers
Copy link
Author

you are welcome bro

it seems more as an xp engine with a win 11 dress like outside...

exactly :)

@p060477
Copy link

p060477 commented Jun 26, 2023

hi Badr
assuming that i'd like to open a -specific port-,for emule,
so not -all ports- but one specific, for ex UDP 41000 in win 10 firewall...how to...??
i'm able to arrive here:

firewall

but then...where should i put UDP 41000??...only in -local- field...or only in -remote-...or in both fields local and remote..??
and should i create only a rule for income connections or also for outcome ones..??
thxs so much again
cheers

@badrelmers
Copy link
Author

badrelmers commented Jun 26, 2023

but then...where should i put UDP 41000??...only in -local- field...or only in -remote-...or in both fields local and remote..??
and should i create only a rule for income connections or also for outcome ones..??

image

incoming and outgoing connections

like in humans communications, when A (you) talk to B, there is 2 types of communications, when you talk to B this is called outgoing connection (relative to you), and when B talk to you this is called incoming connection (relative to you).

so incoming connection are connections coming from internet to your PC

outgoing connections are connections going from your PC to the internet

incoming connection are generally dangerous when you do not know who talks to you, so we generally open ports for incoming connection only for the programs we need and trust, otherwise hackers can use the opened ports to hack you if the program listening in that port have bugs or is a spyware. but thanks to the routers today this is difficult/impossible to happen unless you open the port in the router too.

outgoing connections are generally safer, because you are supposed to know what application are installed inside your PC, and then you allow them to connect to internet when you want, so it is safe unless someone install a spying program or you install a spying program that will send your secrets to a hacker server...

local and remote meaning

when you make a connection to a web-page, to emule server or what ever using internet , your PC always needs 2 ports, a port inside your PC and an opened port inside the web-page/emule server that is listening on that specific port.

for example, web-pages have generally 2 open ports waiting for you to connect to them to be able to receive the web-page data, port 80 and port 443, port 80 is used for non encrypted connections (http), and port 443 is used for SSL/TLS secure encrypted connections (https)

so when you open a page in your browser (for example google.com), your PC will choose a free local port inside your PC (for example 56433) and he will connect to google which is listening always in the port 443. the same principle happens with emule or any other app using internet, only the ports change but the principal is the same.

so as you see we always need 2 ports to make a communication, like with humans we need two people to make a communication.

so local means the port that will be opened/allowed inside your PC

remote means the port that will be opened/allowed inside the remote PC (emule servers or web servers for example)

now lets configure the firewall for emule

incoming connections

local means: I want people from internet to connect to my emule app using my local xxxx port inside my PC, this is obligatory to allow people to connect to your emule to gain the double green arrows. so put here the port you opened in the router the same that you configured in emule.

remote means: I want my emule app to accept connections from people that are using yyyy port in their PC's only. this is impossible because you cannot force people to use the port you want in there PC when they talk to you (you cannot force the person B to choose the words you want when he talks to you). so choose "All ports"

outgoing connections

local means: I want my emule app to connect to emule servers using only this xxxx local port. this is bad because you cannot be sure that the xxxx port is free in your PC and emule will need a lot of ports , every person you download from it will be using a port from your PC. so choose "All ports"

remote means: I want my emule app to connect to emule servers that are listening in the port yyyy in there PC's. this is not bad but we generally do not need to limit our apps when communicating to the outside world because we already allowed them to communicate to internet so if our app inside our PC is a spyware then one port is sufficient to send your secrets to the hacker server. so choose "All ports" too

emule I think uses two ports , one tcp port and one udp port, so you have to create two rules, one for tcp and other for udp


this is how my firewall is configured for incoming connections:
I delete everything to be secure, and if i need some program to listen to incoming connections then I allow it for a moment then I delete its rule when I finish with it:
image

@p060477
Copy link

p060477 commented Jun 26, 2023

Hi Badr
first let me put my hat off to you, you make a very very clear description
also for a very few and poor skilled hard headed old man like me
so lots of compliments sincerly;
now:
in win 11 firewall in the - incoming- connections there is a special field in advanced tab
which is not present in the outgoing ones:
here it is my screenshoot

win 11 firewall

i chose the "deny " option, the others 3 are:
let app decide
allow all
let user decide
first i choose this last one :
"let the user decide"
but if so a pop up error window appear:
it did not allow me to choose this having setted a specific emule port,
in this case i should be forced to permit -all ports- in incoming connections...

so i decide to choose the -deny- opt as for my pic attached

what you think...??

thxs so much again indeed
cheers

@badrelmers
Copy link
Author

Attraversamento confini (Edge Traversal) , I never touched or used that option, and I do not even understand what it does exactly in practice, even a professional in windows security does not understand it :) , Dr. THOMAS W. SHINDER, MCSE, is a Microsoft MVP for Forefront Edge Security, the author of six highly regarded books on Microsoft ISA Server, he said:

I don’t know what this does, but if I find out, I’ll make sure to include this information in my blog.

read more here https://serverfault.com/questions/89824/windows-advanced-firewall-what-does-edge-traversal-mean

so leave it in default: block/deny

@p060477
Copy link

p060477 commented Jun 27, 2023

Hi Badr, yr posts are always so very precious for me cause in this case i finally understand why i've in my win 10 firewall rules:
edge traversal

i really make you very sure that i did not ever create it...and its state was not to deny-block but to -leave to application-
i instantly deny it...
the program was an old utorrent portable 3.5.5...
i look at this adv tab about edge traversal cause there is the word NAT....which reminds me to vbox...:
immagine

thxs again for yr kind helping

cheers

@badrelmers
Copy link
Author

yes it is better to disable it while the program works as expected

@p060477
Copy link

p060477 commented Jul 1, 2023

Hi Badr
as you already know i'm using LdPlayer to be able to use android apps on my win 10 pc
as for ex whatsapp, Spid, and so on...
i underline absolutely -any- game.....only apps from google store that you have to use normally if you have a smartphone...
do you think instead of doing so it should be better to use an android s.o in vb as guest...??
considering also my pc hdw so old as ram,8gb cpu intel i5 4590 and so on...??
thxs again indeed for yr kind attention and helping
cheers

@badrelmers
Copy link
Author

badrelmers commented Jul 1, 2023

I have absolutely no experience with android, and I just discovered now that google do not gave any official android iso for PC, all the android iso's circulating are made by third party people not google. so I think ldplayer or other iso will be the same anyway, but from a quick search in google everybody say that ldplayer is faster than most of the other android emulators. and ldplayer is already using virtualbox so you will not gain anything by doing it yourself I think. and the more important is that not every android iso will be able to run your programs, so you need to test first. based on what I read, ldplayer is doing a lot of work to make a lot of android apps to work in PC, so you will not be able to do the same. but who knows, maybe your wanted apps will work in an android iso, you have to test it, read about the different android iso that exist and test them with your wanted apps to see.

@p060477
Copy link

p060477 commented Jul 2, 2023

Hi Badr
thxs a lot for yr always so precious suggestions and thoughts
they are so precious for me, thxs again
principally i ask that due to my pc hdw...but as you say may be the ldplayer is the best solution
some doubts come when whatsapp has introduced the opt to make changes to messages sent within 15 min...i'm trying this opt but on my ldplayer whatsapp even if showing that future then do not allow me to use it...
i mean that for ex i send a short message for ex:
"this is a try"
and then with the pencil opt in the right high part of the screen i try to modify it
...and i enter the modify future but...i'm not able to modify the text...
i'm only able, if i click on the left high screen arrow , to leave the modify section and to put the message in the recycle bin
...so to sum up i'm only able to eliminate it..not to change...
and i think that maybe this is due to ldplayer virtualization of whatsapp app....
thxs so much again
cheers

@badrelmers
Copy link
Author

you r welcome, unfortunately i have no idea of this bro

@p060477
Copy link

p060477 commented Jul 20, 2023

Hi Badr, seems new virtualbox vers, 7.0.10 , has been issued...
so how to update also your portable vers.?
i think we should have to dl the installer .exe and modify the start/unistal .bat....but how to without makin disasters...??
we ask cause we are champion of the world of disasters...any....... :(

@p060477
Copy link

p060477 commented Oct 19, 2023

Hi Badr, seems new virtualbox vers, 7.0.12 , has been issued...
so how to update also your portable vers.?
i think we should have to dl the installer .exe and modify the start/unistal .bat....but how to without makin disasters...??
we ask cause we are champion of the world of disasters...any....... :(

@badrelmers
Copy link
Author

do the same steps you already did before , like i told you here https://gist.github.com/badrelmers/20990cd518fed05e5f171961c63e85ba

@p060477
Copy link

p060477 commented Feb 27, 2024

Hi Badr!
what you think about this...:
https://portableapps.com/node/70284
do you think is worth to give it a try...??
thxs in adv for yr kind attn
cheers!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment