Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 12 lines (8 sloc) 325 Bytes
#!/bin/bash
OPTIONS_DIR="$SNAP_DATA/options"
IPADDR=`cat $OPTIONS_DIR/ipaddress`
PORTNUM=`cat $OPTIONS_DIR/port`
echo "Using IP Address: $IPADDR"
echo "Using port number: $PORTNUM"
echo "\nTo change these use sudo snap set cloudflared [address|port]=nnn"
$SNAP/bin/cloudflared proxy-dns --address $IPADDR --port $PORTNUM
You can’t perform that action at this time.