port-forwarding on firewall or via SSH

learn more… | top users | synonyms (1)

0
votes
1answer
1k views

Cisco ASA: port forwarding to different IP depending on client IP/subnet outside

I have Cisco ASA 8.2(5) and would like to configure port forwarding. Cisco ASA has 2 interfaces: outside with IP 192.168.57.2 inside with IP 192.168.1.1 I have two subnets reachable through ...
0
votes
0answers
353 views

Iptables - Port forwarding has no effect

I have a dedicated server with a single public IP (Say 1.2.3.4) running CentOS. Via virt-manager, I added a virtual machine, running CentOS as well. They are connected through a virtual network: ...
0
votes
1answer
3k views

Port Forwarding on Cisco Router

I'm a Cisco newbie, have the 1841, with two ethernet interfaces: interface FastEthernet0/0: Internal Desired destination IP: 186.67.181.140 interface FastEthernet0/1: External World IP ...
0
votes
0answers
32 views

Is it necessary to open all used ports when using one Node.JS application to route from port 80 to apps on different ones?

I'm working with an Ubuntu 12.04 LTS, 64 Bit server there I have used the following commands to send all http request on port 80 to port 8080 Commands: cat /proc/sys/net/ipv4/ip_forward #returns 1 ...
0
votes
1answer
605 views

Can access server using both LAN & WAN IP from LAN, but no access outside of LAN

I have a server running ArchLinux at home called SERVER. Currently, I can gain access to this machine via SSH by issuing ssh user@SERVER from another computer that is connected on the same LAN. It ...
0
votes
0answers
91 views

Listening “through” GRE Tunnel

Currently I'm looking to learn about using GRE Tunnels and I have the following scheme: Server1 (200.1.2.3) ----> Server2 (190.1.2.3) Both servers have public IPs Then I've setup a GRE Tunnel with ...
2
votes
4answers
397 views

Prevent closing of SSH Local Port Forwarding

I am running various services on an Ubuntu virtual machine running on Azure, and I would like to access some of the services remotely, even though the ports are not open publicly. To do so I have set ...
3
votes
0answers
23 views

restrict ssh reverse portforwarding per user [duplicate]

I have a server that needs to accept incoming ssh connections with portforwarding. The incoming clients request a port forward from a port on the server to a port locally. They authenticate using a ...
0
votes
1answer
661 views

Cisco 887VA Port Forwarding Not Working

I have a Cisco 887VA connected to our BT Business Broadband line. We also have another modem on a seperate connection which also handles our DHCP. The Cisco is plugged into our network switch, as is ...
2
votes
4answers
6k views

SSH remote port forwarding failed

Follow-Up: It looks like the rapid series of disconnects coinciding with a few months of running each server is probably coincidental and just served to reveal the actual problem. The reason it ...
1
vote
0answers
127 views

Weird socket behavior in VirtualBox (NAT + PAT)?

I have a Linux VM with NAT and PAT configured. Let's say ports 2000 and 2001 are forwarded to the VM. These ports are also configured for external access on a device such as a router using a domain ...
1
vote
1answer
81 views

Redirection of ports based on domain name via pf

We have a public facing IP on a machine (machine1) running pf firewall. We have multiple machines behind that firewall in a lan. On machine2 in the lan we have a service running on port 443. To make ...
1
vote
2answers
306 views

Give internal access to external client

I am newbie in the networking issues. I got a question for which I don’t know how to solve. I have my internal network that has a fixed IP (only accessed by VPN) and I have a server where I put some ...
0
votes
1answer
708 views

Linux Port Forwarding to different IPs

this is my scenario: Netbook (192.168.1.2) ===> (192.168.1.1) Linux Server (192.168.0.4) ===> NAS (192.168.0.2) Netbook (192.168.1.2) ===> (192.168.1.1) Linux Server (192.168.0.4) ===> Router ...
-2
votes
3answers
263 views

ISP acting as NAT [closed]

