Skip to content

Commit

Permalink
update README.md
Browse files Browse the repository at this point in the history
rearrange firewall to prioritize drops
  • Loading branch information
Julio Gutierrez committed Jun 3, 2021
1 parent af12309 commit 7ea26c0
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 13 deletions.
10 changes: 6 additions & 4 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@ about: Create a report to help us improve
title: ''
labels: bug, help wanted
assignees: ''

---

### Before submitting review [Troubleshooting](https://github.com/bubuntux/nordvpn/wiki/Troubleshooting) and open/closed [Issues](https://github.com/bubuntux/nordvpn/issues?q=) ###
### Before submitting review:
### - [Troubleshooting](https://github.com/bubuntux/nordvpn/wiki/Troubleshooting)
### - [Open/Closed Issues](https://github.com/bubuntux/nordvpn/issues?q=)
### - [Discussions](https://github.com/bubuntux/nordvpn/discussions)
### Consider creating a thread in the discussion section, specially if you don't know what the problem is or is not directly related to the image itself.

**Describe the bug**
A clear and concise description of what the bug is.
Expand All @@ -30,7 +32,7 @@ services:
A clear and concise description of what you expected to happen and a simple way for someone else to test it.

**Logs**
Add DEBUG=on and copy the logs here (make sure to remove you user and password from the logs as well).
Add DEBUG=trace and copy the logs here (make sure to remove you user and password from the logs as well).

**Additional context**
Distribution used, versions, architecture and any other context about the problem here.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ services:
- Provide a [country_code] argument to connect to a specific country. For example: us
- Provide a [city] argument to connect to a specific city. For example: 'Hungary Budapest' , Use `docker run --rm ghcr.io/bubuntux/nordvpn cities [country]` to get the list of cities.
- Provide a [group] argument to connect to a specific servers group. For example: P2P , Use `docker run --rm ghcr.io/bubuntux/nordvpn n_groups` to get the full list.
- --group value, -g value Specify a server group to connect to. For example: 'us -g p2p'
- --group value Specify a server group to connect to. For example: '--group p2p us'
* `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/.
* `DNS` - Can set up to 3 DNS servers. For example 1.1.1.1,8.8.8.8 or Disable, Setting DNS disables CyberSec.
* `FIREWALL` - Enable or Disable.
Expand All @@ -192,7 +192,7 @@ services:
* `PORT_RANGE` - Port range to whitelist for both UDP and TCP. For example '- PORT_RANGE=9091 9095'
* `RECONNECT` - Time in seconds to check connection and reconnect if need it. (300 by default) For example '- RECONNECT=600'
* `TZ` - Specify a timezone to use. For example '- TZ=Europe/London'
* `DEBUG` - Set to 'on' for troubleshooting (User and Pass maybe logged).
* `DEBUG` - Trace or Info. Set to 'trace' for troubleshooting (User and Pass can be logged).

# Issues

Expand Down
13 changes: 6 additions & 7 deletions start_vpn.sh
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
#!/bin/bash
iptables -F
iptables -X
iptables -P OUTPUT DROP
iptables -P INPUT DROP
iptables -P FORWARD DROP
iptables -P OUTPUT DROP

ip6tables -F 2>/dev/null
ip6tables -X 2>/dev/null
ip6tables -P OUTPUT DROP 2>/dev/null
ip6tables -P INPUT DROP 2>/dev/null
ip6tables -P FORWARD DROP 2>/dev/null
ip6tables -P OUTPUT DROP 2>/dev/null
iptables -F
iptables -X
ip6tables -F 2>/dev/null
ip6tables -X 2>/dev/null

[[ "${DEBUG,,}" = "trace" ]] && set -x

Expand Down

0 comments on commit 7ea26c0

Please sign in to comment.