|
||||||
| Forums FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| Network/Internet Questions about internet applications, network configuration, usage (SAMBA, network printing, NFS) |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Hey, I having trouble with a gaming bot that I recently installed on a freshly built OpenSuse 11.1 rig. I'm probably overlooking something obvious, because OpenSuse is not an OS I've used all that much. But here goes:
I had this bot running on my vista rig, works fine to host games. When I compiled it on OpenSuse it can't host any games. I've forwarded all the right ports (via my Dlink router) to my OpenSuse rig and went the additional step of completely disabling the firewall (though the "Configure a Firewall" in the menu). Still, when the bot is running I pull up Open Port Check Tool I get "connection refused" for all the ports I need. Any help? Thanks |
|
|||
|
Code:
aaron@linux-xsf0:~/ghost> su Password: linux-xsf0:/home/aaron/ghost # iptables -L -vn Chain INPUT (policy ACCEPT 31379 packets, 5329K bytes) pkts bytes target prot opt in out source destination Chain FORWARD (policy ACCEPT 0 packets, 0 bytes) pkts bytes target prot opt in out source destination Chain OUTPUT (policy ACCEPT 30693 packets, 8871K bytes) pkts bytes target prot opt in out source destination linux-xsf0:/home/aaron/ghost # netstat -lnt Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN tcp 0 0 :::139 :::* LISTEN tcp 0 0 :::111 :::* LISTEN tcp 0 0 :::22 :::* LISTEN tcp 0 0 ::1:631 :::* LISTEN tcp 0 0 :::445 :::* LISTEN linux-xsf0:/home/aaron/ghost # |
|
|||
|
Hi,
The local address column lists the ports that your OpenSuSE box is listening for connections on. So as an example 0.0.0.0:22 will equate to accepting connections on all local interfaces for port 22 (ssh). This port is opened up by starting the SSHD daemon. To match the list of port numbers tro actual services take a look in the services file under /etc. i.e: less /etc/services You will see a description of the service name and port number used for that service. hth J |
|
|||
|
Ok, that makes sense. So now how do I get my box to listen to the ports I wants? Specifically between the 6112-6119 range. Thanks
|
|
|||
|
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1 Start a service made to listen on those ports. You can also do it manually with a general TCP tool like netcat (great tool, comes w/SUSE) with the following syntax (one per port): netcat -l -p 6112 Note that just listening on a port for fun doesn't net you much, but if you had a service listening there then it makes more sense; on the other hand, telling the server to listen isn't something you usually need to do on your own as it happens when the service starts (or else the service would have no networking purpose). Good luck. Airdawg10 wrote: > Ok, that makes sense. So now how do I get my box to listen to the ports > I wants? Specifically between the 6112-6119 range. Thanks > > -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iQIcBAEBAgAGBQJKUk6zAAoJEF+XTK08PnB5kfQP/39zjvOwsndZAoXJ+J5CN57V efqIIDIxGsjLY/k59M/3tvCUDCxtWsLLQsBMEVYYHROB2tl8DQczq+SQibGdrCqR rkapIW8k6fLbw//VYAqjWIJ1kmFGtgNxq95UvAmXT/nG4tl8R42AfQXehYRr44iC rOO9AoqaZJs6or/OP5NMLK85P4QIf4tprh3LiWk71A27x2Gc8cL44/dw34YCS8G5 e0xzdGnnfxQzZSCsdEjDYvW0NoIMWTbUifOyq+x/s62eBCiltxO9qGvHPgDrmcoF CH12SCJudFwKIJ9ujQ5yGY2X1QrkKOB6ykgkbXa1A+nRWjJo2u ZOdRxnFqLSSco0 /uYkoBI9PyqpuSfh9fUcB1Lz15bvnUXWY5qGwvlAexxCqjrZfkC JUPBOZEA6S69U vMXWgPEuaT9tEK4BPxG4isVHJt8mgTFm1VE/+QRVVjBt+NT6RXcP4YU/cGtiUmyO QS8fBpr6oNOoXS9/iWvhY3WSbUuho6mrSV+cOzK/LMHX+K0FWJ8Nt4aPXEm9QJew fq6rIehBXTSDt3nTgLm/jFucuoEAaD6yUYtGY0h977i4NuWMRxY6mNPDRLs2T7rt Gv8eJqitsGpvoD6L+y2O90IZmosNeuSeu5Bjc3tqjxlOhHLptL Bbx9pkJIbaEoBE 8TfLE3DnOJmkTVCvF6Cq =Sj/z -----END PGP SIGNATURE----- |
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|