H1-Bs are the very antithesis of freedom, which is apparently what libertarianism is about (I have my doubts its supposed adherents sometimes).
Giving corporations the near instant legal ability to revoke your immigration status (this is what H1Bs are) reduces you to a state of semi-chattel worker. In turn THAT pressures the wages of other workers down.
It's ENTIRELY consistent with libertarian views to oppose H1-Bs and the companies that push for them if they're pressuring your wages down. It's not an anti-foreigner view. That's not EVEN an anti-immigrant view. It's an anti "letting companies dictate the right of ANYBODY to stay in the country" view.
If tech companies OR you want more skilled tech workers they should lobby for more green cards or shut the fuck up.
Of course, what they really want is more easily controlled tech workers. That is, tech workers they have under their thumb. Tech workers they can say "I need you to work late tonight... unless you'd like to be on a flight back to your home country next week that is."
>I think it's very selfish to oppose H1B visas.
Don't call yourself a libertarian then.
Use the phrase 'anti-freedom corporatist apologist' or something.