Skip to content

Commit 39b0306

Browse files
authored
Update entrypoint.sh
1 parent 60d74fe commit 39b0306

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

entrypoint.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,5 @@ echo "Restarting redsocks and redirecting traffic via iptables"
99
/etc/init.d/redsocks restart
1010
iptables -t nat -A OUTPUT -p tcp --dport 80 -j REDIRECT --to-port 8081
1111
iptables -t nat -A OUTPUT -p tcp --dport 443 -j REDIRECT --to-port 8081
12-
echo "Getting IP ..."
13-
curl -sSL https://am.i.mullvad.net/connected
14-
tail -f /var/log/redsocks.log
12+
echo "IP Address: $(curl -sSL https://v4.ident.me)"
13+
tail -f /var/log/redsocks.log

0 commit comments

Comments
 (0)