internet speed thru gateway/server

Other than security does having a separate linux box
for the intranet server and a separate one for
intranet gateway effect the speed of the internet
connection.

We have our server and gateway on
40GB HD
256 MB RAM
1.5 GHz Intel P3

Can the server/gateway be configured for better speed?
All clients access the web thru proxy and some thru
gateway.

With a system like that acting as a gateway the bottle-neck will most likely be at the network pipe. In other words, the gateway itself should not impose any noticeable slowdown.