Skip to content

Instantly share code, notes, and snippets.

View alexksso's full-sized avatar

Alexander Casassovici alexksso

View GitHub Profile
@alexksso
alexksso / Route subnet to VPN
Created August 20, 2020 15:04
Ubiquiti commands to route specific subdomains to VPN tunnels
# based on https://community.ui.com/questions/1113ae63-b78c-497f-b410-ba300854b8ba #
sudo -i configure
# 1 Setup the VPN tunnels
set interfaces openvpn vtun0 config-file /config/openvpn/uk55.nordvpn.com.udp1194.ovpn
set interfaces openvpn vtun0 description 'UK OpenVPN VPN tunnel'
set interfaces openvpn vtun1 config-file /config/openvpn/us710.nordvpn.com.udp1194.ovpn
set interfaces openvpn vtun1 description 'US OpenVPN VPN tunnel'
commit
@alexksso
alexksso / Route subnet to VPN
Created August 20, 2020 15:04
Ubiquiti commands to route specific subdomains to VPN tunnels
# based on https://community.ui.com/questions/1113ae63-b78c-497f-b410-ba300854b8ba #
sudo -i configure
# 1 Setup the VPN tunnels
set interfaces openvpn vtun0 config-file /config/openvpn/uk55.nordvpn.com.udp1194.ovpn
set interfaces openvpn vtun0 description 'UK OpenVPN VPN tunnel'
set interfaces openvpn vtun1 config-file /config/openvpn/us710.nordvpn.com.udp1194.ovpn
set interfaces openvpn vtun1 description 'US OpenVPN VPN tunnel'
commit
source 'https://rubygems.org'
gem 'teamcity-ruby-client'
@alexksso
alexksso / fontforge
Created November 15, 2011 09:13
fontforge installation
Warning: Building with LLVM, but this formula is reported to not work with LLVM:
Compiling cvexportdlg.c fails with error: initializer element is not constant
We are continuing anyway so if the build succeeds, please open a ticket with
the following information: 2335-10.7. So
that we can update the formula accordingly. Thanks!
If it doesn't work you can: brew install --use-gcc