LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-25-2014, 02:59 AM   #1
samernassar
LQ Newbie
 
Registered: Apr 2014
Posts: 1

Rep: Reputation: Disabled
Question 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
 
Old 04-25-2014, 12:44 PM   #2
propofol
Member
 
Registered: Nov 2007
Location: Seattle
Distribution: Debian Wheezy & Jessie; Ubuntu
Posts: 334

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


Reply



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
Forward all ports except port 80 to another server kimkhan Linux - Networking 4 02-14-2012 03:31 AM
If I forward a port in iptables, does the port have to be open on the firewall? qwertyjjj Linux - Server 4 08-06-2009 09:22 AM
Port forward to Q3 server... jim_naisium Slackware 16 06-21-2007 04:53 AM
how to Port forward web server using iptables wilper Linux - Networking 1 04-15-2007 12:39 PM
Forward port port 80 to lan web server dulaus Linux - Networking 9 10-04-2002 03:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:15 PM.

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