LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-31-2011, 02:02 PM   #16
BrZ
Member
 
Registered: Apr 2009
Distribution: Slackware
Posts: 543

Rep: Reputation: 121Reputation: 121

I use this for Samba...
Quote:
iptables -A tcp_inbound -p TCP -s 192.168.1.0/24 --destination-port 135 -j ACCEPT
iptables -A tcp_inbound -p TCP -s 192.168.1.0/24 --destination-port 139 -j ACCEPT
iptables -A tcp_inbound -p TCP -s 192.168.1.0/24 --destination-port 445 -j ACCEPT
 
Old 01-31-2011, 02:34 PM   #17
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Rep: Reputation: 232Reputation: 232Reputation: 232
Ok there's something weird going on. If I run a Minecraft server here's my result of nmap localhost -p 25565
Code:
nmap localhost -p 25565

Starting Nmap 5.21 ( http://nmap.org ) at 2011-01-31 20:08 GMT
Nmap scan report for localhost (127.0.0.1)
Host is up (0.000079s latency).
PORT      STATE SERVICE
25565/tcp open  unknown

Nmap done: 1 IP address (1 host up) scanned in 0.09 seconds
When I forward the port on my router here the result from canyouseeme.org for the port :
Code:
Success: I can see your service on 92.234.146.72 on port (25565)
Your ISP is not blocking port 25565
This all should work so it's getting blocked (or not running properly) somewhere. I can then connect to 25565 from telnet localhost 25565 too.

Maybe you could try running httpd and browsing to localhost. If this works then test forwarding on the rouiter and look at port 80 from outside. You can do with with an outside port scan or by browsing your external IP via an online proxy. This will at least prove something can get through. I wouldn't recommend leaving things open for any length of time unless you have security measures in place. As it stands running "nmap localhost -p 25565" at least should show it being open locally so maybe try another service on another port, to prove it's just Minecraft giving problems, like httpd? Personally I don't like leaving local ports open to the world anyway so I usually block all at my router - (just in case anyone's thinking of breaking in).

Last edited by bgeddy; 01-31-2011 at 05:16 PM.
 
Old 01-31-2011, 09:09 PM   #18
trademark91
Member
 
Registered: Sep 2009
Distribution: Slackware -current x64
Posts: 372

Original Poster
Rep: Reputation: 74
i got it open!

apparently, it was an error with the router, but i called up the company and they sent a new one. now it works fine
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
opening a port satish Linux - Security 2 11-23-2006 02:14 PM
CentOS Opening port for FTP Server Thin Linux - Distributions 3 11-16-2005 11:38 AM
Opening port 80 nmoog Linux - Newbie 4 02-01-2004 04:00 PM
opening port for a game server Ashtray Linux - Networking 8 07-16-2003 07:33 AM
How to prevent X server from opening port 6000 glock19 Linux - General 5 05-23-2002 03:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration