ID:833626
 
Keywords: in, linux, portforwarding
I cannot figure out how to forward my ports in linux. I can do it fine in windows just not linux. I have a windows laptop and one of the ports are forwarded to 15000. I put that in the dream daemon in linux but it says there's no connection. How do I forward my port to 15000 in linux?(portforwarding for dummies please)
Best describe your network setup to us. How's the Linux PC connecting to the internet, and what devices are between it and the internet?
I'm gonna be honest with you and tell you I have absolutely no idea what you just said but I'll try.

Connected by cord into a router
deviced between PC and internet -........... Modem, Router, cord.. ? XD.
So the router is the thing doing the port forwarding. What you may find has commonly changed between the Linux PC and the Windows laptop is the IP address.

Have a look at the IP address you have in Linux, and make sure the router is port forwarding to that address.
You were right. It says the inet addr is 192.168.X.X but when I type it in my URL it's comes up as a problem loading page. Idk what else to do lol. This is what it says:

Link encap:Ethernet HWaddr 00:16:76:be:f8:fc
inet addr:192.168.X.X Bcast:192.168.2.X.XXX Mask:255.255.255.0
inet6 addr: fe80::216:76ff:febe:f8fc/64 Scope:Link
You want to go to your router's configuration page, and make sure it port forwards port 15000 to that IP address you just found in Linux. Your route will have another IP address, that you can access router configuration from.

Something like:

192.168.0.1
192.168.1.1

Or similar, at a guess. Also, those IP addresses are local only, you don't need to hide them from us (or any IP address for that matter, local or public).
O. didn't know that. Anywhoo.. I did that earlier XD. so it went like this.

Link encap:Ethernet HWaddr 00:16:76:be:f8:fc
inet addr:192.168.2.2 Bcast:192.168.2.255 Mask:255.255.255.0
inet6 addr: fe80::216:76ff:febe:f8fc/64 Scope:Link
For some reason the IP is showing up as 192.168.2.2?
Right, and your router's IP address is?
192.168.2.1
Right, and so the router on 192.168.2.1 is port forwarding port 15000 to 192.168.2.2?
Thats for windows myB. In the network section of my linux computer it is:

Hardware Address: 00:16:76:BE:F8:FC

Speed 1000 Mb/s

IP Address 192.168.2.2

Subnet Mask 255.255.255.0

Default Route 192.168.2.1

DNS 192.168.2.1
Sure.

But the router, that is configured to port forward port 15000 to 192.168.2.2, right?
Oh uhmm.. yaa It is forwarding to that.
It works! Thankyou Very much :). It's all good connecting and everything ^^.