My FreeBSD Router

Filed Under (freebsd, router) by Coni on 18-04-2006

I don’t know why? %$~@”!
Few days ago I try to fix my fbsd router and found about this:

net.inet.ip.forwarding
net.inet.ip.fastforwarding

What are them ?????
don’t know what’s diferent

finally chat to #freebsdhelp@efnet
a lot of good people there who want to help about freebsd
The explanation is fastforwarding is just forward the packet and pass the firewall and TCP options. Cause of that it will make better throughput. But if only set the fastforwarding not forwarding my router don’t work (he… he… he… why???).
If we use NAT or firewall it will stucked.

Usually the standard procedures to build a static fbsd router are :::
1. go to /etc/rc.conf and add
gateway_enable=”YES”
it will make the value of net.inet.ip.forwarding to 1
jusk like my linux’s router
2. still in /etc/rc.conf adding routing table like this
static_routes=”net2 net3 net4″
route_net2=”-net 10.14.2.0/24 10.14.1.2″
route_net3=”-net 10.14.3.0/24 10.14.1.3″
route_net4=”-net 10.14.4.0/24 10.14.1.4″
3. and just restart your computer friend!
Just like that!

It simple one. No firewall, no food, no others… where’s my donut? i’m hungry

After that think about firewall.
I don’t know anything except ipfw for FBSD.
For ipfw later … :) (Just little ability about ipfw)

Visit Yogyakarta / Jogja