Paste: openconnect script

Author: someone
Mode: shellscript
Date: Tue, 20 Mar 2018 15:29:13
Plain Text |
echo 1 > /proc/sys/net/ipv4/ip_forward
openconnect https://something.somewhere.com --user="SOMEWHERE\user" --no-cert-check --background
iptables -t nat -A POSTROUTING -o tun0 -j MASQUERADE
iptables -A FORWARD -i tun0 -o enp0s8 -m state --state RELATED,ESTABLISHED -j ACCEPT
iptables -A FORWARD -i enp0s8 -o tun0 -j ACCEPT

New Annotation

Summary:
Author:
Mode:
Body: