I have successfully setup NAT on pf with this in /etc/pf.conf file:
nat on wlan0 inet from 10.1.1.0/24 to any -> (wlan0) round-robin
I am now trying to achieve the same what is available out of the box on VirtualBox - port forwarding.
For example one of my Bhyve virtual machines is...
I would like to pass incoming packets on a specific port, which is used for NAT, even if these packets don't match a connection from the NAT table.
I use a machine with FreeBSD and pf as a router. A PBX on my local network must both reach a phone provider on the internet and be reachable...
I'm trying to setup port multiplexing using sslh importantly I have to use that nice 'transparent' feature that makes traffic from sslh distributed locally to look like it comes from external interface. It looks something like this :
Browser[A]-----------[http/ssl]-------> sslh[B 443]...
i need to redirect all traffic from a private ip address attested on a local interface, to a public ip address.
The old configuration with iptables it's something like this
iptables:-A PREROUTING -d $private_ip/32 -i $int_if -j DNAT --to-destination $public_ip
iptables:-A PREROUTING ! -d...
I'm trying to use mitmproxy to sniff my Android and know my Whatsapp Password.
In order to do that, I read in the mitmproxy doc that I have to "redirect all traffic destined for port 80 or 443 to the local mitmproxy instance running on port 8080"...