this post was submitted on 20 Jun 2024
344 points (99.1% liked)

politics

19244 readers
2401 users here now

Welcome to the discussion of US Politics!

Rules:

  1. Post only links to articles, Title must fairly describe link contents. If your title differs from the site’s, it should only be to add context or be more descriptive. Do not post entire articles in the body or in the comments.

Links must be to the original source, not an aggregator like Google Amp, MSN, or Yahoo.

Example:

  1. Articles must be relevant to politics. Links must be to quality and original content. Articles should be worth reading. Clickbait, stub articles, and rehosted or stolen content are not allowed. Check your source for Reliability and Bias here.
  2. Be civil, No violations of TOS. It’s OK to say the subject of an article is behaving like a (pejorative, pejorative). It’s NOT OK to say another USER is (pejorative). Strong language is fine, just not directed at other members. Engage in good-faith and with respect! This includes accusing another user of being a bot or paid actor. Trolling is uncivil and is grounds for removal and/or a community ban.
  3. No memes, trolling, or low-effort comments. Reposts, misinformation, off-topic, trolling, or offensive. Similarly, if you see posts along these lines, do not engage. Report them, block them, and live a happier life than they do. We see too many slapfights that boil down to "Mom! He's bugging me!" and "I'm not touching you!" Going forward, slapfights will result in removed comments and temp bans to cool off.
  4. Vote based on comment quality, not agreement. This community aims to foster discussion; please reward people for putting effort into articulating their viewpoint, even if you disagree with it.
  5. No hate speech, slurs, celebrating death, advocating violence, or abusive language. This will result in a ban. Usernames containing racist, or inappropriate slurs will be banned without warning

We ask that the users report any comment or post that violate the rules, to use critical thinking when reading, posting or commenting. Users that post off-topic spam, advocate violence, have multiple comments or posts removed, weaponize reports or violate the code of conduct will be banned.

All posts and comments will be reviewed on a case-by-case basis. This means that some content that violates the rules may be allowed, while other content that does not violate the rules may be removed. The moderators retain the right to remove any content and ban users.

That's all the rules!

Civic Links

Register To Vote

Citizenship Resource Center

Congressional Awards Program

Federal Government Agencies

Library of Congress Legislative Resources

The White House

U.S. House of Representatives

U.S. Senate

Partnered Communities:

News

World News

Business News

Political Discussion

Ask Politics

Military News

Global Politics

Moderate Politics

Progressive Politics

UK Politics

Canadian Politics

Australian Politics

New Zealand Politics

founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] BarbecueCowboy@lemmy.world 5 points 6 months ago (3 children)

So, I have a pretty alright VPN provider, but I've been looking for a self-hosted solution to allow me to say "Hey, if you're trying to hit www.domain.com, go through this VPN tunnel instead" but still run everything else straight through. Lots of options exist, I have one that would be perfect that we utilize at my company, but I haven't found a good solution that doesn't utilize enterprise level pricing.

Anyone got any tips on that front?

[–] masterofn001@lemmy.ca 5 points 6 months ago* (last edited 6 months ago) (1 children)

Tinyproxy

https://github.com/tinyproxy/tinyproxy/releases

Free Open source Upstream Http/s, socks4/5, direct redirection per site/URL/domain with regex. Can set default upstream proxy for everything else.

Invisible proxy Reverse proxy

Command line / simple text config

It's in your distros repo

It's available in termux.

It works.

[–] BarbecueCowboy@lemmy.world 3 points 6 months ago

See, you read what I actually asked for, thanks my friend.

[–] RazorsLedge@lemmy.world 5 points 6 months ago (1 children)

You can use foxyproxy (browser extension) with SOCKS5 proxies to ssh tunnels to various hosts based on the URL pattern. Maybe too kludgey for your use case.

[–] BarbecueCowboy@lemmy.world 2 points 6 months ago* (last edited 6 months ago) (1 children)

Yeah, I've seen that one, but I'm looking for something at the router level or something I can run on linux and just have everything run through. I have CLI-based options that are super janky... I'm probably just being too picky.

[–] RazorsLedge@lemmy.world 2 points 6 months ago (1 children)

I think it needs to be on the client app (web browser) before it gets sent thru the VPN. Your router won't be able to read the http header to see what the URL is (to decide which VPN to use).

[–] BarbecueCowboy@lemmy.world 0 points 6 months ago

I know it's doable in general because I've done it in an enterprise environment, just seems to be a real pain in the ass at the consumer level which is not surprising, it's a weird use case.

Where I work we have a system that kind of combines a proxy and a solution that approximates the same functionality as a VPN, and it's all in one cohesive package. I know my first stop will have to be some sort of proxy, but my ideal is basically just a friendlier UI to manage it and for whatever proxy or proxy-like solution to include tunneling options out of the box.

It's a complicated ask, but I feel like it's becoming more useful. Supposedly, Squid can do it with a few extra pieces and that might end up being the solution.

[–] MehBlah@lemmy.world 2 points 6 months ago

Get a cheap vps. Set up wire guard. Set up routes that pass through wire guard. In this case porn hubs IP's go through the vps. Be aware that some vps providers IP blocks are often blocked by cloudflare and other similar services. So it pays to check out the IP rep of the vps provider before you choose.