The tag has no wiki summary.

learn more… | top users | synonyms

22
votes
2answers
23k 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 ...
10
votes
1answer
18k 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
2answers
11k 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 ...
5
votes
1answer
99 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
2answers
382 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
3answers
933 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
0answers
260 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
2answers
8k 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 ...
3
votes
5answers
18k 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 ...
3
votes
1answer
2k 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
419 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
3k 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 ...
3
votes
1answer
4k 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?
3
votes
1answer
178 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?
3
votes
2answers
131 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 ...
2
votes
1answer
201 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 ...
2
votes
2answers
7k 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
6k views

Local port forwarding

I'm trying to use eboard to connect to the FICS servers (http://www.freechess.org), but it fails because port 5000 is blocked (company firewall). However, I can connect to the server through the ...
2
votes
1answer
25 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 ...
2
votes
3answers
901 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 ...
2
votes
1answer
6k 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
0answers
410 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
2answers
5k 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
1answer
2k 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
2answers
890 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
1answer
671 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
1answer
279 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
168 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

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 ...
1
vote
1answer
790 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
172 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
122 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
1answer
73 views

Ubuntu Server Port 80 not reachable/closed

I am running Ubuntu server 12.04 with Apache2. My port 80 is not reachable and closed. Any idea how can I open it so I can access to my web admin? I noticed that port 80 is reachable under LAN, but ...
1
vote
0answers
384 views

How to find out what is blocking a port

I have 3 machines: Machine A - local network Machine B - local network Machine C - external network Local network has a dynamic IP and Dyndns is set up to forward it. I have ssh on Machine B ...
1
vote
1answer
747 views

How to change uTorrent's port from 8080 to another one?

I'm new to Ubuntu and still learning how to use it. Recently, I've been trying to install uTorrent, which I already was able to do so, but I need the port 8080 free to use run tomcat/glassfish and on ...
0
votes
4answers
2k views

Configuring my router

I need to configure my router so I can access the website I have running on my computer from the outside world. How can I do this? I think I need to open the port 80 on the router, which gets ...
0
votes
1answer
499 views

Can't open a port

I need to run an app on my computer which connects to local port 49100. So everything runs on one computer. I tried adding rules to gufw, firestarter, manually: sudo iptables -A INPUT -p tcp --dport ...
0
votes
3answers
482 views

Servers running from chrooted Ubuntu on HP TouchPad?

The problem: servers appear to be broken inside my Ubuntu chroot. No matter what kind of server I try to run, they all seem unresponsive (VLC server won't respond to client, mkRemote doesn't move the ...
0
votes
1answer
36 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 ...
0
votes
1answer
178 views

Port forwarding through shared internet connection

I have shared my internet connection via Ethernet with another computer, using the shared option under Ethernet in Network settings. I believe this is working but I can't know for sure as I am unable ...
0
votes
3answers
6k 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 ...
0
votes
1answer
178 views

Stopping forwarding a dynamic port mid session

When connecting to a server, I can open a port forward midway though by Enter ~C -D 8080 When it comes to closing that forward though im a bit lost The docs say It also allows the ...
0
votes
1answer
296 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 ...
0
votes
1answer
669 views

MySQL port forwarding

I am trying to help a colleague to connect to my MySQL server. However the situation is a bit special, and here's why (let's call him person A and me, person B): Person A has a PC, on which he has a ...
0
votes
1answer
1k views

How to run a command as root at an Ubuntu server start-up?

I use the following simple solution for port forwarding: sudo su nohup redir --lport 80 --caddr 192.168.1.2 --cport 80 & It works this way and doesn't work any other (like sudo nohup... for ...
0
votes
1answer
134 views

Ports misbehaving - Closed but they are opened

I have an interesting problem for you. I have a few ports that I opened up. On my router and I allowed then on my firewall too with sudo ufw allow 30999. But still the application which would use ...
0
votes
1answer
500 views

Connect to MySQL on remote server from inside python script (DB API)

Very recently I have started to write python scripts that need to connect few databases on mySQL server. The problem is that when I work from office my script works fine but running a script from my ...
0
votes
1answer
30 views

Redirect requests to my external IP/port to a internal IP/port?

I have a dedicated server running KVM virtualization with n public IP addresses dedicated to n-1 web-facing virtual machines. Now I'd like to set up some web-facing VM's that don't have a dedicated ...
0
votes
0answers
29 views

how to allow port 80 reachable by externet network?

I had installed a CRM in my LAN server, I can access to the server within LAN without any issue. Now I wish to open it to able access through outside of the network. So how I do my configurations is ...
0
votes
0answers
22 views

How to forward proxy ports on ubuntu

Pleas help me friends, i want to forward a local-host port from command line.i want to forward 127.0.0.1:8085 to 127.0.0.1:9666. i searched it everywhere but,i haven't proper answer yet.