Skip to content

Instantly share code, notes, and snippets.

View Retr0-01's full-sized avatar

Giannis Kepas Retr0-01

View GitHub Profile
@Retr0-01
Retr0-01 / ovpn-split-tunnel.md
Last active June 17, 2025 07:57
Modify a OVPN client config to use VPN only for specific routes, such as traffic towards other VPN IPs.

OVPN Split Tunnel

Say you want to connect to your VPN to SSH into an internal server while you are in a Zoom meeting, sharing your screen, with 10 other people.

In order to not put extra strain into the VPN server, save up bandwidth or any other reason you want to do this, you can add the following lines to the end of your .ovpn config file and re-import it.

#########################################################
#          ROUTE SPECIFIC IPS THROUGH VPN               #
#         DO NOT ROUTE ALL TRAFFIC THROUGH VPN          #
#                                                       #
@Retr0-01
Retr0-01 / unity-gitattributes
Last active March 29, 2025 08:33
A general use .gitattributes file for Unity projects.
## Unity .gitattributes ##
# Grab the latest from https://gist.github.com/Retr0-01/a8b970cdaa1e97d63ffdffbb4330c2ec
*.cs text diff=csharp
*.cginc text
*.shader text
# Add 'merge=unityyamlmerge' to the files below if you ever use that tool.
# https://docs.unity3d.com/Manual/SmartMerge.html