aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--packages/openbgpd/openbgpd.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/openbgpd/openbgpd.inc b/packages/openbgpd/openbgpd.inc
index 29cd3380..71eed449 100644
--- a/packages/openbgpd/openbgpd.inc
+++ b/packages/openbgpd/openbgpd.inc
@@ -85,7 +85,8 @@ function openbgpd_install_conf() {
}
// OpenBGPD filters
- $conffile .= "deny all\n";
+ $conffile .= "deny from any\n";
+ $conffile .= "deny to any\n";
foreach($openbgpd_neighbors as $neighbor) {
$conffile .= "allow from {$neighbor['neighbor']}\n";
$conffile .= "allow to {$neighbor['neighbor']}\n";