The tag has no usage guidance.

learn more… | top users | synonyms

45
votes
2answers
48k views

How to create a restricted SSH user for port forwarding?

ændrük suggested a reverse connection for getting an easy SSH connection with someone else (for remote help). For that to work, an additional user is needed to accept the connection. This user needs ...
14
votes
2answers
30k views

How to open a particular port in ubuntu?

My SoulSeek client Nicotine+ checks my open ports during initial configuration and promts that the one port number it needs is closed, cutting me off frmo about 50% of the users. Is there anyway I can ...
7
votes
3answers
22k views

How to SSH on a port other than 22

I have two computers behind the same router. Let's call them A and B. A can SSH to B in the following manner: ssh usr@<internal ip of computer> B can SSH to A by doing the same, but the ...
7
votes
2answers
6k views

Port forward to a port on the same machine

I used to run a service on port 25570 I'm now changing it to run on port 25565 but I still want people who try to access it on the old port to have access to the service. So I'd like to forward port ...
5
votes
2answers
8k views

ssh -L (error: bind: Address already in use)

Pretty simple, I know that this has happened to me before. Couldn't find a good answer on AU. I was running an ssh session with ports bound: ssh -L 3000:<server_name>:22 I just lost my ...
5
votes
1answer
717 views

Finding URL to VirtualBox Ubuntu Apache2 server

I am new to Ubuntu and have Apache2 running in a virtual box on my machine. I am trying to access this server on my Windows machine.. I am assuming that I need to find the ipAddress and the port to ...
4
votes
5answers
29k views

ssh: connect to host myremotehost.com port 22: Connection refused

