From 38e85ca3b58ddcf50c7db608f5baa2fd19771f8a Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Thu, 1 Oct 2015 08:15:06 +0100 Subject: [PATCH] local.m4, local.mk, national.m4: New virtual host `national'. Hosted by Linode in Dallas, TX. --- local.m4 | 7 +++++++ local.mk | 2 ++ national.m4 | 37 +++++++++++++++++++++++++++++++++++++ 3 files changed, 46 insertions(+) create mode 100644 national.m4 diff --git a/local.m4 b/local.m4 index e456e77..eb28dd7 100644 --- a/local.m4 +++ b/local.m4 @@ -220,6 +220,7 @@ defhost precision iface vpn-mango binswood iface vpn-radius housebdry vpn sgo iface vpn-chiark sgo + iface vpn-national upn iface vpn-+ vpn defhost telecaster iface eth0 jump colo @@ -262,6 +263,12 @@ defnet default scary defnet upn untrusted addr 172.29.198.160/27 2001:ba8:1d9:a000::/64 via colohub + host national 1 ::1:1 + +## Linode hosts. +defhost national + iface eth0 default + iface vpn-precision colohub ## Satellite networks. defnet binswood noloop diff --git a/local.mk b/local.mk index 1dc82cc..cb88b6a 100644 --- a/local.mk +++ b/local.mk @@ -22,3 +22,5 @@ HOSTS += stratocaster HOSTS += jazz HOSTS += gibson + +HOSTS += national diff --git a/national.m4 b/national.m4 new file mode 100644 index 0000000..01551af --- /dev/null +++ b/national.m4 @@ -0,0 +1,37 @@ +### -*-sh-*- +### +### Firewall configuration for national +### +### (c) 2008 Mark Wooding +### + +###----- Licensing notice --------------------------------------------------- +### +### This program is free software; you can redistribute it and/or modify +### it under the terms of the GNU General Public License as published by +### the Free Software Foundation; either version 2 of the License, or +### (at your option) any later version. +### +### This program is distributed in the hope that it will be useful, +### but WITHOUT ANY WARRANTY; without even the implied warranty of +### MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +### GNU General Public License for more details. +### +### You should have received a copy of the GNU General Public License +### along with this program; if not, write to the Free Software Foundation, +### Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + +###-------------------------------------------------------------------------- +### national-specific rules. + +m4_divert(86)m4_dnl +## Externally visible services. +allowservices inbound tcp \ + ssh \ + ident \ + squid +allowservices inbound udp \ + tripe + +m4_divert(-1) +###----- That's all, folks -------------------------------------------------- -- 2.11.0