[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

nat in GNU/kFreeBSD broken or it's just me?



Hello,

I'm using my GNU/kFreeBSD server for weeks now as a standalone webserver
and it's working perfectly. Now i would like to use it as a PC router.

I would like to know how to enable ip forwarding in GNU/kFreeBSD?
The usual gateway_enable="YES" in /etc/rc.conf is not working

mach16:~# sysctl -a | grep forward
net.inet.ip.forwarding: 0
net.inet.ip.fastforwarding: 0
net.inet6.ip6.forwarding: 0


I tried to manually enable "nat" but still no go.
mach16:~# sysctl net.inet.ip.forwarding=1


Also tried to enable ip_forwarding "the linux way" :)
in /etc/sysctl.conf and rebooted my machine but still the same problem.
#
# Uncomment the next line to enable packet forwarding for IPv4
net/ipv4/ip_forward=1

BTW, im using my working openbsd /etc/pf.conf so i'm sure it's working.
And yes, i have changed the "interfaces" in pf.conf accordingly :)

/Jett

 






Reply to: