Skip to content

Commit

Permalink
minor touches
Browse files Browse the repository at this point in the history
  • Loading branch information
NOXCIS committed Dec 14, 2023
1 parent ef56b5f commit 5e234ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Core-Installer-Functions/WG-Dash/WG-Dash-ENV-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ set_port_range() {

if [ $timer -le 0 ] && [ "$user_activity" = false ]; then
HOST_PORT_START=$((1 + RANDOM % 65535))
pcount=6
pcount=4
HOST_PORT_END=$((HOST_PORT_START + pcount-1))
port_mappings="${HOST_PORT_START}-${HOST_PORT_END}:${HOST_PORT_START}-${HOST_PORT_END}/udp"
echo -e "Wireguard Port Range Set To: \033[32m$port_mappings\033[0m"
Expand All @@ -91,7 +91,7 @@ set_port_range() {
while true; do
read -p "$(tput setaf 3)Enter the starting port for WireGuard Server interface's Port Range: $(tput sgr0)" HOST_PORT_START

pcount=6
pcount=4
HOST_PORT_END=$((HOST_PORT_START + pcount-1))
port_mappings="${HOST_PORT_START}-${HOST_PORT_END}:${HOST_PORT_START}-${HOST_PORT_END}/udp"
echo -e "Wireguard Port Range Set To: \033[32m$port_mappings\033[0m"
Expand Down
2 changes: 0 additions & 2 deletions dev-docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,7 @@ services:
- 8000:80/tcp
sysctls:
- net.ipv4.ip_forward=1
- net.ipv6.conf.all.forwarding=1
- net.ipv4.conf.all.src_valid_mark=1
- net.ipv6.conf.all.disable_ipv6=0
networks:
private_network:
ipv4_address: 10.2.0.3
Expand Down

0 comments on commit 5e234ba

Please sign in to comment.