I had a server crash on me (hdd) fail and I decided it was time to go from my 300mhz pc to a newer more efficient openbsd firewall.
By the recommendations on this site I went with an atom processor supermicro.com/products/motherboard/ATOM/945/X7SLA.cfm?typ=H
I have a single stick of 1gb of ram in the box.
The machine has dual nics built into the motherboard (re0, re1)
I went out and put the latest Amd64 OpenBSD 4.6 on the computer.
When I use the dlink router that my ISP supplied then I get 15mb down.
When I use the following configuration on my bsd box I get a burst of 1mb and an average of 300kb.
the first thing i did was enable ipforwarding
Code:
net.inet.ip.forwarding=1
my /etc/ppp/ppp.conf file contains the following
Code:
default:
set log Phase Chat LCP IPCP CCP tun command
set timeout 0
set redial 15 0
set reconnect 15 10000
set server /var/run/ppp.sock "" 0177
pppoe:
set device "!/usr/sbin/pppoe -i re0"
set mtu max 1492
set mru max 1492
set speed sync
enable lqr
disable acfcomp protocomp
deny acfcomp
add! default HISADDR
set authname myusername
set authkey mypwd
then i edited /etc/rc.local to the following
Code:
/sbin/ifconfig re0 up
/usr/sbin/ppp -ddial pppoe
then i set my pf.conf to allow all in and out going
What am I doing wrong? How can I improve my connection speed?
Any help is greatly appreciated!