lungdart

joined 1 year ago
[–] [email protected] 2 points 2 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

[–] [email protected] 20 points 2 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.

[–] [email protected] 2 points 2 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.

[–] [email protected] 1 points 2 weeks ago

Interesting. There's no difference in my dialect.

[–] [email protected] 4 points 2 weeks ago

One NIC is fine

[–] [email protected] 3 points 3 weeks 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

[–] [email protected] 2 points 3 weeks ago

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

[–] [email protected] 7 points 3 weeks ago (1 children)

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

[–] [email protected] 41 points 3 weeks ago* (last edited 3 weeks 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

[–] [email protected] 2 points 3 weeks 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.

[–] [email protected] 10 points 3 weeks ago (2 children)

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

[–] [email protected] -1 points 3 weeks ago (1 children)

Neo4j might with

view more: next ›