Skip to content
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.

Commit

Permalink
openvpn.sh cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
David Personette committed May 9, 2016
1 parent 0eceafa commit 77d4497
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion openvpn.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ dns() { local conf="/vpn/vpn.conf"
# none)
# Return: configured firewall
firewall() {
local docker_network=$(ip -o addr show dev eth0 | awk '$3=="inet"{print $4}')
local docker_network=$(ip -o addr show dev eth0 |
awk '$3 == "inet" {print $4}')

iptables -F OUTPUT
iptables -A OUTPUT -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT
Expand Down

0 comments on commit 77d4497

Please sign in to comment.