KeeneticRouteToVpn is simple app updating Keenetic Router rules for some hosts to go through VPN interface.

KeeneticRouteToVpn build Coverage Status

KeeneticRouteToVpn is simple app updating Keenetic Router rules for some hosts to go through VPN interface.

It has defaults values and just need to be provided with a text files containing lists of hosts needed access through VPN.

Every execution the app clears all rules generated by it and add new ones from the list provided.

Password will either prompted or will read from standard input with --password-stdin flag.

Usage

$ cat list.txt                                                                                                                                                                                                                                                                                                            386ms  Wed Feb  9 01:03:37 2022
# IPv4
10.12.1.5
192.168.10.44

# CIDR with IPv4
172.16.0.0/16

# HostNames
internal.company.com # only v4 IPs records will be resolved

$ ./krv list.txt
Application Options:
  -u, --username=                      username (default: admin) [$USERNAME]
  -H, --host=                          host to connect to (default: 192.168.1.1) [$HOST]
  -p, --port=                          port to connect to (default: 22) [$PORT]
  -i, --interface=                     interface name (default: Wireguard0) [$INTERFACE]
      --password-stdin                 take password from stdin [$PASSWORD_STDIN]
      --insecure-ignore-host-checking  ignore known_hosts checking [$INSECURE_IGNORE_HOST_CHECKING]

Help Options:
  -h, --help                           Show this help message

Limitations

  • user must have access to command line
  • only ipv4 supported (Keenetic limitation)
  • to provide security, you should connect via SSH to the server before and accept its public key. You can also provide --insecure-ignore-host-checking to ignore checking server's public key, but it is insecure.
Similar Resources

A Lightweight VPN Built on top of Libp2p for Truly Distributed Networks.

A Lightweight VPN Built on top of Libp2p for Truly Distributed Networks.

Hyprspace A Lightweight VPN Built on top of Libp2p for Truly Distributed Networks. demo.mp4 Table of Contents A Bit of Backstory Use Cases A Digital N

Dec 29, 2022

A Wireguard VPN Server Manager and API to add and remove clients

Wireguard Manager And API A manager and API to add, remove clients as well as other features such as an auto reapplier which deletes and adds back a c

Dec 22, 2022

Terraform Provider for Pritunl VPN Server

 Terraform Provider for Pritunl VPN Server

Terraform Provider for Pritunl VPN Server Website: https://www.terraform.io Pritunl VPN Server: https://pritunl.com/ Provider: disc/pritunl Requiremen

Dec 24, 2022

CLI to drive SAML based auth for Global Protect VPN

GlobalProtect VPN Helper This tool is a CLI friendly tool used to perform POST based SAML authentication for GlobalProtect VPN. It displays a browser

Aug 28, 2022

A VPN Proxy Helper

VPN Proxy Helper Sometimes, VPN clients do not change the routing table of the computer but it still exists the VPN interface. Sometimes, you don't wa

Aug 19, 2022

IP2Proxy Go package allows users to query an IP address to determine if it was being used as open proxy, web proxy, VPN anonymizer and TOR exits.

IP2Proxy Go Package This package allows user to query an IP address if it was being used as VPN anonymizer, open proxies, web proxies, Tor exits, data

Sep 15, 2022

A memory-safe SSH server, focused on listening only on VPN networks such as Tailscale

Features Is tested to work with SCP Integrates well with systemd Quickstart Download binary for your architecture. We only support Linux. If you don't

Jun 10, 2022

Simple hosts file management in Golang (deprecated).

Simple hosts file management in Golang (deprecated).

Goodhosts (deprecated) This library is now deprecated. See the goodhosts organisation for the current maintained version. Simple hosts file (/etc/host

Mar 17, 2022

Simple tool to handle hosts file black lists that can remove comments, remove duplicates, compress to 9 domains per line, add IPv6 entries, as well as can convert black lists to multiple other black list formats compatible with other software.

Hosts-BL Simple tool to handle hosts file black lists that can remove comments, remove duplicates, compress to 9 domains per line, add IPv6 entries, a

Sep 23, 2022
A Go library for fetching, parsing, and updating RSS feeds.

rss RSS is a small library for simplifying the parsing of RSS and Atom feeds. The package could do with more testing, but it conforms to the RSS 1.0,

Dec 14, 2022
cli for updating a GoDaddy DNS record
cli for updating a GoDaddy DNS record

Installation go install github.com/xujiahua/[email protected] $ godaddy-dns cli for godaddy dns Usage: godaddy-dns [command] Available Commands:

Nov 9, 2021
Updating DNS records for dynamically changing IPs via the Cloudflare API

Cloudflare Dynamic IP Server About The Project About The Project Updating DNS re

Dec 24, 2021
Decentralized VPN in golang
Decentralized VPN in golang

LCVPN - Light decentralized VPN in golang Originally this repo was just an answer on a question "how much time it'll take to write my own simple VPN i

Dec 28, 2022
SonicWall VPN-SSL Exploit* using Golang
SonicWall VPN-SSL Exploit* using Golang

goshock SonicWall VPN-SSL Exploit* using Golang ( * and other targets vulnerable to shellshock ).

Jul 6, 2022
Smart VPN client

Smart VPN client Performs all the standard functions of a VPN client, i.e. manages a connection to a VPN headend. The "smart" functionality includes:

Sep 2, 2022
Decentralized VPN
Decentralized VPN

Decentralized VPN The RadVPN doesn't need any central point as it connects to other nodes directly (full mesh) it has built-in router that helps packe

Jan 8, 2023
Standalone client for proxies of Opera VPN

opera-proxy Standalone Opera VPN client. Younger brother of hola-proxy. Just run it and it'll start a plain HTTP proxy server forwarding traffic throu

Jan 9, 2023
SplitVPN - Split Internet and VPN routing

SplitVPN - Split Internet and VPN routing

Jul 15, 2022
⛵ EdgeVPN: the immutable, decentralized, statically built VPN. NO central server!

⛵ EdgeVPN Fully Decentralized. Immutable. Portable. Easy to use Statically compiled VPN Usage Generate a config: ./edgevpn -g > config.yaml Run it on

Jan 3, 2023