I need to host a Server on Public IP in france. I heard from some where that some ISPs will act as NAT and will block all inbound connections. Do anyone have any information on such service providers? ...
0
votes
0answers
71 views

Linux: map external port 1001 to ttyUSB0

I have connected a sensor with my Linux machine on serial port. The port it shows in the device list is ttyUSB0. It works fine from within the machine. Now I need to talk to the sensor from another ...
0
votes
2answers
246 views

Forward port to virtualbox VM without internet access

I want to run Windows VM on my Windows Server and I want to access one port of this VM I can configure VM networking as NAT with port forwarding, this works fine. But I want the machine to do not ...
2
votes
1answer
3k views

Port 80 redirects to CPanel's /cgi-sys/defaultwebpage.cgi even after forwarding

I recently took over the management of a website using a pure Tomcat 6 server (i.e. no combination Tomcat+Apache) with CPanel installed, which is only accessible on port 8088 (i.e. the main page URL ...
0
votes
1answer
335 views

Apache2 reverse proxy connections staying persistent, filling ssh channels

I have a webserver (Amazon Linux EC2 instance running Apache2), let's call it "server A", on which I have set up reverse proxy using: # (All the appropriate modules are loaded higher up in the conf ...
1
vote
1answer
112 views

Something (but not iptables) mysteriously redirects network traffic - how to diagnose?

Summary There is a virtualbox host (1.1.1.5) and a routed guest (1.1.1.6). Something redirects any traffic on port 25 with the guest, whether ingoing or outgoing, to 1.1.1.5 port 2525 and I cannot ...
3
votes
2answers
12k views

How to do the port forwarding from one ip to another ip in same network?

I would like do some NAT in iptables. So that, all the packets coming to 192.168.12.87 and port 80 will be forwarded to 192.168.12.77 port 80. How to do this with iptables? Or Any other ways to ...
-1
votes
1answer
139 views

Linux 25 port routing (tunneling/forwarding)

I have: 1) Centos server 1 with postfic/dovecot mail servers IP1 45.45.45.45 (DNS: host1.com.ua) server 1 cannot make outgoing request to 25 port because Internet Service Provider block it! ...
-1
votes
2answers
79 views

Forward port and protocol from Apache subdomain? [closed]

I have never heavily configured my Apache setup at all. I only use Apache to host an ownCloud and Gitlab server, but Apache's taking the two most unblocked ports: 443 and 80. I want to use Apache to ...
1
vote
1answer
9k 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 ...
1
vote
4answers
587 views

Bridge between two ports on the same network interface on a Linux server

I need to build a bridge between two network ports on a server so everything that arrives on port A goes to port B and everything that arrives on port B goes to port A. I have two devices (dA and dB) ...
1
vote
1answer
76 views

DNS Record or Port Mapping

All, I have a web server sitting inside of a production network. This web server, tdxs3, has been assigned an external IP address of 96.2.192.139 which DNS should point to it's internal IP address of ...
2
votes
1answer
237 views

sshd not responding to port forwarded connection request

I'm setting up port forwarding on a SonicWall NSA 220 router, for port 22. It appears that the router is forwarding TCP packets as it should. However, Wireshark running on the server shows that my ...
0
votes
1answer
157 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 ...
-2
votes
1answer
215 views

Port Forwarding - Two Gateways Routing - One Network Card [closed]

I have two ports forwarding to my local machine from two different gateways (adsl routers). However, port forwarding only seems to work with whatever is set as my default gateway. Presumably, because ...
-3
votes
2answers
513 views

Access to vCenter Server (in private network) from the Internet through vSphere Client [closed]

I have a vCenter server as a VM on my DPER710 in my internal network. DPE is connected to switch, switch is connected to JSRX, JSRX is connected to my ISP. My vCenter Server is installed on Windows ...
0
votes
1answer
26 views

Using separated interface for virtualbox machine

I have a server connected to two network interfaces (via two different Internet services providers). The server runs Ubuntu OS. I want to use exactly one of the interfaces only for a virtualbox ...
1
vote
1answer
759 views

