• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Linux Portforwarding

Radium

Frozen-Hell.com
Joined
Nov 20, 2010
Messages
248
Reaction score
11
Location
England
Ok, Wow, I feel like such a Noob.

How do I port forward in Debian 5.0 Lenny via SSH?
 
Well, i saw this. Port forwarding with iptables | Debian Tutorials

it says use this
Code:
{local_ip}: A ip address mapped on the local system
{local_port}: The port you would like to listen on
{destination_ip}: Destination ip address
{destination_port}: Destination port

Local_ip --> Ip of my server
Local port --> 7172
destination ip -->?????
destination port -->?????
 
Just did a netstat on debian and i came out with this result
does this mean my 7171 and 7172 ports are open??

Code:
:~# netstat -tulpn
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 0.0.0.0:993             0.0.0.0:*               LISTEN      2646/dovecot
tcp        0      0 0.0.0.0:7171            0.0.0.0:*               LISTEN      2764/theforgottense
tcp        0      0 0.0.0.0:995             0.0.0.0:*               LISTEN      2646/dovecot
tcp        0      0 0.0.0.0:7172            0.0.0.0:*               LISTEN      2764/theforgottense
tcp        0      0 127.0.0.1:3306          0.0.0.0:*               LISTEN      2459/mysqld
tcp        0      0 0.0.0.0:587             0.0.0.0:*               LISTEN      2615/master
tcp        0      0 0.0.0.0:110             0.0.0.0:*               LISTEN      2646/dovecot
tcp        0      0 0.0.0.0:143             0.0.0.0:*               LISTEN      2646/dovecot
tcp        0      0 127.0.0.1:687           0.0.0.0:*               LISTEN      2631/famd
tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN      2263/portmap
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      2710/apache2
tcp        0      0 0.0.0.0:465             0.0.0.0:*               LISTEN      2615/master
tcp        0      0 0.0.0.0:21              0.0.0.0:*               LISTEN      2627/vsftpd
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      2380/sshd
tcp        0      0 0.0.0.0:25              0.0.0.0:*               LISTEN      2615/master
tcp        0      0 0.0.0.0:443             0.0.0.0:*               LISTEN      2710/apache2
udp        0      0 0.0.0.0:111             0.0.0.0:*                           2263/portmap

When i try to login via Tibia it gives me "connection refused 10016", i can see the character list.
it says there 127.0.0.1:3306. does that mean my Mysql isn't forwarding? if that was the case, how can i access phpmyadmin and even see the character list from home?

I'm so confused.
 
Back
Top