Hello everyone
So i need some assistance with a configuration ive been doing some reading before i joined the forums and this is what i need.
I'm coming from a Linux specifically Debian background and am interested in adding a FreeBSD vm in my stack for some networking services as i already us pfsense for my router.
From my understanding iptables is not supported on FreeBSD. FreeBSD uses ipfw and ipw. I'm using the nebula overlay network software in an extended network access configuration using iptables to forward traffic from the nebula network to local network.
Could i please get some assistance with converting these iptables strings to the equivalent in FreeBSD ipfw or ipw commands
Any help would be appreciated
Thanks
BrodieCyber
So i need some assistance with a configuration ive been doing some reading before i joined the forums and this is what i need.
I'm coming from a Linux specifically Debian background and am interested in adding a FreeBSD vm in my stack for some networking services as i already us pfsense for my router.
From my understanding iptables is not supported on FreeBSD. FreeBSD uses ipfw and ipw. I'm using the nebula overlay network software in an extended network access configuration using iptables to forward traffic from the nebula network to local network.
Could i please get some assistance with converting these iptables strings to the equivalent in FreeBSD ipfw or ipw commands
Code:
sudo iptables -t nat -A POSTROUTING -s 192.168.1.0/24 -d 10.0.0.0/16 -j MASQUERADE
sudo iptables -I FORWARD 1 -s 192.168.1.0/24 -d 10.0.0.0/16 -j ACCEPT
sudo iptables -A FORWARD -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
Thanks
BrodieCyber