LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-09-2012, 08:30 PM   #1
MetaMan
Member
 
Registered: Apr 2011
Distribution: Arch Linux :D
Posts: 50

Rep: Reputation: 0
Port Forwarding with Router Telnet Interface


I have a router that only allows you (for the most part) to configure it by logging in with telnet. I have been trying to expose my Minecraft server to the internet and have been having some issues.

After logging in with telnet, I get this:
Code:
   Main Menu

1.  ADSL Link State
2.  LAN
3.  WAN
4.  DNS Server
5.  Route Setup
6.  NAT
7.  Firewall
8.  Quality Of Service
9.  Management
10. Passwords
11. Diag
12. Reset to Default
13. Save and Reboot
14. Exit
 ->
The server's internal ip is 192.168.1.50. If I connect to this within Minecraft, I am able to play just fine. Using my router's weird telnet menu-y system, I created a 'virtual server' under the 'NAT' submenu with this options:
Code:
 Virtual Server Show

Server Name     Proto.  External Start  External End    Internal Start  Internal End    Server
                        Port            Port            Port            Port            IP Address
Minecraft       TCP&UDP 25565           25565           25565           25565           192.168.1.50

Hit <enter> to continue
Any ideas on how I should proceed from here? I cannot currently connect with my external ip.
 
Old 09-10-2012, 01:53 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well the router brand would help but I guess that looks correct (other that it technically being TCP traffic only), however maybe you need to also explicitly open the firewall port as well as enabling the forwarding?

And you do mean minecraft server right? Not just opening the client to the LAN, as that picks a different port each time.

Last edited by acid_kewpie; 09-10-2012 at 01:57 AM.
 
Old 09-10-2012, 07:43 AM   #3
MetaMan
Member
 
Registered: Apr 2011
Distribution: Arch Linux :D
Posts: 50

Original Poster
Rep: Reputation: 0
Yes, It's a full-blown server. Craftbukkit, to be exact. The server is starting on the right port. The router model is "BCM96358 ADSL Router"
Under the firewall submenu, there is only 'IP Filtering' and 'MAC Filtering'.

Any other ideas? Also... when I enter my router's external IP, it asks to log into my router. (It has an html interface but it doesn't allow configuration. It just shows status information. That's why I have to use telnet) Is there a reason it's doing this?
 
Old 09-10-2012, 08:02 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Ahh, ok so have you not tried this from a remote location? Maybe routers will apply these configs based on the ingress port of the router. So it's not until you enter from the Internet side of the router that you will see anything happen. Same (well.. opposite...) goes for the management page, it's not the IP you're going to that matters, it's that you're requesting port 80 (or 443 etc) from the router by going in through the internal side.
 
Old 09-11-2012, 07:32 AM   #5
MetaMan
Member
 
Registered: Apr 2011
Distribution: Arch Linux :D
Posts: 50

Original Poster
Rep: Reputation: 0
Thanks! I'll see if I can get a friend on the outside to connect.
 
Old 09-11-2012, 07:17 PM   #6
MetaMan
Member
 
Registered: Apr 2011
Distribution: Arch Linux :D
Posts: 50

Original Poster
Rep: Reputation: 0
People outside my network still seem unable to connect to my server. Any other suggestions?
 
Old 09-12-2012, 02:09 AM   #7
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Well i'd still look at the firewall side of things, what is under IP filtering?
 
Old 09-12-2012, 03:52 PM   #8
MetaMan
Member
 
Registered: Apr 2011
Distribution: Arch Linux :D
Posts: 50

Original Poster
Rep: Reputation: 0
Code:
   IP Filtering Menu

1. Outgoing
2. Incoming
3. Exit
/ Firewall/IP Filtering ->
If you select "Outgoing" or "Incoming" you get a menu that looks like this:

Code:
   Incoming IP Filtering Menu

1. Add
2. Remove
3. Show
4. Exit
/ Firewall/IP Filtering/Incoming ->
Selecting "Show" gives you this:

Code:
        Incoming IP Filtering Show

Filter Name     VPI/VCI Proto.  Source          Source          Source  Destination     Destination     Destination
                                IP Address      Subnet Mask     Port    IP Address      Subnet Mask     Port

Hit <enter> to continue
 
Old 09-13-2012, 02:01 AM   #9
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
right, so fill that in. Not sure what else I'm supposed to tell you tbh.
 
Old 09-13-2012, 05:06 PM   #10
MetaMan
Member
 
Registered: Apr 2011
Distribution: Arch Linux :D
Posts: 50

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by acid_kewpie View Post
right, so fill that in. Not sure what else I'm supposed to tell you tbh.
What do you recommend filling in where? And isn't this for blocking IP's?
 
Old 09-14-2012, 12:58 AM   #11
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well everything would be denied by default.

so source I guess you'd set as 0.0.0.0/0 or something, destination is presumably the internal IP, but might be your public one. and the dest port is the minecraft port.
 
  


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
Port/Address forwarding with iptables with one network interface. Nextrastus Linux - Networking 5 09-18-2013 09:55 AM
port forwarding without router jkeertir Linux - Newbie 3 09-17-2009 10:56 AM
Help Forwarding Telnet Port bathrinath Linux - Server 3 09-01-2009 09:55 AM
Port forwarding on ppp0 interface does not work? tkmbe Linux - Networking 3 04-01-2008 02:10 AM
port forwarding on Belkin 4-port Cable/DSL Gateway Router sycamorex Linux - Networking 5 03-05-2007 03:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:16 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