0
votes
1answer
504 views

iptables port forwarding (prerouting port 80) and firewall not working together

I have read many articles and answers on this topic and I have been in discussion with Linode support, but no one seems to be able to answer my exact problem. Seems easy - I'd like to use a iptables ...
0
votes
1answer
73 views

ubuntu subdomain port forwarding

I have a ubuntu server with two docker containers. The first one is running lamp and the second container is running a blog. currently the blog is accessible on mydomain.com:82 (mydomain.com points ...
1
vote
1answer
69 views

Automatically ask router for port redirection on ubuntu

Is there a way to use uPnp or something to automatically ask a router/firewall to redirect data coming from outside to a machine running ubuntu? Here's the deal, I'm supposed to prepare a certain ...
1
vote
1answer
146 views

iptables DNAT port forward to another machine on LAN

I am trying to implement iptables forwarding rules in order to internally redirect packets coming through a specific port. My machine is running under the distribution Ubuntu Server 12.04.3, with UFW ...
-2
votes
1answer
194 views

Ubuntu Server / IpTables / Port Forwarding / NAT

I got referred here from StackOverflow. I'm using IpTables to forward an incoming port on one server to an external server (not on LAN) and the same port. The problem I'm having is that I have to use ...
1
vote
1answer
38 views

Proper postgres port forwarding on linux/ubuntu inside AWS VPC

At Amazon AWS we have VPC, where one node has public IP and others - private. Instance with public IP is something like balancer. On every node we have Ubuntu LTS. One of the private nodes is ...
-3
votes
4answers
736 views

How to redirect traffic from port 80 to port 8080

Currently, in a local system there is Apache Tomcat on port 8080 and Apache 2 on port 80. I'm unable to start both the servers at the same time. We need to stop apache2 to have tomcat running in the ...
0
votes
1answer
164 views

Forwarding url requests to different ports

For development I run a few different servers (multiple instances of Tomcat and nodejs) to simulate some applications that work together. Each one runs on a different port and responds to different ...
-1
votes
2answers
121 views

How do I determine which program is rerouting traffic on port 80?

A while back, I wanted to redirect all port 80 traffic on an Ubuntu server to port 3000 for a Rails app. Instead of just using iptables, I googled around and found some other way to do it (I can't ...
-2
votes
1answer
283 views

Port forwarding to expose home web server [closed]

I would like to setup a personal home server, I bought a mac mini and I installed Ubuntu server on a Virtualbox machine using bridge adapter. All is fine, I can type the ip of the VM in any browser of ...
4
votes
2answers
816 views

Cannot access Ubuntu server behind Huawei Router with port forwarding

I have an Ubuntu 12.10 server installed and have a static IP from my ISP. Pinging the IP results in success. I also have a Huawei Echo-Life HG-521 modem. I setup port forwarding with instruction from ...
1
vote
1answer
146 views

Port forwarding on Ubuntu - what are the minimum and maximum port numbers to use?

I'm using rinetd on Ubuntu as a port forwarding server. I'm running this on EC2. I need to know which ports are available for me to use for port forwarding. I know that the privileged ports are 0 - ...
-2
votes
1answer
226 views

Loadbalancing with Ubuntu 12.04 [closed]

I am looking to create a load balancing server. Essentially here is what I want to do, I have a public ip address, lets say 1.1.1.1 I have a second public ip address, lets say 2.2.2.2 Here is what I ...
1
vote
1answer
318 views

Can't get port forwarding to work on Ubuntu

I'm using my server as NAT/router, which works well. But now I'm trying to forward port 3478, which I can't get to work. eth0 = public interface eth1 = private network $ cat ...
1
vote
3answers
977 views

How to open UDP port 7777 from iptables/firewall on Ubuntu 11.04

I need to enable the port 7777 from my VPS which runs Ubuntu 11.04, I have added rules from the iptables which is listed here, Chain INPUT (policy ACCEPT) target prot opt source ...
0
votes
1answer
314 views

Proftpd port-forwarding failing

I'm setting up proftpd on an ec2 Instance running Ubuntu 10.04 I've gone through all the forums and tried every suggestion but still can't seem to get it working. I know the problem is with the ...
2
votes
1answer
147 views

Port forwarding

I have a local machine which has SSH access to Server1. Server1 has access to Server2 with Tomcat running on port 5050. How can I can connect to that Tomcat on port 5050 on my local machine in the ...
0
votes
2answers
284 views

Is there a way to automatically forward ports over SSH upon a user successfully logging in?

I've looked around Google for a solution to this problem and I may be horribly over-complicating it. All I'm looking for is a way to automatically forward certain ports as soon as a user logs in. ...
2
votes
2answers
408 views

Issue NATing server private interface to loopback (for MySQL)

I'm trying to NAT traffic sent to the server's private interface to the loopback (because MySQL bind-address is on 127.0.0.1 and can't be changed but I still need to reach it via the private ...
0
votes
1answer
325 views

Internal portforwarding

I am currently working on a webapplication which uses node.js and socket.io. Socket.io need to start a small tcp on port 843 for delivering crossdomain.xml's for FlashPlayers socket connections. As ...
2
votes
1answer
687 views

Nginx url mapping

Right now I have my website running on tomcat, www.domain:11000/projectName, I am trying to map when the user enters www.domain:10000 (would do port 80 but my ISP blocks port 80 so I use port ...
0
votes
2answers
575 views

Port Forwarding failing only to Ubuntu servers from Draytek router

I know this is a kinda unusal question, but Draytek support (..which is very eager to solve the issue) seems to reach its limits. Scenario: Draytek Vigor Multiwan router with current firmware. ...
1
vote
2answers
546 views

Restrict access to specific ports

I launched keep launching EC2 instances and for some reason i keep getting this email and then the server amazon shuts the server down...How do i restrict access to the port in question... here is my ...
2
votes
1answer
2k views

Port Forwarding with iptables is not working

I´m using an Ubuntu Server Box (10.04) to route my network to internet. This box has 2 ethernet cards (eth0 for internet connection, eth1 for lan - 192.168.1.1) and I would like to forward port 80 to ...
0
votes
1answer
551 views

Nginx can't be accessed from outside?

I got a server set up. It's perfect from 127.0.0.1, but if I try from my "real" ip it loads forever, and then chrome says "Can't connect." Basically it does not allow external access. I'm behind a ...
0
votes
2answers
464 views

serial port forwarding/virtualisation?

I have a python script(UBUNTU) reading and writing info from local serial port.It works fine! what if instead of using the local serial port , i want to use another machine serial port, remotely ? ...
1
vote
2answers
527 views

ubuntu server refusing connections via port forwarding

Getting some really weird behavior from our Ubuntu server... it's behind a Verizon router firewall with port forwarding (port 8080 to port 80 on the server), and we've been having issues accessing it ...
0
votes
2answers
946 views

how do I create a bidirectional bridge using iptables

Setup: I have a samsung LCD TV that is connected via eth0 to a T41 Thinkpad running Ubuntu 10.10 which is wirelessly connected to the home router. I am trying to get Samsung's remote control app ...
0
votes
1answer
1k views

How can I open a port in linux [UBUNTU] for all ip addresses?

I am trying to forward a remote port from my server to my development machine. I have tried opening the port via iptables, but it is open only for 127.0.0.1. If I login to the server using ssh and ...
0
votes
1answer
47 views

No forward accessible form outside

I've setup a UNIX ubuntu VM with VMWare its running IRC, HTTP, FTP & MySQL, ports are forwarded in the modemrouter (its my home network its running on) but still no result. Any Idea hwo to fix ...
9
votes
3answers
12k views

Forwarding ports to guests in libvirt / KVM

How can I forward ports on a server running libvirt/KVM to specified ports on VM's, when using NAT? For example, the host has a public IP of 1.2.3.4. I want to forward port 80 to 10.0.0.1 and port 22 ...
0
votes
2answers
125 views

Apache local verses external (domain)

I have an Apache server running on Ubuntu server 10, using Passenger for Ruby on Rails. I have configured my site under the sites-enabled directory of Apache and can hit the server with an internal ...
1
vote
2answers
8k views

Serial port forwarding over TCP/IP (linux server)

I am looking for a way to use a remote serial port on a linux machine over LAN. The machine is running ubuntu 10.04 and I have a arduino board connected to it, that I would like to be able to ...
3
votes
2answers
2k views

Ubuntu Server Port Forwarding the easy way?

I have an Ubuntu server (10.04) running nat and I understand how to forward ports using iptables which works fine and is only mildly painful. What is "the easy way" of doing this? Is there some nice ...
1
vote
1answer
79 views

iptables not writing rules

im running these two rules as root, but when doing a iptables -L it dosent show any rules, any one have an idea of what the problem can be? iptables -A PREROUTING -t nat -i eth0 -p tcp --dport 80 ...
4
votes
1answer
4k views

port to subdomain

I have installed Hudson using apt-get, and the Hudson server is available on example.com:8080. For example.com I use standard port *:80 and some virtual hosts set up this way: # ...
16
votes
6answers
16k views

Why can't I access my CouchDB instance externally on Ubuntu 9.04 server?

Update: I got it working now. Jim Zajkowski's answer helped me detect that my /etc/init.d/couchdb reboot calls weren't actually rebooting the instance. After I manually killed the CouchDB processes ...
4
votes
2answers
2k views

Port forwarding to virtual machine

I'm running an http(zope) server on Ubuntu 8.04 server, in a Virtualbox machine, on an Ubuntu 9.04 box. The guest system accesses network over NAT. How can I forward the host machine's port 80 to the ...