0
votes
2answers
89 views

Portforwarding with IPTABLES and Remote IP detection

I was able to forward 80 port from my primary server 192.168.90.1 to the second one 192.168.90.2 with IPTABLES The primary server has a public address X.X.X.X so I forwarded X.X.X.X:80 -> ...
1
vote
1answer
516 views

Assign ipv6 address to KVM guests on bridge mode

System: CentOS 6.5 Network: Bridge on br0 IPv6: ISP Native /64 block. IPv4: ISP address (not internal LAN) Purpose: To assign IPv6 only to guests (manually), I don't want ipv4 address to be ...
0
votes
1answer
53 views

Centos port redirection

I would like to forward my port 22 to another machine. So the whole ssh will be handled by another machine. This is what I've tried: sudo /sbin/iptables -t nat -A PREROUTING -p tcp --dport 22 -j ...
0
votes
1answer
63 views

iptables port forwarding troubleshooting

I'm trying to forward connections on port 18600 to port 9980. I have this in /etc/sysconfig/iptables: # Generated by iptables-save v1.3.5 on Mon Oct 21 18:30:43 2013 *nat :PREROUTING ACCEPT [2:280] ...
0
votes
3answers
137 views

Accessing a web server behind router, when port forwarding is not an option. Like localtunnel but for multiple sites

The situation I'm running a web server (CentOS on VMware, multiple virtualhosts) on a development machine and I'd like to give access to clients to view some sites without me having to upload them to ...
0
votes
2answers
119 views

Opening tomcat server to the public

I have a server that is pingable from the public internet. I've just installed tomcat on 8080 port on this server. From the server itself I can see the main page come up when accessing ...
1
vote
0answers
65 views

Pass / forward 8080 port on server with masquerade

There is server machine wich is connected to ISP only with modem, no router. Server got apache on 80port. Now on other ethernet card in my server i have cable going to my router, router serve ...
0
votes
1answer
296 views

IP Tables Port Forwarding

I have 4 servers behind a load balancer, but only 1 of them is running a particular service. I want three of them to forward requests to the fourth, based on the port. So, at present all 4 are running ...
0
votes
1answer
238 views

Any free service to redirect a port to some address? [closed]

I have a server where I would need to connect, but I can't do it on the standard method due to the network settings, so I was guessing if it exists some service or daemon that could bind the SSH port ...
1
vote
1answer
800 views

Problems forwarding port 3306 on iptables with CentOS

Im trying to add a forward to the mysql server at 200.58.126.52 to allow the access from 200.58.125.39, and Im using the following rules (its my whole iptables of the VPS of my hosting). I can connect ...
0
votes
4answers
676 views

Port Forwarding between two CentOS servers

I have two servers (Both running CentOS 5.5 64-Bit) One server is connected to a public network and has a public IP address which I can use to SSH into it remotely. The other server is connected to ...
5
votes
2answers
8k views

iptables: forward port 80 to port 8080

How can I port-forward port 80 internally to port 8080? My goal is to have a web app server (Glassfish) running on port 8080, but for the outside world to access it normally on port 80. This is ...
3
votes
2answers
2k views

Iptables port forwarding on OpenVZ CEntOS container

I am trying to setup a simple port forwarding on an OpenVZ container that is running CentOS 5.5. When I run a command I get errors. iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT ...
0
votes
1answer
448 views

How do you relay HTTP Port 80 Connections to Tomcat Port 8080?

I am working with a CentOS VPS and would like to achieve this without running tomcat as root.
1
vote
2answers
1k views

IPv6 forwarding not working

I have a server in a datacenter with native IPv6 connectivity. (I have a /48 block at my disposal.) I want to use this server as a ipv6 tunnel server over openvpn, but I can't get it to work ...