https://downloads.raspberrypi.org/raspios_lite_arm64/images/
Last Updated: 8/30/18
I wanted to run an OpenVPN server on the USG. Since it has a Radius server built in, I figured this would be a much better way to handle OpenVPN authentication. Make sure you have the Radius server enabled on your USG under Settings > Services > Radius > Server
in the controller. Add OpenVpn users under Settings > Services > Radius > Server
.
Thanks to the following resources in helping to configure this:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- hosts: all | |
vars: | |
version: "1.4.2" | |
interface: "enp2s0" | |
dante_port: "1089" | |
tasks: | |
- name: install dependencies | |
become: yes | |
become_user: root | |
yum: name={{ item }} state=present |
Squid configuration snippets - Ansible Role: ansible-role-squid
Path | Description |
---|---|
"/etc/squid/squid.conf" | Default config file with includes |
"/etc/squid/conf.d" | Custom config folder |
"/etc/squid/acl.d" | Custom acls folder |
"/etc/squid/errors.d" | Custom error pages folder |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"firewall": { | |
"ipv6-name": { | |
"wan_in-6": { | |
"default-action": "drop", | |
"description": "wan_in", | |
"enable-default-log": "''", | |
"rule": { | |
"1": { | |
"action": "accept", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"service":{ | |
"nat":{ | |
"rule":{ | |
"1":{ | |
"description":"DNS Redirect", | |
"destination":{ | |
"port":"53" | |
}, | |
"inbound-interface":"eth1", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
update webproxy blacklists | |
configure | |
set service webproxy cache-size 0 | |
set service webproxy default-port 3128 | |
set service webproxy listen-address 192.168.1.1 | |
set service webproxy enable-access-log | |
set service webproxy administrator [email protected] | |
set service webproxy mem-cache-size 5 | |
set service webproxy url-filtering squidguard auto-update update-hour 5 | |
set service webproxy url-filtering squidguard block-category adult |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sudo vim /etc/rsyslog.conf | |
# /etc/rsyslog.conf configuration file for rsyslog | |
# | |
# For more information install rsyslog-doc and see | |
# /usr/share/doc/rsyslog-doc/html/configuration/index.html | |
################# | |
#### MODULES #### | |
################# |