port-forwarding on firewall or via SSH

learn more… | top users | synonyms (1)

0
votes
1answer
114 views

serving html remotely from mac os x [closed]

TL;DR: simple HTTP server is accessible locally, but how can I make it available remotely in order to view the served files from another computer on the network? I'm using a zero-configuration ...
0
votes
1answer
151 views

Iptables forward traffic from A to B where A is not gateway for B

I want to forward ssh traffic from A port 2222 to B port 22. I do have ipv4 forwarding set to 1 on both interfaces. Still, this does not work. What is wrong? Machine A: eth0 192.168.0.150 eth1 ...
-1
votes
1answer
405 views

Forwarding ports and traffic to VPN tunnel

I've installed OpenVPN on my VPS. I have one question: how to forward traffic going to that VPS to go to VPN tunnel created with my local PC. I will use TCP connection. The whole traffic will be like ...
-1
votes
1answer
270 views

Two physical servers on one IP behind one router [closed]

I asked this question on StackOverflow and was directed here to ServerFault. I searched the forums here and find 3 or so inquiries that are very similar but not quite the same (or maybe I just don't ...
0
votes
0answers
41 views

Port forwarding to VPN

| |WAN /-------\ ...
0
votes
1answer
206 views

How do I get boto to work with port 443 being prerouted to another port?

My title may be poorly worded, but I'll try to get the backstory straight: I have Ubuntu instances with clusters of Docker containers all hosting web servers In order to appease firewalls we want to ...
-3
votes
2answers
30 views

Routing a port with no defined port forwarding rules to multiple machines listening on that port [closed]

This is something I've been wondering for a long time but never actually faced a situation where I had time to play with it. Lets say I have a router which has no defined port forwarding rules for ...
0
votes
1answer
357 views

forwarding packet from one interface to another interface

I have an embeded system with 2 interfaces e0 and m0, whose ips are 10.0.0.20 and 192.168.0.20, respectively. Incoming packets into e0 have an ip of 10.0.0.10 and should be forwarded to m0 interface ...
0
votes
1answer
625 views

iptables v1.4.21: Couldn't load match `-d':No such file or directory

i am running kerenl 3.14.18 and using iptables 1.4.21, built with these options --static-enable --disable-shared. when i run this command: /sbin/iptables -A PREROUTING -m -d 127.3.0.2/24 -j DNAT ...
1
vote
1answer
51 views

high availabilty port forwarding in mswindows

I need port forwarding for a mswindows host, but I need something which can handle more than one target with fail over. There are no end of tools to do this on Linux/Unix (haproxy, balance, ...
-4
votes
1answer
2k views

Applying firewall rules: iptables-restore: line 1 failed [closed]

I'm trying to do Port forwarding on my centOS machine. When i'm restarting iptables i'm getting the error iptables: Applying firewall rules: iptables-restore: line 1 failed [FAILED]. My iptables file ...
1
vote
0answers
448 views

OpenVPN - open ports for clients only via iptables

OpenVPN server running on my ubuntu server (tun mode). My problem is that i cannot set some ports be accessible only for VPN clients. I have a dirty solution, but i want better. I have no iptables ...
2
votes
1answer
278 views

Remote port forwarding not working

I have a test app I run locally, and use remote port forwarding to give others access to it. This was working just fine, until I set up a new server instance on EC2. The EC2 server runs CentoOS 7. ...
0
votes
1answer
320 views

Cisco IOS - Problems with NAT and port forwarding

I have a problem forwarding ports. I have configured a NAT pool of 1 address (192.168.5.2) and assigned that address to the WAN interface. I assigned networks to the access-list, and bind the two ...
4
votes
1answer
439 views

Forwarding a port on the loopback interface to a remote IP/port

I have two Docker containers that I'm trying to network together in a specific way. Container A is running a Redis server on port 6379. Container B is running an interactive shell and needs to access ...
0
votes
2answers
309 views

Cisco Easy VPN - Port forwarding needed at remote end?

I was in the process of setting up a site-to-site ipsec vpn tunnel behind a mobile broadband router when i found out that i wasnt able to port forward on that network so i wont be able to use the ...
0
votes
1answer
121 views

Postfix/Dovecot on a VM. Problems with understanding port fowarding

I've set up a mail server with postfix and dovecot on a virtual machine running debian 7. At first I basically made a seperate network with a host-only adapter , so host and guest were in the same ...
2
votes
1answer
572 views

Multicraft: Port Forwarding through a GRE Tunnel

For the past week I've been attempting to protect a server from DOS attacks by utilizing a GRE tunnel from a VPS to a dedicated machine without much success. Visual: User --> VPS --> Dedicated ...
0
votes
2answers
56 views

modify iptables rules and default policy but keeping port forwarding

I have the following rules and policy in the end of my firewall script: $IPT=/sbin/iptables ... $IPT -P FORWARD ACCEPT $IPT -F FORWARD # Forward port 2206 to data6 $IPT -A INPUT -i eth1 -s ...
-1
votes
1answer
112 views

Route port forward through 2 windows server 2008R2 network adapters to another network

our phone system at work is on a separate network to everything else and I need to forward a port from our gateway to it to allow our phone tech to remotely administer it. I have plugged the phone ...
-1
votes
1answer
636 views

Trying to set up port forwarding for multiple subdomains using SRV and DNS

I am working on a startup and trying to keep my expenses low. I'm hosting four servers in my closet with a single static IP address. I want to be able to reach each server over ports 80 (HTTP), 443 ...
2
votes
2answers
5k views

Port forwarding to the router itself on Edgerouter

I recently upgraded one of my customers to a Ubiquiti EdgeRouter Lite, which is a significant improvement over their old ISP-supplied router. To reduce the frequency of attacks against the router's ...
0
votes
2answers
78 views

Port forward for SSH works to one system but not another

I have two systems sitting on a NATed network. When I forward port 22 to system A, I am able to connect directly. When I forward port 22 to system B, I am not able to connect. I am, however, able to ...
0
votes
0answers
94 views

Best way to add multiple IP to single interface

My hosting provider routes an IP block to my eth0 interface. Until today I've been adding the block using IP alias via ifconfig, unknown to me that it was an old solution. I've now learnt that there ...
3
votes
2answers
7k views

Windows Server 2012 Port Forward for Specifc Host

I am trying to have a specific host be redirected to another port when trying to access a service on port 80. So, when the client (192.168.1.22) requests a connection to the server (192.168.1.10) on ...
7
votes
2answers
5k views

CentOS port forwarding not working

I'm using CentOS 6.5 and I added the following commands to my iptables to forward all incoming traffic on port 8088 to 4569: iptables -A PREROUTING -t nat -p udp --dport 8088 -i eth0 -j DNAT ...
1
vote
1answer
500 views

why port forwarding is not working in this setup?

I'm trying to setup a docker virtualization environment. This is a follow up of this question. I have a virtual eth0:0 interface, and I would like to forward it using iptables. The public, main IP ...
3
votes
2answers
350 views

source address with iptables port forwarding

I set up port forwarding for port 80 with iptables: iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 10080 Additionally, I have ip forwarding enabled to route connections ...
0
votes
2answers
284 views

ASA is not forwarding packets to egress interface

We are seeing some very strange behaviour from our Cisco ASA 5505 running 9.1(2) We have a SIP PBX inside our network. It's got a bit of an odd configuration, it listens for inbound SIP requests for ...
-4
votes
2answers
76 views

How to run more than one connection on SSH port [closed]

This is a naive question, but I don't know the answer. I have forwarded port 22 on my router to point to my NAS. I also have a Hummingboard server which I'd also like to access through SSH. How can I ...
2
votes
1answer
71 views

Device not accepting connections from a forwarded port. Security Issue?

I am forwarding a port through to a PLC/Management unit type device for a heatpump. The device accepts local connections from the LAN on port 80. It runs a normal web site on port 80 for management. ...
0
votes
0answers
40 views

Many webapps, one vps

Might be a noob question, Google and SF searches didn't turn up anything super useful. Could be using the wrong words here. I've got a vps, with one port 80 app running on it. I'd like to add two ...
0
votes
1answer
147 views

Port 80 doesn't work

I have a website in my ubuntu server 14.04, with apache2 server, and untils fews days go the site works fine but, today if I digit www.mydomain.com from my internal network it works but, if I try with ...
1
vote
1answer
146 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
171 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
452 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
2k 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
128 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
119 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
289 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
3answers
793 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
83 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
3k 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
309 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
1k 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 ...
3
votes
2answers
2k 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
176 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
143 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
46 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
536 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 ...