Questions tagged [pf] (15)

0
answer

Example of PF configuration.

Does anyone have any sample working config PF for FreeBSD (9.0) c full-NAT to a specific network, DNAT for some servers and, ideally, balancing on two channels? I will appreciate any examples, comments)
rosina_Wintheiser asked October 8th 19 at 07:35
1
answer

FreeBSD Packet filter (PF) and port forwarding?

Standard situation: local network 192.168.1.0/24 (interface em0), the network provider, the gateway on FreeBSD/PF (192.168.1.1). This gateway receives the Internet through a vpn connection to the ISP (interface ng0, issued vneshni IP address "X"). On the gateway configured with NAT rules to the Internet from the local netwo...
Hoyt_Parker asked October 7th 19 at 22:56
1
answer

FreeBSD: is it possible to instruct the process on what kernel to run?

There are dual-processor SunFire v245, running FreeBSD 9.0. Server is under fronend to balance incoming VPN connections + as a frontend for a web server. For filtering and razrulivaniya traffic installed PF. As you know, the smp PF is not friendly, so it will run on one processor. How do I explicitly specify what the CPU sh...
Emmalee_Runolfsson asked October 3rd 19 at 15:08
3
answers

Pf: there is a misunderstanding of how nat and rdr?

hi, trying to master the pf under freebsd 9.1 and faced with a simple problem: can't set up a redirect of ports. here is my /etc/pf.conf: ### interfaces int = "ale0" ext = "vr0" localnet = $int:network ### servers mail = "192.168.1.251" mail_smtp = "192.168.1.250" ### services mail_services = "{ loc-srv, smtps, submission,...
tessie.Au asked October 3rd 19 at 04:28
1
answer

FreeBSD and PF — why doesn't blocking ports?

ports="{20 21 22 25 53 80 110 143 443 514 3306 8080}" set block-policy return set skip on lo0 scrub in all rdr on de0 inet proto tcp from any to any port 80 -> 10.0.0.3 port 3128 block all pass out on de0 from any to any pass in on de0 proto {tcp, udp} to port $ports Guys, why not work?
Ruth.Hilll asked September 28th 19 at 03:41
2
answers

How to fix the FreeBSD port for VNC in a LAN?

Good day! There is a FreeBSD router with two interfaces em0 - 5.5.5.5/24 em1 - 10.80.0.2/24 The network has a server with KVM and multiple VDS on it - 10.80.0.20/24 I Want to make a port forward rule for VNC to get on the dev port for the vnc 59001. On Frage trying to do via PF - pf.confrdr on em0 proto tcp from any to 5....
Robin.Swi asked September 20th 19 at 18:38
4
answers

How can I block the use of tor browser in a corporate network?

Good day, tell me are there any ways of blocking this application? The gugleniya does not give specific instructions.
Michele68 asked September 18th 19 at 22:40
2
answers

How to forward the ports from the outside using a vpn tunnel into the local network?

This: 1. the Internet gateway (FreeBSD8.1, the firewall PF) with openvpn server (10.10.10.0/24) 2. the local network behind the gateway (192.168.xxx.yyy) 3. remote VPS (FreeBSD8.3) openvpn client (10.10.10.250) Task: To forward the ports from the external address of the VPS through the vpn tunnel to the LAN. For example the...
dennis_Zboncak asked September 18th 19 at 19:41
0
answer

How to map port PF in openbsd 5.4?

how to forward port in openbsd 5.4? or tell me where to look the syntax for this version..
conrad_Strack asked September 17th 19 at 00:48
1
answer

How to configure the PF firewall in Mac OS X?

This: Host machine: OS XVirtual machine: ParallelsLinux MintWindows 8, 10Access to the network4G modem Yota Virtual machines now get the network through a shared networkWhat you need to doAllow access to only 3 IP addresses (3 of VPN server) on the host machine (the Address of the VPN servers)To make each virtual machine to...
Jevon asked September 15th 19 at 19:20