Skip to content

Commit

Permalink
Add sysctl config for NordLynx
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Chang committed May 27, 2020
1 parent 6d5f503 commit e2e9342
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ This container was designed to be started first to provide a connection to other
## Starting an NordVPN instance

docker run -ti --cap-add=NET_ADMIN --cap-add=SYS_MODULE --device /dev/net/tun --name vpn \
--sysctl net.ipv4.conf.all.rp_filter=2 \
-e [email protected] -e PASS='pas$word' \
-e CONNECT=country -e TECHNOLOGY=NordLynx -d bubuntux/nordvpn

Expand Down Expand Up @@ -76,6 +77,8 @@ services:
cap_add:
- NET_ADMIN # Required
- SYS_MODULE # Required for TECHNOLOGY=NordLynx
sysctls:
- net.ipv4.conf.all.rp_filter=2
devices:
- /dev/net/tun # Required
environment: # Review https://github.com/bubuntux/nordvpn#environment-variables
Expand Down Expand Up @@ -118,6 +121,8 @@ services:
cap_add:
- NET_ADMIN # Required
- SYS_MODULE # Required for TECHNOLOGY=NordLynx
sysctls:
- net.ipv4.conf.all.rp_filter=2
devices:
- /dev/net/tun # Required
environment: # Review https://github.com/bubuntux/nordvpn#environment-variables
Expand Down Expand Up @@ -154,7 +159,7 @@ All traffic going through the container is router to the vpn (unless whitelisted
- --group value, -g value Specify a server group to connect to. For example: 'us -g p2p'
* `TECHNOLOGY` - Specify Technology to use:
* OpenVPN - Traditional connection.
* NordLynx - NordVpn wireguard implementation (3x-5x times faster). NOTE: Requires `--cap-add=SYS_MODULE`
* NordLynx - NordVpn wireguard implementation (3x-5x times faster). NOTE: Requires `--cap-add=SYS_MODULE` and `--sysctl net.ipv4.conf.all.rp_filter=2`
* `PROTOCOL` - TCP or UDP (only valid when using OpenVPN).
* `OBFUSCATE` - Enable or Disable. When enabled, this feature allows to bypass network traffic sensors which aim to detect usage of the protocol and log, throttle or block it (only valid when using OpenVpn).
* `CYBER_SEC` - Enable or Disable. When enabled, the CyberSec feature will automatically block suspicious websites so that no malware or other cyber threats can infect your device. Additionally, no flashy ads will come into your sight. More information on how it works: https://nordvpn.com/features/cybersec/.
Expand Down

0 comments on commit e2e9342

Please sign in to comment.