LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Hi,How i can open port forward on my linux server (https://www.linuxquestions.org/questions/linux-server-73/hi-how-i-can-open-port-forward-on-my-linux-server-4175502926/)

samernassar 04-25-2014 02:59 AM

Hi,How i can open port forward on my linux server
 
Hi,How i can open port on my linux server and forward it to my port on my computer when i have communicate with the server using vpn connection [pptp]
example :
1-remote server dedicated ip is x.x.x.x
2-my vpn ip is 10.10.10.230

i need to forward port 443 on x.x.x.x to port 443 on 10.10.10.230

i have tested this command but not worked :
ssh -4 -L 443:10.10.10.230:443 root@x.x.x.x

propofol 04-25-2014 12:44 PM

Maybe ssh root login is disabled on the server. This would seem like a good idea for a server.


All times are GMT -5. The time now is 11:47 AM.