|
OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD. |
|
Thread Tools | Display Modes |
|
|||
how to open ports in pf.conf?
hello i am trying to follow this guide to hosting xmpp on openbsd but i cant figure out how to do this part
Unlock port on your firewall Ports 5222 (for client to server - c2s) and 5269 (for server to server - s2s) are required so do not forget to open it on your pf.conf. what do i put in my /etc/pf.conf to unlock these ports for c2s and s2s? |
|
||||
FYI, there is a default pf.conf(5) configuration. It is a "default allow" configuration which blocks stateless inbound traffic, blocks remote inbound X Windows connections, and blocks the special userid _pbuild from using the network. This special userid is used only on systems that build packages from ports.
|
|
|||
Maybe, try, at least:
Code:
ip = "xxxx" # address ip of your server # differents default block (…) block pass out pass in on egress proto tcp from any to $ip port { 5222 5269 } pass out on egress proto tcp from $ip to any port 5269
__________________
GPG:Fingerprint ed25519 : 072A 4DA2 8AFD 868D 74CF 9EA2 B85E 9ADA C377 5E8E GPG:Fingerprint rsa4096 : 4E0D 4AF7 77F5 0FAE A35D 5B62 D0FF 7361 59BF 1733 |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Open standard but not open access: Schematron author complains about ISO paywal | J65nko | News | 0 | 20th June 2021 03:19 AM |
80/tcp open http || 52869/tcp open unknown | bsd007 | OpenBSD Security | 5 | 6th October 2018 05:22 PM |
Got my ports tree deleted after attempting ports update | bsdnotbdsm | FreeBSD Ports and Packages | 2 | 18th May 2014 01:58 PM |
FreeBSD Complete ports thaw after ports freeze for 7.3 Release | J65nko | News | 0 | 24th March 2010 11:46 PM |
difference between rc.conf and loader.conf | disappearedng | FreeBSD General | 5 | 3rd September 2008 05:54 AM |