Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Oct 2001 09:04:43 -0400
From:      Mark Thomas <thomas@pbegames.com>
To:        freebsd-questions@FreeBSD.org
Subject:   Re: PPP, NAT, and battlenet
Message-ID:  <5.1.0.14.2.20011025085513.020925e0@pbegames.com>
In-Reply-To: <20011024225426.A80107@acadia.ne.mediaone.net>
References:  <5.1.0.14.2.20011024221147.020960d0@pbegames.com> <5.1.0.14.2.20011024221147.020960d0@pbegames.com>

next in thread | previous in thread | raw e-mail | index | archive | help
At 10:54 PM 10/24/01 -0400, Louis LeBlanc wrote:

>I haven't tried yet, since moving on up to FreeBSD 4.4 with ipfw and
>natd (just basic translation), mostly because I just didn't know what
>ports I had to translate back to the Winbox.
>
>I'm very interested in the configuration that allows you to connect to
>and play external games without any such problems; care to share the
>details?

I'm not using natd, but ppp's built in nat feature. Here is my current ppp 
config:

################################################################
# PPP Configuration File ('/etc/ppp/ppp.conf')
#
# Default settings; These are always executed always when PPP
# is invoked and apply to all system configurations.
################################################################
default:
  set log phase tun command
  set mru 1492
  set mtu 1492
  set ctsrts off
  nat enable yes
  nat same_ports yes
  nat use_sockets yes
  enable lqr
  set device PPPoE:dc1
  set ifaddr 10.0.0.1/0 10.0.0.2/0

verizon:
  set device PPPoE:dc1
  set authname MYNAME
  set authkey  MYPASS
  set dial
  set login
  add default HISADDR

My /etc/rc.conf contains:

ppp_enable="YES"
ppp_mode="ddial"
ppp_nat="YES"
ppp_profile="verizon"

dc1 is the NIC I have connected to the DSL modem. 'nat enable yes' and 
'ppp_nat="YES"' are probably redundant. I can join battlenet games via this 
set up without problems. I have just added the same_ports and use_sockets 
options based on mail from "Bezerker" <bezerker@bezerker.org>, but haven't 
had a chance to test if they allow me to host games.


Mark
---
thomas@pbegames.com -------------> http://www.pbegames.com/~thomas
Play by Electron Games ----------> http://www.pbegames.com
[TM4463-ORG]


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5.1.0.14.2.20011025085513.020925e0>