Hello there,
Any ideas as to why clients are able to communicate with each other even though client-to-client is NOT enabled? Following are my /etc/pf.conf and /usr/local/etc/openvpn/server.conf.
Any help would be very much appreciated!
pf.conf:
server.conf:
Any ideas as to why clients are able to communicate with each other even though client-to-client is NOT enabled? Following are my /etc/pf.conf and /usr/local/etc/openvpn/server.conf.
Any help would be very much appreciated!
pf.conf:
Code:
ext_if="re0"
vpn_if="tun0"
vpn_net="{10.1.1.0/24}"
set skip on lo
nat on $ext_if from 10.1.1.0/24 to any -> $ext_if
# http/s to squid
rdr on $vpn_if proto tcp from any to any port 80 -> 127.0.0.1 port 3129
rdr on $vpn_if proto tcp from any to any port 443 -> 127.0.0.1 port 3127
block in all
pass in quick proto udp from any to port 1194 keep state label "openvpn"
pass in quick proto tcp from any to port 22 keep state label "ssh"
pass out on $ext_if proto { tcp udp icmp } all modulate state
pass quick on $vpn_if
Code:
management 127.0.0.1 16
management-log-cache 100
port 1194
proto udp
dev tun
ca keys/ca.crt
cert keys/server.crt
key keys/server.key
dh keys/dh2048.pem
server 10.1.1.0 255.255.255.0
ifconfig-pool-persist ipp.txt
client-config-dir static-configs
push "redirect-gateway def1 bypass-dhcp"
keepalive 10 60
tls-auth keys/ta.key 0
cipher BF-CBC
comp-lzo
persist-key
persist-tun
status openvpn-status.log
log-append openvpn.log
verb 4
mute 20