lungdart

joined 1 year ago
[–] lungdart@lemmy.ca 2 points 3 weeks ago

Routing takes place on layer 3 (ip) so destinations are ip networks and hosts.

Each packet you create has a destination IP. Your computer looks at your route table to see where it goes by matching the destination ip with each network. It will be sent to the most specific match first and your default gateway last.

If you're default gateway is you're vpn server via your vpn interface then you just need to add more specific route for destinations of interest through a different gateway (you're router) via the physical interface

[–] lungdart@lemmy.ca 20 points 4 weeks ago

Raw disk access is a privilege in Linux, usually reserved for root.

You could have root change the permissions on the directory to allow another user or group write access.

[–] lungdart@lemmy.ca 3 points 4 weeks ago

goes to Google, on the raw network, and on the VPN.

You can't "go" to a destination on two networks in a single request. It's all packets on a wire, if it comes from two sources, it was two requests.

Unless you mean two different requests. As in while on the VPN everything is tunneled, and while not on the VPN it's not, but this is the opposite of what the OP was asking for. He wants the VPN on for some use cases, and off for others. That's split tunneling.

He'll likely wind up with difficulties around trying to figure out which destinations he doesn't want routed through the VPN, because there's no way to do it by protocol, since routing happens on layer 3, not 4 or 7. He'll likely need to know those address in advance.

[–] lungdart@lemmy.ca 1 points 4 weeks ago

Interesting. There's no difference in my dialect.

[–] lungdart@lemmy.ca 4 points 4 weeks ago

One NIC is fine

[–] lungdart@lemmy.ca 4 points 1 month ago

Told my wife and kids they can run whatever they want if they don't involve me. If you want me to help with computer issues then I'm installing Linux.

If you don't want that, you better learn how to computer because you're on your own

[–] lungdart@lemmy.ca 2 points 1 month ago

Canadian with a shitty mobile keyboard, that's all.

[–] lungdart@lemmy.ca 7 points 1 month ago (1 children)

Swipe keyboard. It picks random yours, and I'm exhausted from flying all day so I didn't proof read.

[–] lungdart@lemmy.ca 41 points 1 month ago* (last edited 1 month ago) (18 children)

Yes that's called routing.

You don't bind it to a NIC, you specify the destinations you want forwarded to each interface. Your VPN connection is just another interface.

If you're looking for good docs, you may want to Google split tunnel vpn, and also bone up on your networking.

A few static routes should get you what you need

[–] lungdart@lemmy.ca 2 points 1 month ago

Pfsense is built on this, but it has some free software issues.

OpnSense was a pfsense fork from some of them original creators, that is free software.

Both are fantastic.

[–] lungdart@lemmy.ca 10 points 1 month ago (2 children)

I can see this being a breaking change for some strange edge cases and (ab)uses.

[–] lungdart@lemmy.ca -1 points 1 month ago (1 children)

Neo4j might with

 

A little update on the racking the basement lab.

New patch panel and cables made my life much easier. All the packets are flowing! Working out some KVM issues while I get rancher harvester deployed.

 

Rack is wired (patch cables ordered). Unfortunately the second hand patch panel is a bad idea, less than half the ports are functional...

I ordered a rj45 cat6 through panel and a bunch of premade cables. Should be here at the end of the month!

1
submitted 1 year ago* (last edited 1 year ago) by lungdart@lemmy.ca to c/homelab@lemmy.cloudhub.social
 

Finally got around to racking up my lab! (Still needs wiring up, but that's tomorrows problem)

Top to bottom:

  • 1u PDU
  • 1u cable management
  • 1u custom super micro pfsense build
  • 1u tplink jetstream. 24x1Gbe 4x SFP
  • 1u cable management
  • 2u patch panel
  • 4u custom super micro server
  • A shelf with a UPS and a gaming rig (ryzen with a 1070ti)

Going to run rancher harvester + rancher vm + k8s cluster. Usual media stack, nextcloud, pihole, etc etc.

Mostly just want a cluster to play with and harvester seems fun!

view more: next ›