port-forwarding on firewall or via SSH

learn more… | top users | synonyms (1)

1
vote
1answer
77 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
274 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
682 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
224 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
66 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
232 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
311 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
111 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 ...
2
votes
2answers
9k 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
132 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
76 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
8k 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
530 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
75 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
222 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
152 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
205 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
482 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
709 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
81 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
105 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
514 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
404 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
983 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
228 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
73 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
685 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
248 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
380 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
190 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 ...
0
votes
2answers
5k 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
399 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
55 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
92 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 ...
0
votes
2answers
2k views

How can i forward the http and ssh port to my internal server using iptables

I do not have the router so i make the Linux system into router having centos 6.4 for forwarding the Public network traffic to my local LAN.It has the two NIC card. one for public ip (eth1) and ...
1
vote
1answer
2k 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
2answers
162 views

How to spoof an IP for application that needs this particular IP?

In general, such a problem, there is a system RHEL 6.4 Server with a pair of network interfaces combined into one by bonding. This system IP address: 10.7.7.1. Next on the system running an ...
1
vote
1answer
850 views

iptables port forwarding to vmware workstation guests on NAT vmnet [closed]

Try as I might, I can't get this to work now for 2 days. Your move, internet. I want iptables to transparently forward (localhost) 192.168.1.40:2222 to 192.168.2.22:22 and I don't want ...
3
votes
1answer
767 views

Port forwarding stops abruptly - Windows Server 2012

You can port-forward in windows, like so, this is explained in this article. netsh interface portproxy add v4tov4 listenport=80 listenaddress=192.168.1.111 connectport=80 connectaddress=192.168.0.33 ...
-2
votes
1answer
318 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 ...
0
votes
2answers
91 views

ip forwarding using iptables

I have two interface in my linux machine , one is configured for public ip 110.111.250.241 - eth0, another is for LAN 10.42.43.1. I have a client machine 10.42.43.174 with apache web server. I want ...
-1
votes
1answer
59 views

How to proxy to a web server on a node that can make outgoing connections but has no accessible IP, without root?

Not sure if this is the right StackExchange site to ask (I mainly frequent SO), but since you guys are server admin experts hopefully you'll find it relevant! Some context: I'm currently trying to ...
0
votes
1answer
185 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
2answers
2k views

Iptables port forwarding on AWS EC2

I have AWS VPC with 1 public subnet and 1 private subnet. I have my web-server running on port 80 in private subnet. I want this webserver be accessible form public internet Yes, The VPC security ...
2
votes
1answer
333 views

iptables port forwarding only for a certain range of IP

I'm using LXC containers. Each one of my containers have an ip address in 10.0.3.0/24. I want the packets that come into my host on a certain port to be redirected to a container so I use this rule: ...