Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 12-04-2017, 05:55 PM   #1
LQ Newbie
Registered: Nov 2017
Posts: 18

Rep: Reputation: Disabled
Port not being forwarded to linux server specifically

Hello, i posted before about problems with my home server, which were solved:

Now my problem is actually getting my Linux (Kali, Debian) machine to listen on this port outside LAN. The router was set up properly, which was guaranteed by testing the same setup with my phone, forwarded to the same port, and a simple "nc -lp 1337" was accessible from outside.
On my box, though, port check tools can't see the service running. What could i be missing here?

Other info:

- Iptables is accepting all traffic
- Receiving connections inside LAN is not an issue
- I could only test it in one router

Last edited by Dantaliion; 12-05-2017 at 09:48 AM.
Old 12-06-2017, 04:57 AM   #2
Registered: Aug 2002
Posts: 16,690

Rep: Reputation: 2045Reputation: 2045Reputation: 2045Reputation: 2045Reputation: 2045Reputation: 2045Reputation: 2045Reputation: 2045Reputation: 2045Reputation: 2045Reputation: 2045
Is your router port forwarding configured with the correct IP address for your linux machine? Are you using a static IP address or address reservation in the router?

When testing are you using the correct public IP address of the router?

Without knowing the exact steps / port check tools you are using it is difficult to know what you could be missing.
Old 12-07-2017, 02:43 PM   #3
LQ Newbie
Registered: Nov 2017
Posts: 18

Original Poster
Rep: Reputation: Disabled
Yes, sure, all of the above.
I was able to test it in another router, and it worked, seems like it's a problem with my router, actually


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] Forwarded port, connection refused mfoley Linux - Networking 2 10-30-2015 12:03 PM
Port 80, 443 need forwarded to W2K3 Server/Linux Server canegames Linux - Server 4 11-13-2007 04:09 AM
port forwarded in Linux, doing the same on Win XP lothario Linux - Networking 2 05-02-2007 12:07 PM
port is not being forwarded in linux tharsan Linux - Networking 3 02-21-2005 12:48 PM
Linux not accepting port forwarded packets? p_motch Linux - Networking 10 07-18-2004 09:54 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:16 AM.

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