Skip to content

Commit

Permalink
Merge pull request #4 from trigun117/stable
Browse files Browse the repository at this point in the history
Remove dialog screen
  • Loading branch information
aire1 authored Jul 8, 2018
2 parents 0b60ef6 + ebc8ef7 commit 9cf1f5f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion install.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#!/bin/sh

sudo apt update && sudo apt install tmux -y

ABSOLUTE_FILENAME=`readlink -e "$0"`
DIRECTORY=`dirname "$ABSOLUTE_FILENAME"`
IP=`wget -qO- eth0.me`
Expand Down Expand Up @@ -80,7 +83,8 @@ sudo apt-get -y install htop git

sudo iptables -t nat -A PREROUTING -p tcp -m tcp --dport 443 -j REDIRECT --to-ports 1443

sudo apt-get -y install iptables-persistent
sudo tmux -L dialog-session new-session -d iptables-persistent
sudo tmux -L dialog-session send-keys Enter

sudo service netfilter-persistent save

Expand Down

0 comments on commit 9cf1f5f

Please sign in to comment.