Subject: Problems with NAT
To: None <netbsd-users@netbsd.org>
From: Rafael Almeida <almeidaraf@gmail.com>
List: netbsd-users
Date: 08/22/2006 21:22:08
------=_Part_70554_3377188.1156292528659
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hello,

I'm having trouble with my nat, maybe someone can help me out.  I'm
doing a port forwarding in order to be able to play starcraft on
another machine. The port seems to be forwarding (I started a server
there on the port I wanted and I was able to connect from another
machine outside the network). Still, during the game, people couldn't
see me and it was extremely laggy (although 1x1 matches work fine).
When I had linux on the box it used to work fine, the configuration
files for my former linux system is attached. I tried to have the same
behaviour on the netbsd, so I did this what is in ipf.conf and
ipnat.conf (also attachements).

I'm not really good with networks and all, but the netbsd
configuration seems good to me. I don't know what could be wrong.

Best regards,
Rafael C. Almeida

------=_Part_70554_3377188.1156292528659
Content-Type: application/octet-stream; name=linux.filter
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="linux.filter"

IyEvYmluL3NoCiMgCiMgL2V0Yy9yYy5kL3JjLm5hdDogRmlyZXdhbGwgaW5pdGlhbGl6YXRpb24g
c2NyaXB0CiMKIyBQdXQgZmlyZXdhbGwgY29tbWFuZHMgaGVyZToKCiMKIyBJTlBVVAojCiNiYW5u
ZWQgSVBzCiMvdXNyL3NiaW4vaXB0YWJsZXMgLUEgSU5QVVQgLWkgcHBwMCAtcyA2Mi4yNDAuMTY2
LjE4IC1qIERST1AKIy91c3Ivc2Jpbi9pcHRhYmxlcyAtQSBJTlBVVCAtaSBwcHAwIC1zIDIxOC45
My4xMTcuMjE4IC1qIERST1AKIy91c3Ivc2Jpbi9pcHRhYmxlcyAtQSBJTlBVVCAtaSBwcHAwIC1z
IDYyLjE5Ny4xMDQuMjEgLWogRFJPUAojL3Vzci9zYmluL2lwdGFibGVzIC1BIElOUFVUIC1pIHBw
cDAgLXMgNjUuMTA0LjE4NS4yNDAgLWogRFJPUAojL3Vzci9zYmluL2lwdGFibGVzIC1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m
b3J3YXJkIHBhY2thZ2VzCi91c3Ivc2Jpbi9pcHRhYmxlcyAtUCBJTlBVVCBEUk9QCi91c3Ivc2Jp
bi9pcHRhYmxlcyAtUCBGT1JXQVJEIERST1AK
------=_Part_70554_3377188.1156292528659
Content-Type: application/octet-stream; name="linux.nat"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="linux.nat"

IyEvYmluL3NoCiMgCiMgL2V0Yy9yYy5kL3JjLm5hdDogTmF0IGluaXRpYWxpemF0aW9uIHNjcmlw
dAojCiMgUHV0IG5hdCB0YWJsZSB3cml0dGluZyBjb21tYW5kcyBoZXJlOgoKL3Vzci9zYmluL2lw
dGFibGVzIC10IG5hdCAtQSBQT1NUUk9VVElORyAtbyBwcHAwIC1qIE1BU1FVRVJBREUKCiMgUG9y
dHMgdXNlZCBmb3IgY3JlYXRpbmcgc3RhcmNyYWZ0IGdhbWVzIHJlZGlyZWN0ZWQgdG8gd2luZG93
cyBib3guCi91c3Ivc2Jpbi9pcHRhYmxlcyAtdCBuYXQgLUEgUFJFUk9VVElORyAtcCB1ZHAgLS1k
cG9ydCA2MTEyOjYxMTkgLWkgcHBwMCAtaiBETkFUIC0tdG8gMTkyLjE2OC4wLjMKCiMgUG9ydHMg
dXNlZCBmb3IgY3JlYXRpbmcgZ3VuYm91bmQgZ2FtZXMgcmVkaXJlY3RlZCB0byB3aWRvd3MgYm94
LgovdXNyL3NiaW4vaXB0YWJsZXMgLXQgbmF0IC1BIFBSRVJPVVRJTkcgLXAgdWRwIC0tZHBvcnQg
ODMwMDo4Mzk5IC1pIHBwcDAgLWogRE5BVCAtLXRvIDE5Mi4xNjguMC4zCg==
------=_Part_70554_3377188.1156292528659
Content-Type: application/octet-stream; name="ipf.conf"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="ipf.conf"

cGFzcyBvdXQgcXVpY2sgb24gcHBwb2UwIHByb3RvIHRjcCBmcm9tIGFueSB0byBhbnkgZmxhZ3Mg
UyBrZWVwIHN0Y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3J0CnBhc3MgaW4gcXVpY2sgb24gcHBwb2UwIHByb3RvIHRjcCBmcm9tIGFueSB0byBhbnkgcG9y
dCAgNjExMjo2MTE5IGtlZXAgc3RhdGUKcGFzcyBpbiBxdWljayBvbiBwcHBvZTAgcHJvdG8gdWRw
IGZyb20gYW55IHRvIGFueSBwb3J0ICA2MTEyOjYxMTkga2VlcCBzdGF0ZQoKYmxvY2sgaW4gbG9n
IGFsbApibG9jayBvdXQgbG9nIGFsbAo=
------=_Part_70554_3377188.1156292528659
Content-Type: application/octet-stream; name="ipnat.conf"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="ipnat.conf"

IyBzdGFyY3JhZnQgZ29lcyB0byB3aW5kb3dzCnJkciBwcHBvZTAgMC4wLjAuMC8wIHBvcnQgNjEx
MiAtPiAxOTIuMTY4LjAuMyBwb3J0IDYxMTIKCiMgTVNTLWNsYW1waW5nCm1hcCBwcHBvZTAgMTky
LjE2OC4wLjAvMjQgLT4gMC4wLjAuMC8zMiBwb3J0bWFwIHRjcC91ZHAgNDQwMDA6NDk5OTkgbXNz
Y2xhbXAgMTQ0MAptYXAgcHBwb2UwIDE5Mi4xNjguMC4wLzI0IC0+IDAuMC4wLjAvMzIgbXNzY2xh
bXAgMTQ0MAoKIyBGVFAgcHJveHkKbWFwIHBwcG9lMCAxOTIuMTY4LjAuMC8yNCAtPiAwLjAuMC4w
LzMyIHByb3h5IHBvcnQgZnRwIGZ0cC90Y3AKCiMgZGVmYXVsdCBjb25maWd1cmF0aW9uCm1hcCBw
cHBvZTAgMTkyLjE2OC4wLjAvMjQgLT4gMC4wLjAuMC8zMiBwb3J0bWFwIHRjcC91ZHAgNDAwMDA6
NjAwMDAKbWFwIHBwcG9lMCAxOTIuMTY4LjAuMC8yNCAtPiAwLjAuMC4wLzMyCg==
------=_Part_70554_3377188.1156292528659--