port-forwarding on firewall or via SSH

learn more… | top users | synonyms (1)

1
vote
1answer
70 views

Transparently forward local port to remote server

I have StatsD daemon running on a remote server (x.x.x.x) at 8125. I would like to forward 127.0.0.1:8125 to x.x.x.x:8125. I have already tried running the following on localhost echo 1 > ...
-2
votes
1answer
61 views

Port 5005 on my VPS is listening, but closed

I have a program running on port 5005, and the port is listening and accessible via localhost: znc-admin:~/.znc$ netstat -tulpn | grep 5005 (Not all processes could be identified, non-owned process ...
0
votes
2answers
64 views

Port forward with iptables

I got lo (127.0.0.1) and eth0 (172.17.0.8). I want to redirect packets that land on 127.0.0.1:80 to 172.17.42.1:80 (route from eth0). I tried iptables -t nat -A OUTPUT -p tcp --dport 80 -d 127.0.0.1 ...
1
vote
1answer
396 views

My iptable rules do not allow VPN connections

I have installed OpenVPN on my Archlinux server and modified my iptable rules to allow incoming traffic on port 1194 and forward it to the tun0 interface. When I disable/stop the iptables, the OpenVPN ...
0
votes
1answer
56 views

How to close specific port with SuSEfirewall2?

I'm opening specific ports in a SuSE 11 server to do ssh forwarding. After I finish, how do I close only the ports that I opened? I tried SuSEfirewall2 close EXT TCP 4050 but it seems to close ...
-1
votes
1answer
88 views

Very weird port forward on Ubuntu

I have a droplet running Ubuntu 13 on Digital Ocean. On it I have a node server running on port 5000. From the outside I can access that server on port 80, but I don't know what's forwarding the ...
-1
votes
1answer
131 views

Forward incoming packets from port 25565 to natted internal client? IPTables [closed]

I have been learning to use iptables recently and i made a small nat network in virtualbox. I have a Debian server Natting for the internal clients. One of the internal clients is hosting a minecraft ...
0
votes
0answers
91 views

Ubuntu as IPSec L2TP client with NAT traversal

Goog afternoon, I have a corporate local network located behind NAT. There is another NAT in this local network for the corprorate server on Ubunit 12.04. So if clients connect to that server ...
0
votes
3answers
168 views

How to forward port traffic to public IP in Win2K8

I need to forward traffic coming in to a server from a public IP over a specific port (port 7575) to another public IP address on (preferably) the same port. I am using Windows Server 2008 R2 on the ...
0
votes
1answer
57 views

Dynamic port forwarding reports connection failed and timeout

I'm running a benchmark based on selenium to send requests to an application server. Since the application server is deployed on a private cloud, I'm not able to connect to the server from the ...
-5
votes
1answer
1k views

Can't ping my static IP address from external network [closed]

I have an ubuntu server and a static IP address. When I try to ping my IP static ip from my internal network it work but, when I try from external link remote ping I haven't no response!! #cat ...
0
votes
0answers
105 views

iptables - dropping specific established connections after X hours

Is there a way with iptables to drop specific established connections after X hours? We have an application with limited connection support, and occasionally we see some tcp sessions that shouldn't ...
0
votes
1answer
449 views

Setting up iptables for port forwarding of incoming requests over a OpenVPN Client on a Router

I have a Router that runs DD-WRT and a OpenVPN Client that connects and redirects every request over the VPN. My VPN provider supports port forwards, the problem is my router does not forward ...
1
vote
2answers
454 views

SSH tunnel (port forwarding) slow down a lot my mysql queries

I'm currently testing some configurations with vagrant (virtual box) to connect 2 servers (VM currently) together throw an SSH tunnel. The goal being to securely connect my web app to the database. ...
0
votes
2answers
114 views

Forwarding HTTPs requests to another webserver

I have an Ubuntu 12.04 Server connected to two subnets. Eth0 is 20.20.20.1, it hosts an Apache Web Server on port 80. Eth1 is dynamic IP address in 10.10.10.0 subnet. This server is not a gateway ...
0
votes
1answer
49 views

Keep source port for outgoing packets

I have 2 interfaces eth0(192.168.0.1) and eth1(10.1.1.15). And I do nat for all packets in this way. iptables -t nat -A POSTROUTING -s 192.168.0.0/24 -j MASQUERADE Now I want to keep source port ...
0
votes
1answer
44 views

What can explain my port forwarding not working?

I am trying to forward port 443 to a different server using iptables. What can explain this not working? I've enabled net.ipv4.ip_forward. This is the code I use. I have no other iptables rules: ...
0
votes
1answer
224 views

iptables on Linux router does not forward DHCP between two LANs

I have an internal network as follows: A Linux system that serves as router, using iptables, with two network cards A client machine A DHCP Server The Router's eth1 is on the same LAN as the ...
0
votes
0answers
187 views

Linux router with multiple gateways and port forwarding

I want to use a Linux VM to act as several routers at once. I have multiple servers hosting different services and dedicated public IP for each of them. Super simplified setup example: Ubuntu ...
0
votes
0answers
100 views

Reroute outgoing port through other server

I want to run a xmpp-server on another IP than the A-record of the domain points to. +--------+ +--------+ +--------------+ | xmpp | -----> | web | -----> | internet | | ...
0
votes
1answer
140 views

ssh tunneling not working due to strict iptables

my iptables are set so that I can only allow ssh connections. I tried ssh tunneling and I can connect to my sever, but after when I try using my server as a proxy on firefox, pages try to load ...
0
votes
2answers
162 views

Remote port forwarding through EC2 not working, though address is in use

I have a remote machine running a server which I'd like access to locally. However, I can only SSH into the machine, not use any other ports. I booted up an Amazon EC2 instances and opened all its ...
1
vote
1answer
76 views

It it safe to forward an ephemeral port to an internal host in a NAT environment?

Short story, I want to expose SSH from a box in a NATed environment to the internet but would prefer to do it on a high (in the ephemeral range) port. Is it safe to port forward an ephemeral port to ...
0
votes
2answers
722 views

How to redirect smtp port from 25 on one ip to 2525 on another external mail.domain.com? [closed]

How to redirect smtp port from 25 on one ip to port 2525 on another external mail.domain.com? Example: I have ip as xxx.xx.xx.xxx and listening port as 25 for smtp, now I want to forward or redirect ...
1
vote
1answer
246 views

Redirect ssh trafic for one user through another port

Is it possible to have a configuration like this: A server which listen ssh connections on port 22 as usual For one user (let's say git) redirect all the traffic through another port (2222 for ...
1
vote
0answers
34 views

Use TURN for remote port forwarding

I want to forward some ports on a machine behind a NAT to a publicly accessible server. I can do this via SSH (and doing so already successfully), however SSH encrypts all the traffic which in my case ...
0
votes
0answers
22 views

Spooling error trying to print through WinXP to Win7 from Linux

I recently posted another post here about not being able to print from linux to win7 but found a solution that i might be able to work with. What we have is Fedora Core 2.x.x(2003), Redhat 3.2.3, ...
1
vote
1answer
114 views

How to forward a port to multiple internal ips

I have a Centos 6 64 bit server with OpenVPN installed. I'm using this iptables rule to forward a port for an OpenVPN user: iptables -t nat -A PREROUTING -p tcp -m tcp --dport PORT -j DNAT ...
0
votes
0answers
36 views

IP TABLES port forwaring corrupts my packets?

Here's my scenario. I have a WORKING DAEMON receiving packets through a proprietary protocol (mounted on the port 5000) that has been working flawlessly for over a decade. I have a weird problem ...
0
votes
1answer
743 views

port forwarding with pf on Mac OS 10.9

I have to setup a port forwarding on Mac Os 10.9. The mac is connected to a OpenVPN, and I need to get access to another machine on the private network of the mac through that VPN. Apparently, Mac OS ...
0
votes
2answers
201 views

How to use single public IP to access multiple application servers in SAP?

Scenario I have: Wireless D-Link Router Connected to the Internet Two IBM-Lenovo Servers Connected( Wireless/Wired) to the Router Two servers have IP addresses : 192.xxx.xxx.123 and ...
1
vote
2answers
2k views

How do I resolve OpenSSH protocol mismatch? [closed]

I'm trying to get around a hospital firewall. I can SSH into my devbox on Port 443: ssh -L 8080:devbox:443 root@devbox -p 443 But I can't actually get the devbox to load in my browser. When I go ...
0
votes
1answer
73 views

Receiving incoming traffic without external IP and port forwarding

I have a virtual machine in the datacenter with an external IP. I can connect via SSH to this virtual machine from my desktop, but this virtual machine has no way of accessing any ports on my desktop. ...
4
votes
1answer
178 views

Setting up IPTables

I am trying to remove a router from our product and replacing all its functionality with the use of iptables. The system is required to perform general traffic control as well as forwarding data to ...
0
votes
1answer
258 views

Setting up port redirection on Windows Server 2012 in Amazon ec2

I have a couple of servers in amazon EC2 One server is a Windows Server 2012, is used to host a web application, there is an elastic ip address attached to this server. The second server is a linux ...
1
vote
0answers
259 views

Publish or forward ipv6 port range to Docker container

I'm building a IPv6 enabled FTP container based on pure-ftpd and I have the problem that passive mode needs the client to connect on any port in the range of 30000 to 50000 to the server on the ...
1
vote
1answer
2k views

Ubuntu 14.04 LTE forward port to another port

I am looking for a way to forward 1 port to another internally. I have an Ubuntu 14.04 server on which I installed a game server that listens on port 25565. The game does not support multiple ports. ...
-6
votes
2answers
692 views

How can I create a domain name for a Public IP address? [closed]

I configured port forwarding to a private ip so I can access my app from anywhere, with the address of http://66.189.127.96:333/. I want to be able to access this from example.com, not ...
0
votes
0answers
129 views

Cisco ASA 8.2, accessing an internal webserver with an external IP-address together with port translation

We have one web server, let's call it SERVER01. It is running two different web servers that both uses HTTPS, INTERNALAPP on port 443 and EXTERNALAPP on port 444. In a previous setup we had an old ...
1
vote
0answers
129 views

trying to reach a port forwarded server from the subnet using the public IP not working

I set up a server which is connected to my router. The router forwards a port of my server. So when I scan that port using http://www.t1shopper.com/tools/port-scan/ I got: 188.143.126.14 is ...
-1
votes
1answer
39 views

how to help 2 devices share local ports behind firewall through a ssh server with ssh reverse tunnel port forwarding [duplicate]

A diagram of the project: It is working under Putty with its GUI configuration, but it is not working if using command line through Putty. how to replicate the GUI settings in putty with command ...
0
votes
0answers
391 views

ssh reverse tunnel port forwarding connection fails

Updated: diagram http://s22.postimg.org/b2jfgawup/diagram_ssh_tunnel_a1.png I am able to do a reverse port forwarding through the PUTTY GUI with settings similar to below. once I apply this setting, ...
0
votes
1answer
289 views

iptables forward port range through OpenVPN

I have a VPN server (the "host" - 10.8.1.1) on a public VPS instance running OpenVPN. The second instance I am running (the "client" - 10.8.1.2) is a local ESXi instance connected to the host vpn ...
0
votes
1answer
150 views

sip unreachable after changing routes using linux router

SIP server was unreachable after changing routes. I have 2 ISP ,ISP 1 is my default and ISP 2 is my back-up. I have a dialer behind linux router linux. Linux router has 3 ethernet cards. Router ...
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
348 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
2k 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
585 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 ...