(E-Mail Removed) (Gabriel Michael) wrote in message news:<(E-Mail Removed) om>...
> Hello,
>
> I'm running Poptop (hereafter pptpd) on my Red Hat 9 box to serve out
> PPTP VPN connections to multiple Win2000/XP clients. The purpose is so
> that I can run hlds (Half-Life Dedicated Server) as a LAN server, and
> allow others in my dorm to connect to it (we all have public IPs, so
> the VPN is required). The entire setup works correctly now; however, I
> am experiencing very poor performance for the VPN clients (ping > 1000
> ms in Half-Life in some cases). I thought this might be due to the
> PPTP encryption, so I disabled it (this is client-side configuration
> in Windows), but the performance is still poor. We are on a 10 Mbps
> LAN, and my box is a P-III 600, 384 MB RAM, and the external ethernet
> card is a 3Com 10/100. The box is not overloaded, nor are there just
> too many VPN connections; I've tested it with a single connection, and
> had high pings. I'd like to stick with using pptpd, because the
> client-side configuration is very easy. Is the pptpd daemon just not
> able to handle this, or are there other tweaks I can try? Any
> suggestions will be appreciated.
>
> Thanks,
>
> Gabe
So, I have taken it upon myself to further explain my predicament, in
order to not provide ammunition for those who feel the need to browse
newgroups and post useless, time-wasting replies from machines with
poor firewalls.
My box has two physical ethernet cards, eth0 and eth1. eth0 is the
external card, with a public IP. eth1 is the internal card, with a
private IP of 172.16.0.1. When one does `hlds [options] +sv_lan 1
-nomaster`, hlds binds to this private IP. In order to allow other
players to join the LAN game, I have installed pptpd to serve out PPTP
VPN connections (using the GRE protocol, this is a Microsoft thing).
The reason I chose pptpd is because the client connections are very
easy to set up. When someone establishes a VPN to my public IP,
ifconfig shows it as a PPP connection, with client IPs ranging from
192.168.1.2-254 (the server is always 192.168.1.1). With proper
forwarding in iptables, these clients simply go to their Half-Life
console, type `connect 172.16.0.1`, and are able to connect to the
game; however, they have very high pings, bad enough to discourage
them from playing. Of course, when I join locally from 172.16.0.175 to
172.16.0.1, my pings range from 6 - 15 ms.
Is the poor performance due to pptpd? Are there tweaks or
configuration to pptpd or the system in general (or for those in
alt.games.half-life, hlds) that will improve the performace?
Thanks,
Gabe