Skip to content

Instantly share code, notes, and snippets.

@ianseyer
Created August 19, 2017 22:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ianseyer/b4d3fa283c33da512ec5023fd8a7e457 to your computer and use it in GitHub Desktop.
Save ianseyer/b4d3fa283c33da512ec5023fd8a7e457 to your computer and use it in GitHub Desktop.
<username>
<password>
# auto-generated config file from /etc/config/dhcp
conf-file=/etc/dnsmasq.conf
dhcp-authoritative
localise-queries
read-ethers
bogus-priv
expand-hosts
domain=lan
server=/lan/
server=208.67.222.222, 208.67.220.220
dhcp-leasefile=/tmp/dhcp.leases
resolv-file=/tmp/resolv.conf.auto
stop-dns-rebind
rebind-localhost-ok
dhcp-broadcast=tag:needs-broadcast
addn-hosts=/tmp/hosts
conf-dir=/tmp/dnsmasq.d
user=dnsmasq
group=dnsmasq
dhcp-range=lan,192.168.1.100,192.168.1.249,255.255.255.0,12h
config openvpn 'vpn_ac'
option dev 'tun'
option proto 'udp'
option resolv_retry 'infinite'
option persist_key '1'
option persist_tun '1'
option ca '/etc/openvpn/ca.crt'
option compress 'lzo'
option verb '3'
option port '26000'
option comp_lzo 'yes'
list remote 'us6.vpn.ac'
option fast_io '1'
option tls_client '1'
option remote_cert_tls 'server'
option persist_remote_ip '1'
option cipher 'AES-128-CBC'
option auth 'SHA256'
option client '1'
option auth_user_pass '/etc/openvpn/creds.conf'
option redirect_gateway 'def1'
list push 'redirect-gateway def1'
option enabled '1'
list push 'dhcp-option DNS 208.67.222.222'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment