The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
[ HOME | TOPICS | INDEX | WEB RESOURCES | BOOKS | CONTRIBUTE | SEARCH | FEEDBACK | FAQ | FORUMS ]
FreeBSD Support
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Newer Topic  |  Older Topic 
 NAT and M$ 'Zone.com'
Author: Wilco Noordermeer 
Date:   17-08-00 17:04

Hi there,

I'm running a FreeBSD 4.0 release box which also serves as a NAT router for a windows machine on a private space address.

Everything on the windows machine works (cue comments! :-) The only thing I can't do at the moment is play 'Age of Empires II' on the Zone.com.

I can log in, but as soon as a game is launched I can't connect to another player, nor can they connect to me.

My /etc/rc.firewall is as generic as possible and look like this (ed1 being my NIC connected to a cable modem):

---
/sbin/ipfw -f flush
/sbin/ipfw add divert natd all from any to any via ed1
/sbin/ipfw add pass all from any to any
---

There is an article in the M$ knowledgebase regarding the ports that should be used for playing on 'zone.com':

http://support.microsoft.com/support/kb/articles/Q159/0/31.ASP

This states:
"The following TCP ports on the firewall must be open:
6667
28800 - 29000"

I was under the impression that the above rules already accounted for that, but apparently not.

Has anyone got any experience in how to resolve this issue?

Any help appreciated.

Regards,

--
Wilco


Reply To This Message
 
 RE: NAT and M$ 'Zone.com'
Author: Wilco Noordermeer 
Date:   21-08-00 10:10

FYI,

I have managed to solve the problem by adding the following to /etc/natd.conf:

use_sockets yes
same_ports yes
redirect_port tcp [private.space.IP]:2300-2400 2300-2400
redirect_port udp {private.space.IP]:2300-2400 2300-2400
redirect_port tcp [private.space.IP]:28800-29000 28800-29000
redirect_port udp [private.space.IP]:28800-29000 28800-29000
redirect_port tcp [private.space.IP]:47624 47624

Perhaps this might be of help to anyone else :-)

Regards,

--
Wilco

Reply To This Message
 
 RE: NAT and M$ 'Zone.com'
Author: Noah Case 
Date:   28-08-00 21:18

This basically tells the system to use ed1 interface as the NATD interface. And rediect to the port you desire.

you will need to edit the natd.conf file you have made and have the changes reflect something like this;


interface ed1
redirect_port tcp 192.168.xxx.xxx:6667 6667
redirect_port tcp 192.168.xxx.xxx:28800 28800

And so on. Save the file and reload the natd program. (reboot) if you do not know how to kill and reload.

Noah



Reply To This Message
 Forum List  |  Threaded View   Newer Topic  |  Older Topic 


 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Password:
 Remember my login:
   
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum

phorum.org