Port forwarding not working on zentyal

I have tried to setup port forwarding from my zentyal server (port 5000) to my synology NAS (port 5000) too. Here is the result in terms of iptables rules : Chain fredirects (1 references) target ...
0
votes
1answer
82 views

Port Forwarding From Second Router

I have the following setup at work, of which I'm impromptu in charge of: Internet(Modem) <-> Smoothwall (firewall/dhcp/nat) <-> Servers/PCs I need to be able to add a second broadband line in, ...
1
vote
1answer
118 views

NFSv4 through portforward

I would like to reach my NFSv4 servers though port forward. The big plan will be a cluster of NFSv4 servers loadbalanced with HAProxy running on localhost. But this isn't really important now. At the ...
-1
votes
1answer
557 views

Shorewall forward 443 port to two servers [closed]

I have a question/problem. I have two webservers. One is a webmail and the other one is a standard webserver. I need to forward 443 port to both of them. I have added proxyarp to the shorewall and ...
0
votes
2answers
433 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
votes
3answers
1k views

Running a websocket server and a http server on the same server

I am using nginx to to serve an instance of PHP application, and also at the same time running a Ratchet app to listen to a websocket connection. Problem is, both of these instance are using the same ...
1
vote
2answers
1k views

SSH to server port forwarding through router

Hi so we have multiple machines on our network running ssh on port 22, because of this we set up port forwarding in the router as 22->22 for one of the machines and 222->22 on the other machine. The ...
3
votes
1answer
257 views

SSH port forwarding to a host that needs to contact a third named host to access MySQL

We customize and support standard web applications that our customers host on managed servers from different web hosters. Usually, the application consists of a web application in PHP and a database ...
-2
votes
3answers
77 views

How do I open a port to the world in a security group in EC2?

I tried to open a port to an AWS EC2 Windows instance, for example, port 12888. I created a new security rule in the security group, added the port 12888 in the port range but what shall I put in the ...
-1
votes
2answers
715 views

Creating subdomain for Webmin on Amazon Route 53 / EC2

I have setup / installed webmin on Amazon Ec2 instance running linux. After creating user with login credential and adding port 10000 in security group, I am able to login via ...
1
vote
1answer
282 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
399 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 ...
0
votes
1answer
201 views

Port forwarding doesn't work internally

I've got a machine configured to run a webserver on port 8080. That's all the machine is required to do, but it is possible that the website will be visited by the machine it's self (inside the ...
2
votes
2answers
6k views

How to set up port forwarding on Amazon EC2

I have a web application running on Amazon EC2. It listens on port 9898. I can access it by entering the ip address and port number. e.g 1.2.3.4:9898 However, what I'd really like to be able to do ...
0
votes
2answers
446 views

Stunnel multiple ports through the same Port

I'm looking for some help regarding an stunnel configuration I'm working on. Basically I want to have a DMZ machine accept inbound connections to port 80 and 110, and then forward them through my ...
2
votes
2answers
2k views

iptables packet forwarding to one of two gateways depending on origin

Given the following installation: old router 192.168.1.1 with NAT forward of tcp port 80 to 192.168.1.10:80 new router 192.168.1.2 with NAT forward of tcp port 80 to 192.168.1.10:80 web ...
-1
votes
1answer
32 views

steps to setup portforwarding [closed]

I have a java process running on a server[SlaveServer]. I like to attach java debugger on a certain port say 19999.The problem is the server isnt directly reachable from my local pc . Below is how i ...
0
votes
2answers
57 views

IIS and Apache hosting together

I know similar questions have been asked already, but mines a little more unique. I work for an internet/networking company. We build and host websites, as well as provide internet and network setups ...
0
votes
3answers
102 views

Can I set up port forwarding to emulate not just a port but another IP address?

I am running a proprietary Windows application which functions like a server. You install the program, and then it broadcasts itself over port 13083. The program is web-based, so it's accessed ...