|
OpenBSD Security Functionally paranoid! |
|
Thread Tools | Display Modes |
|
|||
block any reqest except OpenBSD CDN
hi
i want block any port on server and only my OpenBSD server can access to OpenBSD CDN. (pkg_add, fw_update and etc). below rules is not working! /etc/pf.conf Code:
table <http_whitelist> persist const file "/etc/pf.http_whitelist" block all antispoof for em1 pass out log on em1 proto tcp to <http_whitelist> port {http https} no state Code:
151.101.114.217 Code:
127.0.0.1 localhost ::1 localhost 151.101.114.217 cdn.openbsd.org |
|
||||
Here's a second guess:
Code:
no state |
|
|||
Quote:
thanks jggimi. |
|
|||
also below command can be help for find more ip address.
Code:
dig cdn.openbsd.org a |
|
|||
yes all right. but this is not full config.
|
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
block specific Lan IP from internet | bsdsource | OpenBSD Security | 2 | 5th June 2017 02:20 PM |
pf block command help | newbsdied | OpenBSD Security | 1 | 7th November 2010 12:50 AM |
Block IDM-DAP-P2P | mohammadreza | OpenBSD Security | 5 | 25th February 2010 09:59 AM |
block spam | milo974 | OpenBSD Security | 1 | 26th May 2009 11:30 AM |
Automaticaly block IPs with PF | DNAeon | FreeBSD Installation and Upgrading | 7 | 20th February 2009 02:06 AM |