So I am trying to get ssh working on my server. I can connect on my local network with the local ip address of the server perfectly fine. When I try to connect remotely (through a domain name that I ...
4
votes
2answers
519 views

How to tunnel traffic from one machine to another?

I have a server, which can be seen from outside of my small network, sever has domain name and such. And I have a local machine, which can be seen by server, but is not accessible from outside. So I ...
4
votes
2answers
14k views

Port Forwarding to Connect to MySQL Database of VirtualBox

I have Ubuntu 10.04 as host machine and Ubuntu 10.10 as guest machine installed in VirtualBox. I had success on port forwarding to connect to Apache of guest machine, so that now I can open in host ...
4
votes
1answer
3k views

Error when doing port forwarding with iptables?

I've got a fairly standard ubuntu install and looking to add a port forward. *filter :INPUT ACCEPT [0:0] :FORWARD ACCEPT [0:0] :OUTPUT ACCEPT [0:0] -A INPUT -m state --state ESTABLISHED,RELATED -j ...
4
votes
3answers
1k views

Is it needed to set Static IP and Port to get best performance from Transmission?

I've recently migrated to Linux from Windows and I work on Ubuntu 12.04 LTS. I am trying to preserve my usual habits of Windows so that I can use Linux more regularly. One of those habits is P2P ...
4
votes
1answer
6k views

connect to vpn via another port( change pptp client port)

as you know pptp port is 1723 by default,know I forward port number 21 to 1723 on my CentOs VPN. Know I wanna connect to my vpn (pptp) from port number 21. How can I do it?
4
votes
1answer
228 views

How to access a port on a remote server using SSH?

I have a service running on a certain port at the server. What I want to do is, access the server using SSH and use a local (client-side) program to access the server's port. Is that possible?
4
votes
0answers
283 views

how do you configure ubuntu to run only with tor [closed]

I have a problem. I'm trying to port forward and get a similar error msg, I type this in:ssh -N -L 9050:10.0.2.2:9050 root@10.0.3.1 and then I get this msg:ssh: connect to host 10.0.3.1 port 22: No ...
3
votes
1answer
3k views

How Can I Open A Port On Ubuntu?

Ubuntu 13.04: No LSB modules are available Distributor ID: Ubuntu Description: Ubuntu 13.04 Release: 13.04 Codename: raring I'm attempting to open port 8888 on an Ubuntu VM that I'm ...
3
votes
3answers
2k views

SSH from external network refused

I've installed open-ssh-server on my home computer(running Lubuntu 12.04.1) in order to connect to it from school. This is how I've set up the sshd_config file: # Package generated configuration file ...
3
votes
1answer
4k views

How do I set up an SSH SOCKS proxy with Gnome SSH Tunnel Manager?

Generally I use this command to create a local Socks proxy via SSH Tunneling ssh -ND 7777 -i google.pem ubuntu@107.20.x.x Then i configure my applications to use Socks proxy on localhost (i.e. ...
3
votes
1answer
490 views

How to forward ports on the same Ubuntu machine? I want my webserver be available on 80 and 8880 port

How do I forward ports on the same Ubuntu machine? I want my webserver be available on 80 and 8880 port. Or maybe I could making my apache listening not only on 80 port, but also on 8880? Is that ...
3
votes
1answer
335 views

Create multiple aliases for localhost addresses on different ports

I have some webapps running on my localhost that I can access by my web browser at different ports. For example I have an IPython notebook server running on port 8888 (I can access it at ...
3
votes
2answers
1k views

One IP address, Two Websites, on Two Machines - Need details

This question has already been posted by another user but a detailed answer was not given.. Here is the link to the original question - One IP address, Two Websites, on Two Machines I have two ...
3
votes
0answers
550 views

How to prevent autossh from becoming stuck once in a while?

I am using autossh to build a reverse ssh tunnel but from time to time the tunnel stops working and I need to kill autossh and start it again. /etc/cron.d/autossh @reboot autossh -f -nNT -R ...
2
votes
3answers
26k views

Simple port forwarding

I am in a bit of trouble as I am trying to setup a reverse proxy with and a second server. My idea was to get the firewall to forward https to the reverse proxy and port 29418 (gerrit ssh) to the ...
2
votes
2answers
9k views

Desktop sharing - which port to forward?

I'm trying to share my desktop with the integrated tool Desktop Sharing Is there ports to forward on the router, and which ones ?
2
votes
1answer
1k views

How can I open my Meteor app's port to the local network

I'm running a MeteorJS app on localhost:3000. I'd like to allow other computers connected to my network access to view the app by visiting my IP address. Any ideas on how I can do this? EDIT: I'm ...
2
votes
1answer
11k views

How to know actives ssh port forwarding

I have configured in ~/.ssh/config many port forwarding for VNC with different port for each servers. Is there a command which can help me to know which port is forwarding to when I open an SSH ...
2
votes
2answers
23 views

One port over wifi, other use lan

I Am working in a place where my imap for e-mail (using thunderbird) is only open over wifi. The rest will mostly work only over wired (and is quicker anyway). So what is the best option to use my ...
2
votes
2answers
170 views

Forward Internet connection over ssh to remote computer

I'm struggling to access the internet from my remote computer. I'd like to access the remote computer via ssh and have there the internet connection available to install packages etc. It looks like ...
2
votes
0answers
421 views

Port redirection for a specific (dynamic) IP using iptables script

What I want: Incoming TCP and UDP connections on port 900 from the resolving IP address of myip.dyndns.org (dynamic IP) should redirect to port 5050 on the local machine. All other IP addresses ...
2
votes
2answers
10k views

How to test whether port forwarding is working?

I have done port forwarding on my computer but I don't know how to test it. Can anyone help me? I have not done it using iptables but I have done it by following the instructions given in this link.
1
vote
2answers
2k views

Alternative for Xshell.

Do anyone knows an alternative for xshell? I have checked and the alternatives mentioned are putty, openssh etc. But I require it mainly for port forwarding and for that xshell works perfectly. Is ...
1
vote
2answers
12k views

redirect port 80 to 8080 and make it work on local machine

I redirected traffic for port 80 to 8080 on my machine with sudo iptables -A PREROUTING -t nat -p tcp --dport 80 -j REDIRECT --to-port 8080 It works fine for all world except my own machine. I am ...
1
vote
1answer
4k views

Port forward in terminal only

I have an old Ubuntu server (13.04), and want to open a port for this online game server style software for a mate. I need a port open, and to tell it that port (I know how to tell the game that ...
1
vote
1answer
908 views

remote desktop only works locally

here's my problem, I want to be able to remote control my grandparents computer in order to help them without having to drive 20 minutes to get there. however I can only connect to their machine when ...
1
vote
2answers
90 views

Can Port Forwarding to a Windows VM cause Security problems? [closed]

I have question. My physical host is Ubuntu 14.04. I installed Virtualbox with a Windows Server 2012 VM with IIS. I set port forwarding from my Ubuntu host to my vm. If my virtual Windows Server ...
1
vote
1answer
122 views

How can I open ports?

I want to open a port, specifically port 32887 for TCP, used for Ace of Spades (buildnshoot) game. I created a server (I can access it from 127.0.0.1) but my friends can't join me. It looks like a ...
1
vote
3answers
196 views

My website is accessible on my home network but nobody else can access it on the internet

this is my first server I've set up so bare with me if I lack any important details. I have set up my ubuntu server and have my site working on my home network, I am able to see my website on all ...
1
vote
2answers
1k views

Forward port to LXC guest using UFW

I am trying to forward port 2222 on my host 192.168.2.252 to a LXC guest on 10.0.3.11. How do I do it using the UFW-framework? In other words I want to do this but with the ufw-framework. iptables ...
1
vote
1answer
186 views

Port forwarding to local server

I want to be able to access a server which is running on my local machine via the Internet. I setup port forwarding on my router: Public Port Range: 80-80 Target IP Address: 192.168.0.4 Target Port ...
1
vote
1answer
99 views

How to stop the local port forwarding?

I was trying local port forwarding and I hit the following command: ssh -L 8080:www.ubuntuforums.org:80 <host> in order to see what will happen. Now, on my computer, when I hit ...
1
vote
1answer
459 views

Vagrant running on port 80

I used to have my Vagrant running on a Windows machine, SSH listening to port 2222 (host: 2222, guest: 22, by default) and I used to forward port 80 to port 80 (host: 80, guest: 80, so i was able just ...
1
vote
1answer
1k views

IP/PORT forward requests to another server

I have the following listening PORT:IP set up on my UBuntu server. 12.345.67.890:3636 It receives requests perfectly, however, I would now like to forward any requests to that IP:PORT to another ...
1
vote
1answer
251 views

Sharing Ubuntu Desktop on the Internet

At home, I have Ubuntu Linux 10.04 on a spare laptop and a DSL connection that's always on. What are the steps to securely (very important) share this on the web with like DynDNS or something and port ...
1
vote
1answer
1k views

Redirect Sound output to a specific port…Realtek?

I am nearly as much of a noob about Linux/Ubuntu as one can be... currently dual booting side-by-side with Win 7 Pro 64 bit. That being said... system has a 5.1 surround sound card. The main regular ...
1
vote
1answer
286 views

How do I restrict ports to certain users?

Alright, well, what I wanted to do was to allow my users to only be allowed to access a specific port, In example, UserA can only access port 2004 While UserB can only access ports 2009, and 2010 To ...
1
vote
1answer
127 views

How can I make sure my server is connecting through my router?

I have a Ubuntu server with PHP, Apache2 and all of that setup and working on my LAN. Meaning from any computer connected to the same router I can connect to 10.0.0.3 (My server). I have setup my ...
1
vote
0answers
34 views

Port Forward Flask Server in local network

I have a Flask app from flask import Flask app = Flask(__name__) @app.route('/') def index(): return 'Hello, world!' if __name__ == '__main__': app.run(host='0.0.0.0', port=7777, ...
1
vote
0answers
169 views

Why can't I connect to my localhost port from a remote computer?

I'm using link-grammar server to convert sentences into semantic graphs. It provides an API though a port to do the above process. It's configured to works through port 9000 of localhost. I used to ...
1
vote
0answers
48 views

SSH outside the local network

I have Ubuntu 14.04 LTS installed on a Toshiba Satellite L655. I've recently installed an SSH server on the machine and it works fine when connecting to it using 192.168.1.3 but when I try that using ...
1
vote
0answers
170 views

how to open a port under Ipv4 instead of Ipv6

How I can open a port under Ipv4 instead of Ipv6 on ubuntu tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN - tcp 0 0 127.0.1.1:53 ...
1
vote
0answers
136 views

Linux Web Server Dosen't always allow external connections

I have been having this problem with where it will allow external connections for about 30 minutes but then doesn't allow any? I have port forwarded and all that. I turned it on last night and I ...