lungdart

joined 1 year ago
[–] lungdart@lemmy.ca 2 points 4 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 1 month 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 1 month 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 1 month ago

Interesting. There's no difference in my dialect.

[–] lungdart@lemmy.ca 4 points 1 month 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 -1 points 1 month ago (1 children)

Neo4j might with

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

Pass uses GPG and git under the hood.

You create keys to encrypt your data, and keep the encrypted data in git locally which can be cloned to github, gitlab and the like.

It's just files on your computer, so you can back them up that way, or use a thumb drive as a remote git repo and push to it.

Day to day Type pass and tab complete to find the entry. Enter the command and be prompted to unlock it. It will then print the credentials to the terminal.

To create a new password, you type and add command followed by a name and a text editor opens up for you to type credentials in, or it can generate them for you.

To keep your backup up to date you just git push to the remote of your choice. I use github

view more: next ›