I have a working router and some ports are forwarded to PCs in the network.
A redirecting rule:
(router):4662 -> 192.168.227.12:4662
Now i can connect from the world to the machine behind the
router(217.75.151.157 and 192.168.227.20) (jule is a machine not from my LAN)
Code:
joro@jule:~$ telnet 217.75.151.157 4662
Trying 217.75.151.157...
Connected to 217.75.151.157.
Escape character is '^]'.
bla bla bla, the connection is working!!Q!!
Connection closed by foreign host.
joro@jule:~$
but i cant connect to the 217.75.151.157:4662 from the LAN
(malkia is the router)
Code:
joro@malkia:~$ telnet 217.75.151.157 4662
Trying 217.75.151.157...
telnet: connect to address 217.75.151.157: Connection refused
joro@malkia:~$
The idea of this is allowing peer-to-peer programs(eMule) on my network, to contact each other using different ports on the router 217.75.151.157